Home
last modified time | relevance | path

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

/netbsd/external/bsd/wpa/dist/src/eap_peer/
H A Deap_sake.c248 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()
294 u8 mic_s[EAP_SAKE_MIC_LEN]; in eap_sake_process_confirm()
328 if (os_memcmp_const(attr.mic_s, mic_s, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_confirm()
342 resp = eap_sake_build_msg(data, id, 2 + EAP_SAKE_MIC_LEN, in eap_sake_process_confirm()
349 wpabuf_put_u8(resp, 2 + EAP_SAKE_MIC_LEN); in eap_sake_process_confirm()
350 rpos = wpabuf_put(resp, EAP_SAKE_MIC_LEN); in eap_sake_process_confirm()
/netbsd/external/bsd/wpa/dist/src/eap_server/
H A 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()
362 if (os_memcmp_const(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_challenge()
378 u8 mic_p[EAP_SAKE_MIC_LEN]; in eap_sake_process_confirm()
402 if (os_memcmp_const(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) { in eap_sake_process_confirm()
/netbsd/external/bsd/wpa/dist/src/eap_common/
H A 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()
378 os_memset(pos + (mic_pos - eap), 0, EAP_SAKE_MIC_LEN); in eap_sake_compute_mic()
383 mic, EAP_SAKE_MIC_LEN); in eap_sake_compute_mic()
H A Deap_sake_common.h36 #define EAP_SAKE_MIC_LEN 16 macro