Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Dsec_wep.c37 struct crypto_blkcipher *rx_tfm; member
52 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()