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.c247 rlen = 2 + EAP_SAKE_RAND_LEN + 2 + EAP_SAKE_MIC_LEN; in eap_sake_process_challenge()
267 wpabuf_put_u8(resp, 2 + EAP_SAKE_MIC_LEN); in eap_sake_process_challenge()
268 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); in eap_sake_process_challenge()
293 u8 mic_s[EAP_SAKE_MIC_LEN]; in eap_sake_process_confirm()
318 if (os_memcmp_const(attr.mic_s, mic_s, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_confirm()
333 2 + EAP_SAKE_MIC_LEN, in eap_sake_process_confirm()
340 wpabuf_put_u8(resp, 2 + EAP_SAKE_MIC_LEN); in eap_sake_process_confirm()
341 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 (pos[1] != 2 + EAP_SAKE_MIC_LEN) { in eap_sake_parse_add_attr()
53 if (pos[1] != 2 + 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