Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Dsec_tkip.c62 struct crypto_ahash *rx_tfm_michael; member
67 struct crypto_hash *rx_tfm_michael; member
112 priv->rx_tfm_michael = crypto_alloc_ahash("michael_mic", 0, in lib80211_tkip_init()
114 if (IS_ERR(priv->rx_tfm_michael)) { in lib80211_tkip_init()
115 priv->rx_tfm_michael = NULL; in lib80211_tkip_init()
123 crypto_free_ahash(priv->rx_tfm_michael); in lib80211_tkip_init()
155 priv->rx_tfm_michael = crypto_alloc_hash("michael_mic", 0, in lib80211_tkip_init()
157 if (IS_ERR(priv->rx_tfm_michael)) { in lib80211_tkip_init()
158 priv->rx_tfm_michael = NULL; in lib80211_tkip_init()
168 if (priv->rx_tfm_michael) in lib80211_tkip_init()
[all …]
/OK3568_Linux_fs/kernel/net/wireless/
H A Dlib80211_crypt_tkip.c67 struct crypto_shash *rx_tfm_michael; member
109 priv->rx_tfm_michael = crypto_alloc_shash("michael_mic", 0, 0); in lib80211_tkip_init()
110 if (IS_ERR(priv->rx_tfm_michael)) { in lib80211_tkip_init()
111 priv->rx_tfm_michael = NULL; in lib80211_tkip_init()
120 crypto_free_shash(priv->rx_tfm_michael); in lib80211_tkip_init()
132 crypto_free_shash(_priv->rx_tfm_michael); in lib80211_tkip_deinit()
594 if (michael_mic(tkey->rx_tfm_michael, &tkey->key[24], tkey->rx_hdr, in lib80211_michael_mic_verify()
626 struct crypto_shash *tfm3 = tkey->rx_tfm_michael; in lib80211_tkip_set_key()
634 tkey->rx_tfm_michael = tfm3; in lib80211_tkip_set_key()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8192e/
H A Drtllib_crypt_tkip.c50 struct crypto_shash *rx_tfm_michael; member
76 priv->rx_tfm_michael = crypto_alloc_shash("michael_mic", 0, 0); in rtllib_tkip_init()
77 if (IS_ERR(priv->rx_tfm_michael)) { in rtllib_tkip_init()
79 priv->rx_tfm_michael = NULL; in rtllib_tkip_init()
87 crypto_free_shash(priv->rx_tfm_michael); in rtllib_tkip_init()
101 crypto_free_shash(_priv->rx_tfm_michael); in rtllib_tkip_deinit()
580 if (michael_mic(tkey->rx_tfm_michael, &tkey->key[24], tkey->rx_hdr, in rtllib_michael_mic_verify()
618 struct crypto_shash *tfm3 = tkey->rx_tfm_michael; in rtllib_tkip_set_key()
624 tkey->rx_tfm_michael = tfm3; in rtllib_tkip_set_key()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt_tkip.c54 struct crypto_shash *rx_tfm_michael; member
81 priv->rx_tfm_michael = crypto_alloc_shash("michael_mic", 0, 0); in ieee80211_tkip_init()
82 if (IS_ERR(priv->rx_tfm_michael)) { in ieee80211_tkip_init()
85 priv->rx_tfm_michael = NULL; in ieee80211_tkip_init()
94 crypto_free_shash(priv->rx_tfm_michael); in ieee80211_tkip_init()
108 crypto_free_shash(_priv->rx_tfm_michael); in ieee80211_tkip_deinit()
575 if (michael_mic(tkey->rx_tfm_michael, &tkey->key[24], tkey->rx_hdr, in ieee80211_michael_mic_verify()
609 struct crypto_shash *tfm3 = tkey->rx_tfm_michael; in ieee80211_tkip_set_key()
615 tkey->rx_tfm_michael = tfm3; in ieee80211_tkip_set_key()