Searched refs:rx_tfm (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/staging/rtl8192e/ |
D | rtllib_crypt_wep.c | 32 struct crypto_blkcipher *rx_tfm; member 51 priv->rx_tfm = crypto_alloc_blkcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in prism2_wep_init() 52 if (IS_ERR(priv->rx_tfm)) { in prism2_wep_init() 54 priv->rx_tfm = NULL; in prism2_wep_init() 67 if (priv->rx_tfm) in prism2_wep_init() 68 crypto_free_blkcipher(priv->rx_tfm); in prism2_wep_init() 82 if (_priv->rx_tfm) in prism2_wep_deinit() 83 crypto_free_blkcipher(_priv->rx_tfm); in prism2_wep_deinit() 176 struct blkcipher_desc desc = {.tfm = wep->rx_tfm}; in prism2_wep_decrypt() 202 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()
|
/linux-4.4.14/net/wireless/ |
D | lib80211_crypt_wep.c | 39 struct crypto_blkcipher *rx_tfm; member 57 priv->rx_tfm = crypto_alloc_blkcipher("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() 71 if (priv->rx_tfm) in lib80211_wep_init() 72 crypto_free_blkcipher(priv->rx_tfm); in lib80211_wep_init() 84 if (_priv->rx_tfm) in lib80211_wep_deinit() 85 crypto_free_blkcipher(_priv->rx_tfm); in lib80211_wep_deinit() 183 struct blkcipher_desc desc = { .tfm = wep->rx_tfm }; in lib80211_wep_decrypt() 208 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in lib80211_wep_decrypt()
|
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_wep.c | 36 struct crypto_blkcipher *rx_tfm; member 52 priv->rx_tfm = crypto_alloc_blkcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in prism2_wep_init() 53 if (IS_ERR(priv->rx_tfm)) in prism2_wep_init() 75 if (_priv->rx_tfm) in prism2_wep_deinit() 76 crypto_free_blkcipher(_priv->rx_tfm); in prism2_wep_deinit() 164 struct blkcipher_desc desc = {.tfm = wep->rx_tfm}; in prism2_wep_decrypt() 189 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()
|