Home
last modified time | relevance | path

Searched refs:tx_ctx_arc4 (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_wep.c32 struct arc4_ctx tx_ctx_arc4; member
118 arc4_setkey(&wep->tx_ctx_arc4, key, klen); in prism2_wep_encrypt()
119 arc4_crypt(&wep->tx_ctx_arc4, pos, pos, len + 4); in prism2_wep_encrypt()
H A Dieee80211_crypt_tkip.c53 struct arc4_ctx tx_ctx_arc4; member
325 arc4_setkey(&tkey->tx_ctx_arc4, rc4key, 16); in ieee80211_tkip_encrypt()
326 arc4_crypt(&tkey->tx_ctx_arc4, pos, pos, len + 4); in ieee80211_tkip_encrypt()
/openbmc/linux/drivers/staging/rtl8192e/
H A Drtllib_crypt_wep.c27 struct arc4_ctx tx_ctx_arc4; member
114 arc4_setkey(&wep->tx_ctx_arc4, key, klen); in prism2_wep_encrypt()
115 arc4_crypt(&wep->tx_ctx_arc4, pos, pos, len + 4); in prism2_wep_encrypt()
H A Drtllib_crypt_tkip.c49 struct arc4_ctx tx_ctx_arc4; member
312 arc4_setkey(&tkey->tx_ctx_arc4, rc4key, 16); in rtllib_tkip_encrypt()
313 arc4_crypt(&tkey->tx_ctx_arc4, pos, pos, len + 4); in rtllib_tkip_encrypt()
/openbmc/linux/net/wireless/
H A Dlib80211_crypt_tkip.c66 struct arc4_ctx tx_ctx_arc4; member
357 arc4_setkey(&tkey->tx_ctx_arc4, rc4key, 16); in lib80211_tkip_encrypt()
358 arc4_crypt(&tkey->tx_ctx_arc4, pos, pos, len + 4); in lib80211_tkip_encrypt()
625 struct arc4_ctx *tfm2 = &tkey->tx_ctx_arc4; in lib80211_tkip_set_key()
633 tkey->tx_ctx_arc4 = *tfm2; in lib80211_tkip_set_key()