Searched refs:rx_tfm_arc4 (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_tkip.c | 52 struct crypto_sync_skcipher *rx_tfm_arc4; member 86 priv->rx_tfm_arc4 = crypto_alloc_sync_skcipher("ecb(arc4)", 0, 0); in ieee80211_tkip_init() 87 if (IS_ERR(priv->rx_tfm_arc4)) { in ieee80211_tkip_init() 90 priv->rx_tfm_arc4 = NULL; in ieee80211_tkip_init() 109 crypto_free_sync_skcipher(priv->rx_tfm_arc4); in ieee80211_tkip_init() 125 crypto_free_sync_skcipher(_priv->rx_tfm_arc4); in ieee80211_tkip_deinit() 415 SYNC_SKCIPHER_REQUEST_ON_STACK(req, tkey->rx_tfm_arc4); in ieee80211_tkip_decrypt() 437 crypto_sync_skcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16); in ieee80211_tkip_decrypt() 440 skcipher_request_set_sync_tfm(req, tkey->rx_tfm_arc4); in ieee80211_tkip_decrypt() 661 struct crypto_sync_skcipher *tfm4 = tkey->rx_tfm_arc4; in ieee80211_tkip_set_key() [all …]
|
/Linux-v5.4/drivers/staging/rtl8192e/ |
D | rtllib_crypt_tkip.c | 48 struct crypto_sync_skcipher *rx_tfm_arc4; member 79 priv->rx_tfm_arc4 = crypto_alloc_sync_skcipher("ecb(arc4)", 0, 0); in rtllib_tkip_init() 80 if (IS_ERR(priv->rx_tfm_arc4)) { in rtllib_tkip_init() 82 priv->rx_tfm_arc4 = NULL; in rtllib_tkip_init() 99 crypto_free_sync_skcipher(priv->rx_tfm_arc4); in rtllib_tkip_init() 115 crypto_free_sync_skcipher(_priv->rx_tfm_arc4); in rtllib_tkip_deinit() 417 SYNC_SKCIPHER_REQUEST_ON_STACK(req, tkey->rx_tfm_arc4); in rtllib_tkip_decrypt() 444 crypto_sync_skcipher_setkey(tkey->rx_tfm_arc4, rc4key, 16); in rtllib_tkip_decrypt() 445 skcipher_request_set_sync_tfm(req, tkey->rx_tfm_arc4); in rtllib_tkip_decrypt() 662 struct crypto_sync_skcipher *tfm4 = tkey->rx_tfm_arc4; in rtllib_tkip_set_key() [all …]
|