Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_server/
Deap_server_gpsk.c148 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
437 miclen = eap_gpsk_mic_len(data->vendor, data->specifier); in eap_gpsk_process_gpsk_2()
438 if (end - pos < (int) miclen) { in eap_gpsk_process_gpsk_2()
442 (unsigned long) miclen); in eap_gpsk_process_gpsk_2()
453 if (os_memcmp_const(mic, pos, miclen) != 0) { in eap_gpsk_process_gpsk_2()
455 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Received MIC", pos, miclen); in eap_gpsk_process_gpsk_2()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap_gpsk.c321 size_t len, miclen; in eap_gpsk_send_gpsk_2() local
327 miclen = eap_gpsk_mic_len(data->vendor, data->specifier); in eap_gpsk_send_gpsk_2()
330 sizeof(struct eap_gpsk_csuite) + 2 + miclen; in eap_gpsk_send_gpsk_2()
399 rpos = wpabuf_put(resp, miclen); in eap_gpsk_send_gpsk_2()
551 size_t miclen; in eap_gpsk_validate_gpsk_3_mic() local
557 miclen = eap_gpsk_mic_len(data->vendor, data->specifier); in eap_gpsk_validate_gpsk_3_mic()
558 if (end - pos < (int) miclen) { in eap_gpsk_validate_gpsk_3_mic()
562 (unsigned long) miclen); in eap_gpsk_validate_gpsk_3_mic()
571 if (os_memcmp_const(mic, pos, miclen) != 0) { in eap_gpsk_validate_gpsk_3_mic()
573 wpa_hexdump(MSG_DEBUG, "EAP-GPSK: Received MIC", pos, miclen); in eap_gpsk_validate_gpsk_3_mic()
[all …]