Searched refs:miclen (Results 1 – 2 of 2) sorted by relevance
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_gpsk.c | 148 size_t len, miclen; in eap_gpsk_build_gpsk_3() local 154 miclen = eap_gpsk_mic_len(data->vendor, data->specifier); in eap_gpsk_build_gpsk_3() 156 sizeof(struct eap_gpsk_csuite) + 2 + miclen; in eap_gpsk_build_gpsk_3() 180 pos = wpabuf_put(req, miclen); in eap_gpsk_build_gpsk_3() 246 size_t i, miclen; in eap_gpsk_process_gpsk_2() local 436 miclen = eap_gpsk_mic_len(data->vendor, data->specifier); in eap_gpsk_process_gpsk_2() 437 if (end - pos < (int) miclen) { in eap_gpsk_process_gpsk_2() 441 (unsigned long) miclen); in eap_gpsk_process_gpsk_2() 452 if (os_memcmp_const(mic, pos, miclen) != 0) { in eap_gpsk_process_gpsk_2() 454 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Received MIC", pos, miclen); in eap_gpsk_process_gpsk_2() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_gpsk.c | 318 size_t len, miclen; in eap_gpsk_send_gpsk_2() local 324 miclen = eap_gpsk_mic_len(data->vendor, data->specifier); in eap_gpsk_send_gpsk_2() 327 sizeof(struct eap_gpsk_csuite) + 2 + miclen; in eap_gpsk_send_gpsk_2() 396 rpos = wpabuf_put(resp, miclen); in eap_gpsk_send_gpsk_2() 548 size_t miclen; in eap_gpsk_validate_gpsk_3_mic() local 554 miclen = eap_gpsk_mic_len(data->vendor, data->specifier); in eap_gpsk_validate_gpsk_3_mic() 555 if (end - pos < (int) miclen) { in eap_gpsk_validate_gpsk_3_mic() 559 (unsigned long) miclen); in eap_gpsk_validate_gpsk_3_mic() 568 if (os_memcmp_const(mic, pos, miclen) != 0) { in eap_gpsk_validate_gpsk_3_mic() 570 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Received MIC", pos, miclen); in eap_gpsk_validate_gpsk_3_mic() [all …]
|