Searched refs:rx_tfm (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/staging/rtl8192e/ |
D | rtllib_crypt_wep.c | 27 struct crypto_sync_skcipher *rx_tfm; member 46 priv->rx_tfm = crypto_alloc_sync_skcipher("ecb(arc4)", 0, 0); in prism2_wep_init() 47 if (IS_ERR(priv->rx_tfm)) { in prism2_wep_init() 49 priv->rx_tfm = NULL; in prism2_wep_init() 61 crypto_free_sync_skcipher(priv->rx_tfm); in prism2_wep_init() 74 crypto_free_sync_skcipher(_priv->rx_tfm); in prism2_wep_deinit() 198 SYNC_SKCIPHER_REQUEST_ON_STACK(req, wep->rx_tfm); in prism2_wep_decrypt() 201 crypto_sync_skcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt() 202 skcipher_request_set_sync_tfm(req, wep->rx_tfm); in prism2_wep_decrypt()
|
/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_wep.c | 32 struct crypto_sync_skcipher *rx_tfm; member 48 priv->rx_tfm = crypto_alloc_sync_skcipher("ecb(arc4)", 0, 0); in prism2_wep_init() 49 if (IS_ERR(priv->rx_tfm)) in prism2_wep_init() 70 crypto_free_sync_skcipher(_priv->rx_tfm); in prism2_wep_deinit() 192 SYNC_SKCIPHER_REQUEST_ON_STACK(req, wep->rx_tfm); in prism2_wep_decrypt() 194 crypto_sync_skcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt() 197 skcipher_request_set_sync_tfm(req, wep->rx_tfm); in prism2_wep_decrypt()
|