Lines Matching refs:keylen
59 static inline bool ieee80211_wep_weak_iv(u32 iv, int keylen) in ieee80211_wep_weak_iv() argument
68 if (B >= 3 && B < 3 + keylen) in ieee80211_wep_weak_iv()
76 int keylen, int keyidx, u8 *iv) in ieee80211_wep_get_iv() argument
79 if (ieee80211_wep_weak_iv(local->wep_iv, keylen)) in ieee80211_wep_get_iv()
94 int keylen, int keyidx) in ieee80211_wep_add_iv() argument
109 ieee80211_wep_get_iv(local, keylen, keyidx, newhdr + hdrlen); in ieee80211_wep_add_iv()
160 const u8 *key, int keylen, int keyidx) in ieee80211_wep_encrypt() argument
166 iv = ieee80211_wep_add_iv(local, skb, keylen, keyidx); in ieee80211_wep_encrypt()
176 memcpy(rc4key + 3, key, keylen); in ieee80211_wep_encrypt()
181 return ieee80211_wep_encrypt_data(local->wep_tx_tfm, rc4key, keylen + 3, in ieee80211_wep_encrypt()
246 klen = 3 + key->conf.keylen; in ieee80211_wep_decrypt()
252 memcpy(rc4key + 3, key->conf.key, key->conf.keylen); in ieee80211_wep_decrypt()
284 return ieee80211_wep_weak_iv(iv, key->conf.keylen); in ieee80211_wep_is_weak_iv()
316 tx->key->conf.keylen, in wep_encrypt_skb()
322 tx->key->conf.keylen, in wep_encrypt_skb()