/external/wpa_supplicant/tests/ |
D | test_sha1.c | 109 const u8 compound_mac[] = { in test_eap_fast() local 158 if (memcmp(tlv + sizeof(tlv) - 20, compound_mac, sizeof(compound_mac)) in test_eap_fast()
|
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
D | test_sha1.c | 120 const u8 compound_mac[] = { in test_eap_fast() local 177 if (memcmp(tlv + sizeof(tlv) - 20, compound_mac, sizeof(compound_mac)) in test_eap_fast()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | eap_fast.c | 667 binding->compound_mac); in eap_fast_build_crypto_binding() 676 binding->compound_mac, sizeof(binding->compound_mac)); in eap_fast_build_crypto_binding() 1183 b->compound_mac, sizeof(b->compound_mac)); in eap_fast_validate_crypto_binding() 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() 1213 b->compound_mac); 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/ |
D | eap_server_fast.c | 668 binding->compound_mac); in eap_fast_build_crypto_binding() 677 binding->compound_mac, sizeof(binding->compound_mac)); in eap_fast_build_crypto_binding() 1188 b->compound_mac, sizeof(b->compound_mac)); in eap_fast_validate_crypto_binding() 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() 1218 b->compound_mac); 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()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | eap_fast.c | 590 _bind->compound_mac, sizeof(_bind->compound_mac)); in eap_fast_validate_crypto_binding() 621 rbind->compound_mac); in eap_fast_write_crypto_binding() 629 rbind->compound_mac, sizeof(rbind->compound_mac)); in eap_fast_write_crypto_binding() 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() 761 _bind->compound_mac); in eap_fast_process_crypto_binding() 762 res = os_memcmp(cmac, _bind->compound_mac, 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/ |
D | eap_fast.c | 590 _bind->compound_mac, sizeof(_bind->compound_mac)); in eap_fast_validate_crypto_binding() 621 rbind->compound_mac); in eap_fast_write_crypto_binding() 629 rbind->compound_mac, sizeof(rbind->compound_mac)); in eap_fast_write_crypto_binding() 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() 761 _bind->compound_mac); in eap_fast_process_crypto_binding() 762 res = os_memcmp(cmac, _bind->compound_mac, 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/ |
D | eap_fast.c | 1246 _bind->compound_mac, sizeof(_bind->compound_mac)); in eap_fast_process_crypto_binding() 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() 1308 hmac_sha1(cmk, 20, (u8 *) _bind, bind_len, _bind->compound_mac); in eap_fast_process_crypto_binding() 1309 res = os_memcmp(cmac, _bind->compound_mac, 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() 1355 hmac_sha1(cmk, 20, (u8 *) rbind, sizeof(*rbind), rbind->compound_mac); in eap_fast_process_crypto_binding() 1363 rbind->compound_mac, sizeof(rbind->compound_mac)); in eap_fast_process_crypto_binding()
|
D | eap_tlv.h | 71 u8 compound_mac[20]; member
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_tlv_common.h | 83 u8 compound_mac[20]; member
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
D | eap_tlv_common.h | 83 u8 compound_mac[20]; member
|