Home
last modified time | relevance | path

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

/net/mac80211/
Dwpa.c862 ieee80211_aes_cmac(key->u.aes_cmac.tfm, aad, in ieee80211_crypto_aes_cmac_encrypt()
905 ieee80211_aes_cmac_256(key->u.aes_cmac.tfm, aad, in ieee80211_crypto_aes_cmac_256_encrypt()
937 if (memcmp(ipn, key->u.aes_cmac.rx_pn, 6) <= 0) { in ieee80211_crypto_aes_cmac_decrypt()
938 key->u.aes_cmac.replays++; in ieee80211_crypto_aes_cmac_decrypt()
945 ieee80211_aes_cmac(key->u.aes_cmac.tfm, aad, in ieee80211_crypto_aes_cmac_decrypt()
948 key->u.aes_cmac.icverrors++; in ieee80211_crypto_aes_cmac_decrypt()
953 memcpy(key->u.aes_cmac.rx_pn, ipn, 6); in ieee80211_crypto_aes_cmac_decrypt()
987 if (memcmp(ipn, key->u.aes_cmac.rx_pn, 6) <= 0) { in ieee80211_crypto_aes_cmac_256_decrypt()
988 key->u.aes_cmac.replays++; in ieee80211_crypto_aes_cmac_256_decrypt()
995 ieee80211_aes_cmac_256(key->u.aes_cmac.tfm, aad, in ieee80211_crypto_aes_cmac_256_decrypt()
[all …]
Dkey.c685 key->u.aes_cmac.rx_pn[j] = in ieee80211_key_alloc()
691 key->u.aes_cmac.tfm = in ieee80211_key_alloc()
693 if (IS_ERR(key->u.aes_cmac.tfm)) { in ieee80211_key_alloc()
694 err = PTR_ERR(key->u.aes_cmac.tfm); in ieee80211_key_alloc()
753 ieee80211_aes_cmac_key_free(key->u.aes_cmac.tfm); in ieee80211_key_free_common()
1275 pn = key->u.aes_cmac.rx_pn; in ieee80211_get_key_rx_seq()
1276 memcpy(seq->aes_cmac.pn, pn, IEEE80211_CMAC_PN_LEN); in ieee80211_get_key_rx_seq()
1328 pn = key->u.aes_cmac.rx_pn; in ieee80211_set_key_rx_seq()
1329 memcpy(pn, seq->aes_cmac.pn, IEEE80211_CMAC_PN_LEN); in ieee80211_set_key_rx_seq()
1422 key->u.aes_cmac.icverrors++; in ieee80211_key_mic_failure()
[all …]
Ddebugfs_key.c191 rpn = key->u.aes_cmac.rx_pn; in key_rx_spec_read()
240 key->u.aes_cmac.replays); in key_replays_read()
269 key->u.aes_cmac.icverrors); in key_icverrors_read()
DMakefile23 aes_cmac.o \
Dkey.h99 } aes_cmac; member
Dcfg.c723 offsetof(typeof(kseq), aes_cmac)); in ieee80211_get_key()
/net/bluetooth/
Dsmp.c170 static int aes_cmac(struct crypto_shash *tfm, const u8 k[16], const u8 *m, in aes_cmac() function
224 err = aes_cmac(tfm_cmac, x, m, sizeof(m), res); in smp_f4()
254 err = aes_cmac(tfm_cmac, salt, w, 32, t); in smp_f5()
269 err = aes_cmac(tfm_cmac, t, m, sizeof(m), mackey); in smp_f5()
277 err = aes_cmac(tfm_cmac, t, m, sizeof(m), ltk); in smp_f5()
305 err = aes_cmac(tfm_cmac, w, m, sizeof(m), res); in smp_f6()
328 err = aes_cmac(tfm_cmac, x, m, sizeof(m), tmp); in smp_g2()
347 err = aes_cmac(tfm_cmac, w, key_id, 4, res); in smp_h6()
363 err = aes_cmac(tfm_cmac, salt, w, 16, res); in smp_h7()