Lines Matching refs:key
94 struct ieee80211_key *key) in ieee80211_wep_remove_iv() argument
133 const u8 *key, int keylen, int keyidx) in ieee80211_wep_encrypt() argument
152 memcpy(rc4key + 3, key, keylen); in ieee80211_wep_encrypt()
193 struct ieee80211_key *key) in ieee80211_wep_decrypt() argument
214 if (!key || keyidx != key->conf.keyidx) in ieee80211_wep_decrypt()
217 klen = 3 + key->conf.keylen; in ieee80211_wep_decrypt()
223 memcpy(rc4key + 3, key->conf.key, key->conf.keylen); in ieee80211_wep_decrypt()
254 if (ieee80211_wep_decrypt(rx->local, rx->skb, rx->key)) in ieee80211_crypto_wep_decrypt()
260 ieee80211_wep_remove_iv(rx->local, rx->skb, rx->key); in ieee80211_crypto_wep_decrypt()
276 if (ieee80211_wep_encrypt(tx->local, skb, tx->key->conf.key, in wep_encrypt_skb()
277 tx->key->conf.keylen, in wep_encrypt_skb()
278 tx->key->conf.keyidx)) in wep_encrypt_skb()
283 tx->key->conf.keylen, in wep_encrypt_skb()
284 tx->key->conf.keyidx)) in wep_encrypt_skb()