Home
last modified time | relevance | path

Searched refs:tx_tfm (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c30 struct crypto_skcipher *tx_tfm; member
44 priv->tx_tfm = crypto_alloc_skcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in prism2_wep_init()
45 if (IS_ERR(priv->tx_tfm)) { in prism2_wep_init()
47 priv->tx_tfm = NULL; in prism2_wep_init()
64 crypto_free_skcipher(priv->tx_tfm); in prism2_wep_init()
77 crypto_free_skcipher(_priv->tx_tfm); in prism2_wep_deinit()
138 SKCIPHER_REQUEST_ON_STACK(req, wep->tx_tfm); in prism2_wep_encrypt()
149 crypto_skcipher_setkey(wep->tx_tfm, key, klen); in prism2_wep_encrypt()
150 skcipher_request_set_tfm(req, wep->tx_tfm); in prism2_wep_encrypt()
/Linux-v4.19/net/wireless/
Dlib80211_crypt_wep.c38 struct crypto_skcipher *tx_tfm; member
51 priv->tx_tfm = crypto_alloc_skcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in lib80211_wep_init()
52 if (IS_ERR(priv->tx_tfm)) { in lib80211_wep_init()
53 priv->tx_tfm = NULL; in lib80211_wep_init()
69 crypto_free_skcipher(priv->tx_tfm); in lib80211_wep_init()
80 crypto_free_skcipher(_priv->tx_tfm); in lib80211_wep_deinit()
132 SKCIPHER_REQUEST_ON_STACK(req, wep->tx_tfm); in lib80211_wep_encrypt()
165 crypto_skcipher_setkey(wep->tx_tfm, key, klen); in lib80211_wep_encrypt()
167 skcipher_request_set_tfm(req, wep->tx_tfm); in lib80211_wep_encrypt()
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c35 struct crypto_skcipher *tx_tfm; member
49 priv->tx_tfm = crypto_alloc_skcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in prism2_wep_init()
50 if (IS_ERR(priv->tx_tfm)) in prism2_wep_init()
61 crypto_free_skcipher(priv->tx_tfm); in prism2_wep_init()
73 crypto_free_skcipher(_priv->tx_tfm); in prism2_wep_deinit()
131 SKCIPHER_REQUEST_ON_STACK(req, wep->tx_tfm); in prism2_wep_encrypt()
141 crypto_skcipher_setkey(wep->tx_tfm, key, klen); in prism2_wep_encrypt()
144 skcipher_request_set_tfm(req, wep->tx_tfm); in prism2_wep_encrypt()