Home
last modified time | relevance | path

Searched refs:tx_tfm_arc4 (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_tkip.c54 struct crypto_sync_skcipher *tx_tfm_arc4; member
70 priv->tx_tfm_arc4 = crypto_alloc_sync_skcipher("ecb(arc4)", 0, 0); in ieee80211_tkip_init()
71 if (IS_ERR(priv->tx_tfm_arc4)) { in ieee80211_tkip_init()
74 priv->tx_tfm_arc4 = NULL; in ieee80211_tkip_init()
107 crypto_free_sync_skcipher(priv->tx_tfm_arc4); in ieee80211_tkip_init()
123 crypto_free_sync_skcipher(_priv->tx_tfm_arc4); in ieee80211_tkip_deinit()
337 SYNC_SKCIPHER_REQUEST_ON_STACK(req, tkey->tx_tfm_arc4); in ieee80211_tkip_encrypt()
345 crypto_sync_skcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); in ieee80211_tkip_encrypt()
347 skcipher_request_set_sync_tfm(req, tkey->tx_tfm_arc4); in ieee80211_tkip_encrypt()
659 struct crypto_sync_skcipher *tfm2 = tkey->tx_tfm_arc4; in ieee80211_tkip_set_key()
[all …]
/Linux-v5.4/drivers/staging/rtl8192e/
Drtllib_crypt_tkip.c50 struct crypto_sync_skcipher *tx_tfm_arc4; member
65 priv->tx_tfm_arc4 = crypto_alloc_sync_skcipher("ecb(arc4)", 0, 0); in rtllib_tkip_init()
66 if (IS_ERR(priv->tx_tfm_arc4)) { in rtllib_tkip_init()
68 priv->tx_tfm_arc4 = NULL; in rtllib_tkip_init()
97 crypto_free_sync_skcipher(priv->tx_tfm_arc4); in rtllib_tkip_init()
113 crypto_free_sync_skcipher(_priv->tx_tfm_arc4); in rtllib_tkip_deinit()
334 SYNC_SKCIPHER_REQUEST_ON_STACK(req, tkey->tx_tfm_arc4); in rtllib_tkip_encrypt()
346 crypto_sync_skcipher_setkey(tkey->tx_tfm_arc4, rc4key, 16); in rtllib_tkip_encrypt()
347 skcipher_request_set_sync_tfm(req, tkey->tx_tfm_arc4); in rtllib_tkip_encrypt()
660 struct crypto_sync_skcipher *tfm2 = tkey->tx_tfm_arc4; in rtllib_tkip_set_key()
[all …]