diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-07 05:45:18 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 23:02:31 +0400 |
commit | c9cf01226e0bd1fa4f7f7024d8d53e982fad208f (patch) | |
tree | 3d42b42b814b77554ade322923af86035ed4d141 /net/mac80211/wep.h | |
parent | 77fdaa12cea26c204cc12c312fe40bc0f3dcdfd8 (diff) | |
download | linux-c9cf01226e0bd1fa4f7f7024d8d53e982fad208f.tar.xz |
mac80211: refactor the WEP code to be directly usable
The new key work for cfg80211 will only give us the WEP
key for shared auth to do that authentication, and not
via the regular key settings, so we need to be able to
encrypt a single frame in software, and that without a
key struct. Thus, refactor the WEP code to not require
a key structure but use the key, len and idx directly.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/wep.h')
-rw-r--r-- | net/mac80211/wep.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/mac80211/wep.h b/net/mac80211/wep.h index d3f0db48314e..85219ded8703 100644 --- a/net/mac80211/wep.h +++ b/net/mac80211/wep.h @@ -22,10 +22,6 @@ void ieee80211_wep_encrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key, size_t klen, u8 *data, size_t data_len); int ieee80211_wep_decrypt_data(struct crypto_blkcipher *tfm, u8 *rc4key, size_t klen, u8 *data, size_t data_len); -int ieee80211_wep_encrypt(struct ieee80211_local *local, struct sk_buff *skb, - struct ieee80211_key *key); -int ieee80211_wep_decrypt(struct ieee80211_local *local, struct sk_buff *skb, - struct ieee80211_key *key); bool ieee80211_wep_is_weak_iv(struct sk_buff *skb, struct ieee80211_key *key); ieee80211_rx_result |