Home
last modified time | relevance | path

Searched refs:rx_tfm (Results 1 – 2 of 2) sorted by relevance

/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c32 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()
56 priv->rx_tfm = NULL; in prism2_wep_init()
69 if (priv->rx_tfm) in prism2_wep_init()
70 crypto_free_blkcipher(priv->rx_tfm); in prism2_wep_init()
84 if (_priv->rx_tfm) in prism2_wep_deinit()
85 crypto_free_blkcipher(_priv->rx_tfm); in prism2_wep_deinit()
178 struct blkcipher_desc desc = {.tfm = wep->rx_tfm}; in prism2_wep_decrypt()
204 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c37 struct crypto_blkcipher *rx_tfm; member
57 priv->rx_tfm = crypto_alloc_blkcipher("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in prism2_wep_init()
58 if (IS_ERR(priv->rx_tfm)) { in prism2_wep_init()
61 priv->rx_tfm = NULL; in prism2_wep_init()
74 if (priv->rx_tfm) in prism2_wep_init()
75 crypto_free_blkcipher(priv->rx_tfm); in prism2_wep_init()
90 if (_priv->rx_tfm) in prism2_wep_deinit()
91 crypto_free_blkcipher(_priv->rx_tfm); in prism2_wep_deinit()
179 struct blkcipher_desc desc = {.tfm = wep->rx_tfm}; in prism2_wep_decrypt()
204 crypto_blkcipher_setkey(wep->rx_tfm, key, klen); in prism2_wep_decrypt()