Lines Matching refs:rc4key
310 u8 * rc4key, int keylen, void *priv) in lib80211_tkip_hdr() argument
321 if (rc4key == NULL || keylen < 16) in lib80211_tkip_hdr()
329 tkip_mixing_phase2(rc4key, tkey->key, tkey->tx_ttak, tkey->tx_iv16); in lib80211_tkip_hdr()
335 *pos++ = *rc4key; in lib80211_tkip_hdr()
336 *pos++ = *(rc4key + 1); in lib80211_tkip_hdr()
337 *pos++ = *(rc4key + 2); in lib80211_tkip_hdr()
358 u8 rc4key[16], *pos, *icv; in lib80211_tkip_encrypt() local
375 if ((lib80211_tkip_hdr(skb, hdr_len, rc4key, 16, priv)) < 0) in lib80211_tkip_encrypt()
385 crypto_blkcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); in lib80211_tkip_encrypt()
407 u8 rc4key[16]; in lib80211_tkip_decrypt() local
464 tkip_mixing_phase2(rc4key, tkey->key, tkey->rx_ttak, iv16); in lib80211_tkip_decrypt()
468 crypto_blkcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16); in lib80211_tkip_decrypt()