Home
last modified time | relevance | path

Searched refs:EAP_SAKE_MIC_LEN (Results 1 – 11 of 11) sorted by relevance

/external/wpa_supplicant_8/src/eap_peer/
Deap_sake.c253 rlen = 2 + EAP_SAKE_RAND_LEN + 2 + EAP_SAKE_MIC_LEN; in eap_sake_process_challenge()
273 wpabuf_put_u8(resp, 2 + EAP_SAKE_MIC_LEN); in eap_sake_process_challenge()
274 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); in eap_sake_process_challenge()
299 u8 mic_s[EAP_SAKE_MIC_LEN]; in eap_sake_process_confirm()
324 if (os_memcmp(attr.mic_s, mic_s, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_confirm()
339 2 + EAP_SAKE_MIC_LEN, in eap_sake_process_confirm()
346 wpabuf_put_u8(resp, 2 + EAP_SAKE_MIC_LEN); in eap_sake_process_confirm()
347 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); in eap_sake_process_confirm()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_sake.c252 rlen = 2 + EAP_SAKE_RAND_LEN + 2 + EAP_SAKE_MIC_LEN; in eap_sake_process_challenge()
272 wpabuf_put_u8(resp, 2 + EAP_SAKE_MIC_LEN); in eap_sake_process_challenge()
273 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); in eap_sake_process_challenge()
298 u8 mic_s[EAP_SAKE_MIC_LEN]; in eap_sake_process_confirm()
323 if (os_memcmp(attr.mic_s, mic_s, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_confirm()
338 2 + EAP_SAKE_MIC_LEN, in eap_sake_process_confirm()
345 wpabuf_put_u8(resp, 2 + EAP_SAKE_MIC_LEN); in eap_sake_process_confirm()
346 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); in eap_sake_process_confirm()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_sake.c209 msg = eap_sake_build_msg(data, id, 2 + EAP_SAKE_MIC_LEN, in eap_sake_build_confirm()
218 wpabuf_put_u8(msg, 2 + EAP_SAKE_MIC_LEN); in eap_sake_build_confirm()
219 mic = wpabuf_put(msg, EAP_SAKE_MIC_LEN); in eap_sake_build_confirm()
327 u8 mic_p[EAP_SAKE_MIC_LEN]; in eap_sake_process_challenge()
374 if (os_memcmp(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_challenge()
390 u8 mic_p[EAP_SAKE_MIC_LEN]; in eap_sake_process_confirm()
411 if (os_memcmp(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_confirm()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_sake.c210 msg = eap_sake_build_msg(data, id, 2 + EAP_SAKE_MIC_LEN, in eap_sake_build_confirm()
219 wpabuf_put_u8(msg, 2 + EAP_SAKE_MIC_LEN); in eap_sake_build_confirm()
220 mic = wpabuf_put(msg, EAP_SAKE_MIC_LEN); in eap_sake_build_confirm()
328 u8 mic_p[EAP_SAKE_MIC_LEN]; in eap_sake_process_challenge()
375 if (os_memcmp(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_challenge()
391 u8 mic_p[EAP_SAKE_MIC_LEN]; in eap_sake_process_confirm()
412 if (os_memcmp(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_confirm()
/external/wpa_supplicant/
Deap_sake_common.c49 if (pos[1] != 2 + EAP_SAKE_MIC_LEN) { in eap_sake_parse_add_attr()
58 if (pos[1] != 2 + EAP_SAKE_MIC_LEN) { in eap_sake_parse_add_attr()
370 os_memset(pos + (mic_pos - eap), 0, EAP_SAKE_MIC_LEN); in eap_sake_compute_mic()
375 mic, EAP_SAKE_MIC_LEN); in eap_sake_compute_mic()
Deap_sake.c262 *respDataLen = 2 + EAP_SAKE_RAND_LEN + 2 + EAP_SAKE_MIC_LEN; in eap_sake_process_challenge()
286 *rpos++ = 2 + EAP_SAKE_MIC_LEN; in eap_sake_process_challenge()
310 u8 mic_s[EAP_SAKE_MIC_LEN]; in eap_sake_process_confirm()
334 if (os_memcmp(attr.mic_s, mic_s, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_confirm()
350 *respDataLen = 2 + EAP_SAKE_MIC_LEN; in eap_sake_process_confirm()
358 *rpos++ = 2 + EAP_SAKE_MIC_LEN; in eap_sake_process_confirm()
Deap_sake_common.h42 #define EAP_SAKE_MIC_LEN 16 macro
/external/wpa_supplicant_8/src/eap_common/
Deap_sake_common.c50 if (pos[1] != 2 + EAP_SAKE_MIC_LEN) { in eap_sake_parse_add_attr()
59 if (pos[1] != 2 + EAP_SAKE_MIC_LEN) { in eap_sake_parse_add_attr()
371 os_memset(pos + (mic_pos - eap), 0, EAP_SAKE_MIC_LEN); in eap_sake_compute_mic()
376 mic, EAP_SAKE_MIC_LEN); in eap_sake_compute_mic()
Deap_sake_common.h42 #define EAP_SAKE_MIC_LEN 16 macro
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
Deap_sake_common.c50 if (pos[1] != 2 + EAP_SAKE_MIC_LEN) { in eap_sake_parse_add_attr()
59 if (pos[1] != 2 + EAP_SAKE_MIC_LEN) { in eap_sake_parse_add_attr()
371 os_memset(pos + (mic_pos - eap), 0, EAP_SAKE_MIC_LEN); in eap_sake_compute_mic()
376 mic, EAP_SAKE_MIC_LEN); in eap_sake_compute_mic()
Deap_sake_common.h42 #define EAP_SAKE_MIC_LEN 16 macro