Home
last modified time | relevance | path

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

/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_fast.c745 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; in eap_fast_process_crypto_binding() local
756 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
757 os_memset(_bind->compound_mac, 0, sizeof(cmac)); in eap_fast_process_crypto_binding()
762 res = os_memcmp(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
764 cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
766 _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
769 os_memcpy(_bind->compound_mac, cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
/external/wpa_supplicant_8/src/eap_peer/
Deap_fast.c745 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; in eap_fast_process_crypto_binding() local
756 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
757 os_memset(_bind->compound_mac, 0, sizeof(cmac)); in eap_fast_process_crypto_binding()
762 res = os_memcmp(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
764 cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
766 _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
769 os_memcpy(_bind->compound_mac, cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
/external/wpa_supplicant/
Deap_fast.c1236 u8 isk[32], imck[60], *cmk, cmac[20], *key; in eap_fast_process_crypto_binding() local
1304 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
1305 os_memset(_bind->compound_mac, 0, sizeof(cmac)); in eap_fast_process_crypto_binding()
1309 res = os_memcmp(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
1311 cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
1313 _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
1318 os_memcpy(_bind->compound_mac, cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_fast.c1175 u8 cmac[SHA1_MAC_LEN]; in eap_fast_validate_crypto_binding() local
1207 os_memcpy(cmac, b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()
1208 os_memset(b->compound_mac, 0, sizeof(cmac)); in eap_fast_validate_crypto_binding()
1214 if (os_memcmp(cmac, b->compound_mac, sizeof(cmac)) != 0) { in eap_fast_validate_crypto_binding()
1217 b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_fast.c1180 u8 cmac[SHA1_MAC_LEN]; in eap_fast_validate_crypto_binding() local
1212 os_memcpy(cmac, b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()
1213 os_memset(b->compound_mac, 0, sizeof(cmac)); in eap_fast_validate_crypto_binding()
1219 if (os_memcmp(cmac, b->compound_mac, sizeof(cmac)) != 0) { in eap_fast_validate_crypto_binding()
1222 b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()