Home
last modified time | relevance | path

Searched refs:rx_tfm_arc4 (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c56 struct crypto_skcipher *rx_tfm_arc4; member
91 priv->rx_tfm_arc4 = crypto_alloc_skcipher("ecb(arc4)", 0, in ieee80211_tkip_init()
93 if (IS_ERR(priv->rx_tfm_arc4)) { in ieee80211_tkip_init()
96 priv->rx_tfm_arc4 = NULL; in ieee80211_tkip_init()
115 crypto_free_skcipher(priv->rx_tfm_arc4); in ieee80211_tkip_init()
131 crypto_free_skcipher(_priv->rx_tfm_arc4); in ieee80211_tkip_deinit()
421 SKCIPHER_REQUEST_ON_STACK(req, tkey->rx_tfm_arc4); in ieee80211_tkip_decrypt()
443 crypto_skcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16); in ieee80211_tkip_decrypt()
446 skcipher_request_set_tfm(req, tkey->rx_tfm_arc4); in ieee80211_tkip_decrypt()
668 struct crypto_skcipher *tfm4 = tkey->rx_tfm_arc4; in ieee80211_tkip_set_key()
[all …]
/Linux-v4.19/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c52 struct crypto_skcipher *rx_tfm_arc4; member
84 priv->rx_tfm_arc4 = crypto_alloc_skcipher("ecb(arc4)", 0, in rtllib_tkip_init()
86 if (IS_ERR(priv->rx_tfm_arc4)) { in rtllib_tkip_init()
88 priv->rx_tfm_arc4 = NULL; in rtllib_tkip_init()
105 crypto_free_skcipher(priv->rx_tfm_arc4); in rtllib_tkip_init()
121 crypto_free_skcipher(_priv->rx_tfm_arc4); in rtllib_tkip_deinit()
423 SKCIPHER_REQUEST_ON_STACK(req, tkey->rx_tfm_arc4); in rtllib_tkip_decrypt()
450 crypto_skcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16); in rtllib_tkip_decrypt()
451 skcipher_request_set_tfm(req, tkey->rx_tfm_arc4); in rtllib_tkip_decrypt()
669 struct crypto_skcipher *tfm4 = tkey->rx_tfm_arc4; in rtllib_tkip_set_key()
[all …]
/Linux-v4.19/net/wireless/
Dlib80211_crypt_tkip.c67 struct crypto_skcipher *rx_tfm_arc4; member
115 priv->rx_tfm_arc4 = crypto_alloc_skcipher("ecb(arc4)", 0, in lib80211_tkip_init()
117 if (IS_ERR(priv->rx_tfm_arc4)) { in lib80211_tkip_init()
118 priv->rx_tfm_arc4 = NULL; in lib80211_tkip_init()
135 crypto_free_skcipher(priv->rx_tfm_arc4); in lib80211_tkip_init()
149 crypto_free_skcipher(_priv->rx_tfm_arc4); in lib80211_tkip_deinit()
403 SKCIPHER_REQUEST_ON_STACK(req, tkey->rx_tfm_arc4); in lib80211_tkip_decrypt()
466 crypto_skcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16); in lib80211_tkip_decrypt()
468 skcipher_request_set_tfm(req, tkey->rx_tfm_arc4); in lib80211_tkip_decrypt()
665 struct crypto_skcipher *tfm4 = tkey->rx_tfm_arc4; in lib80211_tkip_set_key()
[all …]