Searched refs:rx_tfm (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/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.1.27/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_wep.c | 36 struct crypto_blkcipher *rx_tfm; member 56 priv->rx_tfm = crypto_alloc_blkcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in prism2_wep_init() 57 if (IS_ERR(priv->rx_tfm)) { in prism2_wep_init() 60 priv->rx_tfm = NULL; in prism2_wep_init() 73 if (priv->rx_tfm) in prism2_wep_init() 74 crypto_free_blkcipher(priv->rx_tfm); in prism2_wep_init() 89 if (_priv->rx_tfm) in prism2_wep_deinit() 90 crypto_free_blkcipher(_priv->rx_tfm); in prism2_wep_deinit() 180 struct blkcipher_desc desc = {.tfm = wep->rx_tfm}; in prism2_wep_decrypt() 206 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()
|
/linux-4.1.27/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()
|