Searched refs:rx_tfm (Results 1 – 1 of 1) sorted by relevance
37 struct crypto_blkcipher *rx_tfm; member52 priv->rx_tfm = crypto_alloc_blkcipher ("ecb(arc4)", 0, CRYPTO_ALG_ASYNC); in lib80211_wep_init()53 if (IS_ERR (priv->rx_tfm)) in lib80211_wep_init()55 priv->rx_tfm = NULL; in lib80211_wep_init()65 if (priv->rx_tfm) in lib80211_wep_init()66 crypto_free_blkcipher (priv->rx_tfm); in lib80211_wep_init()78 if (_priv->rx_tfm) in lib80211_wep_deinit()79 crypto_free_blkcipher (_priv->rx_tfm); in lib80211_wep_deinit()144 struct blkcipher_desc desc = {.tfm = wep->rx_tfm}; in lib80211_wep_decrypt()164 crypto_blkcipher_setkey (wep->rx_tfm, key, klen); in lib80211_wep_decrypt()