Home
last modified time | relevance | path

Searched refs:cmac (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/
Dsmp_keys.c1305 UINT8 cmac[BT_OCTET16_LEN]; in smp_calculate_f4() local
1340 aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac); in smp_calculate_f4()
1342 p_prnt = cmac; in smp_calculate_f4()
1347 ARRAY_TO_STREAM(p, cmac, BT_OCTET16_LEN); in smp_calculate_f4()
1417 UINT8 cmac[BT_OCTET16_LEN]; in smp_calculate_g2() local
1448 if (!aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac)) { in smp_calculate_g2()
1454 p_prnt = cmac; in smp_calculate_g2()
1459 p = &cmac[0]; in smp_calculate_g2()
1641 UINT8 cmac[BT_OCTET16_LEN]; in smp_calculate_f5_mackey_or_long_term_key() local
1691 if (!aes_cipher_msg_auth_code(key, msg, msg_len, BT_OCTET16_LEN, cmac)) { in smp_calculate_f5_mackey_or_long_term_key()
[all …]
/hal_espressif-latest/components/wpa_supplicant/src/eap_peer/
Deap_fast.c759 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; in eap_fast_process_crypto_binding() local
770 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
771 os_memset(_bind->compound_mac, 0, sizeof(cmac)); in eap_fast_process_crypto_binding()
776 res = os_memcmp_const(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
778 cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
780 _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
783 os_memcpy(_bind->compound_mac, cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()