/external/wpa_supplicant/ |
eap_tlv.h | 71 u8 compound_mac[20]; member in struct:eap_tlv_crypto_binding__tlv
|
eap_fast.c | 1246 _bind->compound_mac, sizeof(_bind->compound_mac)); [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
eap_tlv_common.h | 83 u8 compound_mac[20]; member in struct:eap_tlv_crypto_binding_tlv
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_tlv_common.h | 83 u8 compound_mac[20]; member in struct:eap_tlv_crypto_binding_tlv
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_peap.c | 420 /* Compound_MAC: HMAC-SHA1-160(cryptobinding TLV | EAP type) */ 437 mac = wpabuf_put(buf, 20); /* Compound_MAC */ 438 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC CMK", 440 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC data 1", 442 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC data 2", 445 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC", 622 /* Compound_MAC: HMAC-SHA1-160(cryptobinding TLV | EAP type) */ 624 os_memset(buf + 4 + 4 + 32, 0, 20); /* Compound_MAC */ 629 wpa_printf(MSG_DEBUG, "EAP-PEAP: Invalid Compound_MAC in " [all...] |
eap_fast.c | 667 binding->compound_mac); 676 binding->compound_mac, sizeof(binding->compound_mac)); 1183 b->compound_mac, sizeof(b->compound_mac)); 1207 os_memcpy(cmac, b->compound_mac, sizeof(cmac)); 1208 os_memset(b->compound_mac, 0, sizeof(cmac)); 1213 b->compound_mac); 1214 if (os_memcmp(cmac, b->compound_mac, sizeof(cmac)) != 0) { 1217 b->compound_mac, sizeof(cmac)) [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_peap.c | 423 /* Compound_MAC: HMAC-SHA1-160(cryptobinding TLV | EAP type) */ 440 mac = wpabuf_put(buf, 20); /* Compound_MAC */ 441 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC CMK", 443 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC data 1", 445 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC data 2", 448 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC", 625 /* Compound_MAC: HMAC-SHA1-160(cryptobinding TLV | EAP type) */ 627 os_memset(buf + 4 + 4 + 32, 0, 20); /* Compound_MAC */ 632 wpa_printf(MSG_DEBUG, "EAP-PEAP: Invalid Compound_MAC in " [all...] |
eap_server_fast.c | 668 binding->compound_mac); 677 binding->compound_mac, sizeof(binding->compound_mac)); 1188 b->compound_mac, sizeof(b->compound_mac)); 1212 os_memcpy(cmac, b->compound_mac, sizeof(cmac)); 1213 os_memset(b->compound_mac, 0, sizeof(cmac)); 1218 b->compound_mac); 1219 if (os_memcmp(cmac, b->compound_mac, sizeof(cmac)) != 0) { 1222 b->compound_mac, sizeof(cmac)) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_fast.c | 590 _bind->compound_mac, sizeof(_bind->compound_mac)); 621 rbind->compound_mac); 629 rbind->compound_mac, sizeof(rbind->compound_mac)); 756 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); 757 os_memset(_bind->compound_mac, 0, sizeof(cmac)); 761 _bind->compound_mac); 762 res = os_memcmp(cmac, _bind->compound_mac, sizeof(cmac)); 766 _bind->compound_mac, sizeof(cmac)) [all...] |
eap_peap.c | 312 /* Compound_MAC: HMAC-SHA1-160(cryptobinding TLV | EAP type) */ 329 mac = wpabuf_put(buf, 20); /* Compound_MAC */ 330 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC CMK", data->cmk, 20); 331 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC data 1", 333 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC data 2", 336 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC", mac, SHA1_MAC_LEN); 422 /* Compound_MAC: HMAC-SHA1-160(cryptobinding TLV | EAP type) */ 424 os_memset(buf + 4 + 4 + 32, 0, 20); /* Compound_MAC */ 426 wpa_hexdump(MSG_DEBUG, "EAP-PEAP: Compound_MAC data", 431 wpa_printf(MSG_DEBUG, "EAP-PEAP: Invalid Compound_MAC in [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_fast.c | 590 _bind->compound_mac, sizeof(_bind->compound_mac)); 621 rbind->compound_mac); 629 rbind->compound_mac, sizeof(rbind->compound_mac)); 756 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); 757 os_memset(_bind->compound_mac, 0, sizeof(cmac)); 761 _bind->compound_mac); 762 res = os_memcmp(cmac, _bind->compound_mac, sizeof(cmac)); 766 _bind->compound_mac, sizeof(cmac)) [all...] |
eap_peap.c | 312 /* Compound_MAC: HMAC-SHA1-160(cryptobinding TLV | EAP type) */ 329 mac = wpabuf_put(buf, 20); /* Compound_MAC */ 330 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC CMK", data->cmk, 20); 331 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC data 1", 333 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC data 2", 336 wpa_hexdump(MSG_MSGDUMP, "EAP-PEAP: Compound_MAC", mac, SHA1_MAC_LEN); 422 /* Compound_MAC: HMAC-SHA1-160(cryptobinding TLV | EAP type) */ 424 os_memset(buf + 4 + 4 + 32, 0, 20); /* Compound_MAC */ 426 wpa_hexdump(MSG_DEBUG, "EAP-PEAP: Compound_MAC data", 431 wpa_printf(MSG_DEBUG, "EAP-PEAP: Invalid Compound_MAC in [all...] |
/external/wpa_supplicant/tests/ |
test_sha1.c | 109 const u8 compound_mac[] = { local 158 if (memcmp(tlv + sizeof(tlv) - 20, compound_mac, sizeof(compound_mac))
|
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
test_sha1.c | 120 const u8 compound_mac[] = { local 177 if (memcmp(tlv + sizeof(tlv) - 20, compound_mac, sizeof(compound_mac))
|