Home
last modified time | relevance | path

Searched refs:challenge_len (Results 1 – 12 of 12) sorted by relevance

/external/wpa_supplicant_8/src/eap_peer/
Deap_md5.c36 size_t len, challenge_len, password_len; in eap_md5_process() local
58 challenge_len = *pos++; in eap_md5_process()
59 if (challenge_len == 0 || challenge_len > len - 1) { in eap_md5_process()
62 (unsigned long) challenge_len, (unsigned long) len); in eap_md5_process()
69 challenge, challenge_len); in eap_md5_process()
89 if (chap_md5(id, password, password_len, challenge, challenge_len, in eap_md5_process()
Deap_leap.c66 u8 challenge_len, *rpos; in eap_leap_process_request() local
94 challenge_len = *pos++; in eap_leap_process_request()
95 if (challenge_len != LEAP_CHALLENGE_LEN || challenge_len > len - 3) { in eap_leap_process_request()
98 challenge_len, (unsigned long) wpabuf_len(reqData)); in eap_leap_process_request()
Deap_mschapv2.c244 size_t len, challenge_len; in eap_mschapv2_challenge() local
259 challenge_len = *pos++; in eap_mschapv2_challenge()
261 if (challenge_len != MSCHAPV2_CHAL_LEN) { in eap_mschapv2_challenge()
263 "%lu", (unsigned long) challenge_len); in eap_mschapv2_challenge()
268 if (len < challenge_len) { in eap_mschapv2_challenge()
271 (unsigned long) len, (unsigned long) challenge_len); in eap_mschapv2_challenge()
282 pos += challenge_len; in eap_mschapv2_challenge()
283 len -= challenge_len; in eap_mschapv2_challenge()
/external/ppp/pppd/
Dchap-md5.c65 int challenge_len, response_len; in chap_md5_verify_response() local
67 challenge_len = *challenge++; in chap_md5_verify_response()
74 MD5_Update(&ctx, challenge, challenge_len); in chap_md5_verify_response()
94 int challenge_len = *challenge++; in chap_md5_make_response() local
99 MD5_Update(&ctx, challenge, challenge_len); in chap_md5_make_response()
Dchap_ms.c200 int challenge_len, response_len; in chapms_verify_response() local
202 challenge_len = *challenge++; /* skip length, is 8 */ in chapms_verify_response()
236 challenge_len, challenge); in chapms_verify_response()
248 int challenge_len, response_len; in chapms2_verify_response() local
250 challenge_len = *challenge++; /* skip length, is 16 */ in chapms2_verify_response()
313 challenge_len, challenge, "Access denied"); in chapms2_verify_response()
/external/wpa_supplicant_8/src/eap_common/
Dchap.c16 size_t challenge_len, u8 *response) in chap_md5() argument
26 len[2] = challenge_len; in chap_md5()
Dchap.h15 size_t challenge_len, u8 *response);
/external/ppp/pppd/plugins/
Dwinbind.c517 int challenge_len, response_len; in winbind_chap_verify() local
525 challenge_len = *challenge++; in winbind_chap_verify()
580 challenge, challenge_len, in winbind_chap_verify()
595 challenge_len, challenge); in winbind_chap_verify()
644 challenge_len, challenge, error_string); in winbind_chap_verify()
648 challenge_len, challenge, "Access denied"); in winbind_chap_verify()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_ttls.c558 size_t challenge_len, in eap_ttls_process_phase2_chap() argument
565 challenge_len != EAP_TTLS_CHAP_CHALLENGE_LEN || in eap_ttls_process_phase2_chap()
569 (unsigned long) challenge_len, in eap_ttls_process_phase2_chap()
604 challenge, challenge_len, hash); in eap_ttls_process_phase2_chap()
620 u8 *challenge, size_t challenge_len, in eap_ttls_process_phase2_mschap() argument
626 challenge_len != EAP_TTLS_MSCHAP_CHALLENGE_LEN || in eap_ttls_process_phase2_mschap()
630 (unsigned long) challenge_len, in eap_ttls_process_phase2_mschap()
693 size_t challenge_len, in eap_ttls_process_phase2_mschapv2() argument
701 challenge_len != EAP_TTLS_MSCHAPV2_CHALLENGE_LEN || in eap_ttls_process_phase2_mschapv2()
705 (unsigned long) challenge_len, in eap_ttls_process_phase2_mschapv2()
/external/ppp/pppd/plugins/radius/
Dradius.c343 int challenge_len, response_len; in radius_chap_verify() local
352 challenge_len = *challenge++; in radius_chap_verify()
406 challenge, challenge_len, VENDOR_NONE); in radius_chap_verify()
425 challenge, challenge_len, VENDOR_MICROSOFT); in radius_chap_verify()
445 challenge, challenge_len, VENDOR_MICROSOFT); in radius_chap_verify()
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.h69 u8 challenge_len; member
Dieee802_11_common.c243 elems->challenge_len = elen; in ieee802_11_parse_elems()