Searched refs:rx_tfm (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/staging/rtl8192e/ |
D | rtllib_crypt_wep.c | 31 struct crypto_skcipher *rx_tfm; member 50 priv->rx_tfm = crypto_alloc_skcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in prism2_wep_init() 51 if (IS_ERR(priv->rx_tfm)) { in prism2_wep_init() 53 priv->rx_tfm = NULL; in prism2_wep_init() 65 crypto_free_skcipher(priv->rx_tfm); in prism2_wep_init() 78 crypto_free_skcipher(_priv->rx_tfm); in prism2_wep_deinit() 202 SKCIPHER_REQUEST_ON_STACK(req, wep->rx_tfm); in prism2_wep_decrypt() 205 crypto_skcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt() 206 skcipher_request_set_tfm(req, wep->rx_tfm); in prism2_wep_decrypt()
|
/Linux-v4.19/net/wireless/ |
D | lib80211_crypt_wep.c | 39 struct crypto_skcipher *rx_tfm; member 57 priv->rx_tfm = crypto_alloc_skcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in lib80211_wep_init() 58 if (IS_ERR(priv->rx_tfm)) { in lib80211_wep_init() 59 priv->rx_tfm = NULL; in lib80211_wep_init() 70 crypto_free_skcipher(priv->rx_tfm); in lib80211_wep_init() 81 crypto_free_skcipher(_priv->rx_tfm); in lib80211_wep_deinit() 185 SKCIPHER_REQUEST_ON_STACK(req, wep->rx_tfm); in lib80211_wep_decrypt() 211 crypto_skcipher_setkey(wep->rx_tfm, key, klen); in lib80211_wep_decrypt() 213 skcipher_request_set_tfm(req, wep->rx_tfm); in lib80211_wep_decrypt()
|
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_wep.c | 36 struct crypto_skcipher *rx_tfm; member 52 priv->rx_tfm = crypto_alloc_skcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in prism2_wep_init() 53 if (IS_ERR(priv->rx_tfm)) in prism2_wep_init() 74 crypto_free_skcipher(_priv->rx_tfm); in prism2_wep_deinit() 196 SKCIPHER_REQUEST_ON_STACK(req, wep->rx_tfm); in prism2_wep_decrypt() 198 crypto_skcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt() 201 skcipher_request_set_tfm(req, wep->rx_tfm); in prism2_wep_decrypt()
|