Searched refs:aes_cmac (Results 1 – 7 of 7) sorted by relevance
/net/mac80211/ |
D | key.c | 392 key->u.aes_cmac.rx_pn[j] = in ieee80211_key_alloc() 398 key->u.aes_cmac.tfm = in ieee80211_key_alloc() 400 if (IS_ERR(key->u.aes_cmac.tfm)) { in ieee80211_key_alloc() 401 err = PTR_ERR(key->u.aes_cmac.tfm); in ieee80211_key_alloc() 430 ieee80211_aes_cmac_key_free(key->u.aes_cmac.tfm); in ieee80211_key_free_common() 791 pn64 = atomic64_read(&key->u.aes_cmac.tx_pn); in ieee80211_get_key_tx_seq() 832 pn = key->u.aes_cmac.rx_pn; in ieee80211_get_key_rx_seq() 833 memcpy(seq->aes_cmac.pn, pn, IEEE80211_CMAC_PN_LEN); in ieee80211_get_key_rx_seq() 862 pn64 = (u64)seq->aes_cmac.pn[5] | in ieee80211_set_key_tx_seq() 863 ((u64)seq->aes_cmac.pn[4] << 8) | in ieee80211_set_key_tx_seq() [all …]
|
D | wpa.c | 723 pn64 = atomic64_inc_return(&key->u.aes_cmac.tx_pn); in ieee80211_crypto_aes_cmac_encrypt() 732 ieee80211_aes_cmac(key->u.aes_cmac.tfm, aad, in ieee80211_crypto_aes_cmac_encrypt() 765 if (memcmp(ipn, key->u.aes_cmac.rx_pn, 6) <= 0) { in ieee80211_crypto_aes_cmac_decrypt() 766 key->u.aes_cmac.replays++; in ieee80211_crypto_aes_cmac_decrypt() 773 ieee80211_aes_cmac(key->u.aes_cmac.tfm, aad, in ieee80211_crypto_aes_cmac_decrypt() 776 key->u.aes_cmac.icverrors++; in ieee80211_crypto_aes_cmac_decrypt() 781 memcpy(key->u.aes_cmac.rx_pn, ipn, 6); in ieee80211_crypto_aes_cmac_decrypt()
|
D | debugfs_key.c | 103 pn = atomic64_read(&key->u.aes_cmac.tx_pn); in key_tx_spec_read() 147 rpn = key->u.aes_cmac.rx_pn; in key_rx_spec_read() 174 key->u.aes_cmac.replays); in key_replays_read() 193 key->u.aes_cmac.icverrors); in key_icverrors_read()
|
D | Makefile | 18 aes_cmac.o \
|
D | key.h | 96 } aes_cmac; member
|
D | aes_cmac.c | 138 crypto_cipher_encrypt_one(key->u.aes_cmac.tfm, l, l); in ieee80211_aes_cmac_calculate_k1_k2()
|
D | cfg.c | 360 pn64 = atomic64_read(&key->u.aes_cmac.tx_pn); in ieee80211_get_key()
|