Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_peer/
Deap_sake.c246 rlen = 2 + EAP_SAKE_RAND_LEN + 2 + EAP_SAKE_MIC_LEN; in eap_sake_process_challenge()
265 wpabuf_put_u8(resp, 2 + EAP_SAKE_MIC_LEN); in eap_sake_process_challenge()
266 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); in eap_sake_process_challenge()
292 u8 mic_s[EAP_SAKE_MIC_LEN]; in eap_sake_process_confirm()
317 if (os_memcmp_const(attr.mic_s, mic_s, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_confirm()
331 resp = eap_sake_build_msg(data, id, 2 + EAP_SAKE_MIC_LEN, in eap_sake_process_confirm()
338 wpabuf_put_u8(resp, 2 + EAP_SAKE_MIC_LEN); in eap_sake_process_confirm()
339 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); in eap_sake_process_confirm()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_sake.c189 msg = eap_sake_build_msg(data, id, 2 + EAP_SAKE_MIC_LEN, in eap_sake_build_confirm()
198 wpabuf_put_u8(msg, 2 + EAP_SAKE_MIC_LEN); in eap_sake_build_confirm()
199 mic = wpabuf_put(msg, EAP_SAKE_MIC_LEN); in eap_sake_build_confirm()
307 u8 mic_p[EAP_SAKE_MIC_LEN]; in eap_sake_process_challenge()
354 if (os_memcmp_const(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_challenge()
370 u8 mic_p[EAP_SAKE_MIC_LEN]; in eap_sake_process_confirm()
391 if (os_memcmp_const(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_confirm()
/external/wpa_supplicant_8/src/eap_common/
Deap_sake_common.c44 if (len != EAP_SAKE_MIC_LEN) { in eap_sake_parse_add_attr()
53 if (len != EAP_SAKE_MIC_LEN) { in eap_sake_parse_add_attr()
365 os_memset(pos + (mic_pos - eap), 0, EAP_SAKE_MIC_LEN); in eap_sake_compute_mic()
370 mic, EAP_SAKE_MIC_LEN); in eap_sake_compute_mic()
Deap_sake_common.h36 #define EAP_SAKE_MIC_LEN 16 macro