Searched refs:rx_tfm_michael (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_tkip.c | 53 struct crypto_shash *rx_tfm_michael; member 94 priv->rx_tfm_michael = crypto_alloc_shash("michael_mic", 0, 0); in ieee80211_tkip_init() 95 if (IS_ERR(priv->rx_tfm_michael)) { in ieee80211_tkip_init() 98 priv->rx_tfm_michael = NULL; in ieee80211_tkip_init() 108 crypto_free_shash(priv->rx_tfm_michael); in ieee80211_tkip_init() 124 crypto_free_shash(_priv->rx_tfm_michael); in ieee80211_tkip_deinit() 624 if (michael_mic(tkey->rx_tfm_michael, &tkey->key[24], tkey->rx_hdr, in ieee80211_michael_mic_verify() 660 struct crypto_shash *tfm3 = tkey->rx_tfm_michael; in ieee80211_tkip_set_key() 668 tkey->rx_tfm_michael = tfm3; in ieee80211_tkip_set_key()
|
/Linux-v5.4/drivers/staging/rtl8192e/ |
D | rtllib_crypt_tkip.c | 49 struct crypto_shash *rx_tfm_michael; member 86 priv->rx_tfm_michael = crypto_alloc_shash("michael_mic", 0, 0); in rtllib_tkip_init() 87 if (IS_ERR(priv->rx_tfm_michael)) { in rtllib_tkip_init() 89 priv->rx_tfm_michael = NULL; in rtllib_tkip_init() 98 crypto_free_shash(priv->rx_tfm_michael); in rtllib_tkip_init() 114 crypto_free_shash(_priv->rx_tfm_michael); in rtllib_tkip_deinit() 622 if (michael_mic(tkey->rx_tfm_michael, &tkey->key[24], tkey->rx_hdr, in rtllib_michael_mic_verify() 661 struct crypto_shash *tfm3 = tkey->rx_tfm_michael; in rtllib_tkip_set_key() 669 tkey->rx_tfm_michael = tfm3; in rtllib_tkip_set_key()
|
/Linux-v5.4/net/wireless/ |
D | lib80211_crypt_tkip.c | 67 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()
|