Home
last modified time | relevance | path

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

/Linux-v4.19/net/mac80211/
Dwpa.c973 ieee80211_aes_cmac(key->u.aes_cmac.tfm, aad, in ieee80211_crypto_aes_cmac_encrypt()
1016 ieee80211_aes_cmac_256(key->u.aes_cmac.tfm, aad, in ieee80211_crypto_aes_cmac_256_encrypt()
1048 if (memcmp(ipn, key->u.aes_cmac.rx_pn, 6) <= 0) { in ieee80211_crypto_aes_cmac_decrypt()
1049 key->u.aes_cmac.replays++; in ieee80211_crypto_aes_cmac_decrypt()
1056 ieee80211_aes_cmac(key->u.aes_cmac.tfm, aad, in ieee80211_crypto_aes_cmac_decrypt()
1059 key->u.aes_cmac.icverrors++; in ieee80211_crypto_aes_cmac_decrypt()
1064 memcpy(key->u.aes_cmac.rx_pn, ipn, 6); in ieee80211_crypto_aes_cmac_decrypt()
1098 if (memcmp(ipn, key->u.aes_cmac.rx_pn, 6) <= 0) { in ieee80211_crypto_aes_cmac_256_decrypt()
1099 key->u.aes_cmac.replays++; in ieee80211_crypto_aes_cmac_256_decrypt()
1106 ieee80211_aes_cmac_256(key->u.aes_cmac.tfm, aad, in ieee80211_crypto_aes_cmac_256_decrypt()
[all …]
Dkey.c478 key->u.aes_cmac.rx_pn[j] = in ieee80211_key_alloc()
484 key->u.aes_cmac.tfm = in ieee80211_key_alloc()
486 if (IS_ERR(key->u.aes_cmac.tfm)) { in ieee80211_key_alloc()
487 err = PTR_ERR(key->u.aes_cmac.tfm); in ieee80211_key_alloc()
561 ieee80211_aes_cmac_key_free(key->u.aes_cmac.tfm); in ieee80211_key_free_common()
1025 pn = key->u.aes_cmac.rx_pn; in ieee80211_get_key_rx_seq()
1026 memcpy(seq->aes_cmac.pn, pn, IEEE80211_CMAC_PN_LEN); in ieee80211_get_key_rx_seq()
1078 pn = key->u.aes_cmac.rx_pn; in ieee80211_set_key_rx_seq()
1079 memcpy(pn, seq->aes_cmac.pn, IEEE80211_CMAC_PN_LEN); in ieee80211_set_key_rx_seq()
DMakefile21 aes_cmac.o \
Ddebugfs_key.c194 rpn = key->u.aes_cmac.rx_pn; in key_rx_spec_read()
243 key->u.aes_cmac.replays); in key_replays_read()
272 key->u.aes_cmac.icverrors); in key_icverrors_read()
Dkey.h99 } aes_cmac; member
Dcfg.c576 offsetof(typeof(kseq), aes_cmac)); in ieee80211_get_key()
/Linux-v4.19/net/bluetooth/
Dsmp.c173 static int aes_cmac(struct crypto_shash *tfm, const u8 k[16], const u8 *m, in aes_cmac() function
232 err = aes_cmac(tfm_cmac, x, m, sizeof(m), res); in smp_f4()
262 err = aes_cmac(tfm_cmac, salt, w, 32, t); in smp_f5()
277 err = aes_cmac(tfm_cmac, t, m, sizeof(m), mackey); in smp_f5()
285 err = aes_cmac(tfm_cmac, t, m, sizeof(m), ltk); in smp_f5()
313 err = aes_cmac(tfm_cmac, w, m, sizeof(m), res); in smp_f6()
336 err = aes_cmac(tfm_cmac, x, m, sizeof(m), tmp); in smp_g2()
355 err = aes_cmac(tfm_cmac, w, key_id, 4, res); in smp_h6()
371 err = aes_cmac(tfm_cmac, salt, w, 16, res); in smp_h7()
/Linux-v4.19/include/net/
Dmac80211.h1687 } aes_cmac; member
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c3053 pn = seq.aes_cmac.pn; in iwl_mvm_send_sta_igtk()