Home
last modified time | relevance | path

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

/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_md5.c42 size_t len, challenge_len, password_len; in eap_md5_process() local
64 challenge_len = *pos++; in eap_md5_process()
65 if (challenge_len == 0 || challenge_len > len - 1) { in eap_md5_process()
68 (unsigned long) challenge_len, (unsigned long) len); in eap_md5_process()
75 challenge, challenge_len); in eap_md5_process()
95 chap_md5(id, password, password_len, challenge, challenge_len, rpos); in eap_md5_process()
Deap_leap.c71 u8 challenge_len, *rpos; in eap_leap_process_request() local
99 challenge_len = *pos++; in eap_leap_process_request()
100 if (challenge_len != LEAP_CHALLENGE_LEN || challenge_len > len - 3) { in eap_leap_process_request()
103 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/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_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()
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()
/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.c201 int challenge_len, response_len; in chapms_verify_response() local
203 challenge_len = *challenge++; /* skip length, is 8 */ in chapms_verify_response()
238 challenge_len, challenge); in chapms_verify_response()
251 int challenge_len, response_len; in chapms2_verify_response() local
253 challenge_len = *challenge++; /* skip length, is 16 */ in chapms2_verify_response()
317 challenge_len, challenge, "Access denied"); in chapms2_verify_response()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
Dchap.c23 size_t challenge_len, u8 *response) in chap_md5() argument
33 len[2] = challenge_len; in chap_md5()
Dchap.h21 size_t challenge_len, u8 *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.c523 int challenge_len, response_len; in winbind_chap_verify() local
531 challenge_len = *challenge++; in winbind_chap_verify()
588 challenge_len, in winbind_chap_verify()
605 challenge_len, challenge); in winbind_chap_verify()
656 challenge_len, challenge, error_string); in winbind_chap_verify()
660 challenge_len, challenge, "Access denied"); in winbind_chap_verify()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_ttls.c527 size_t challenge_len, in eap_ttls_process_phase2_chap() argument
534 challenge_len != EAP_TTLS_CHAP_CHALLENGE_LEN || in eap_ttls_process_phase2_chap()
538 (unsigned long) challenge_len, in eap_ttls_process_phase2_chap()
572 challenge, challenge_len, hash); in eap_ttls_process_phase2_chap()
586 u8 *challenge, size_t challenge_len, in eap_ttls_process_phase2_mschap() argument
592 challenge_len != EAP_TTLS_MSCHAP_CHALLENGE_LEN || in eap_ttls_process_phase2_mschap()
596 (unsigned long) challenge_len, in eap_ttls_process_phase2_mschap()
651 size_t challenge_len, in eap_ttls_process_phase2_mschapv2() argument
659 challenge_len != EAP_TTLS_MSCHAPV2_CHALLENGE_LEN || in eap_ttls_process_phase2_mschapv2()
663 (unsigned long) challenge_len, in eap_ttls_process_phase2_mschapv2()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_ttls.c677 size_t challenge_len, in eap_ttls_process_phase2_chap() argument
684 challenge_len != EAP_TTLS_CHAP_CHALLENGE_LEN || in eap_ttls_process_phase2_chap()
688 (unsigned long) challenge_len, in eap_ttls_process_phase2_chap()
722 challenge, challenge_len, hash); in eap_ttls_process_phase2_chap()
737 u8 *challenge, size_t challenge_len, in eap_ttls_process_phase2_mschap() argument
743 challenge_len != EAP_TTLS_MSCHAP_CHALLENGE_LEN || in eap_ttls_process_phase2_mschap()
747 (unsigned long) challenge_len, in eap_ttls_process_phase2_mschap()
803 size_t challenge_len, in eap_ttls_process_phase2_mschapv2() argument
811 challenge_len != EAP_TTLS_MSCHAPV2_CHALLENGE_LEN || in eap_ttls_process_phase2_mschapv2()
815 (unsigned long) challenge_len, in eap_ttls_process_phase2_mschapv2()
/external/wpa_supplicant_6/wpa_supplicant/src/common/
Dieee802_11_common.h35 u8 challenge_len; member
Dieee802_11_common.c193 elems->challenge_len = elen; in ieee802_11_parse_elems()
/external/ppp/pppd/plugins/radius/
Dradius.c341 int challenge_len, response_len; in radius_chap_verify() local
350 challenge_len = *challenge++; in radius_chap_verify()
404 challenge, challenge_len, VENDOR_NONE); in radius_chap_verify()
427 challenge, challenge_len, VENDOR_MICROSOFT); in radius_chap_verify()
452 challenge, challenge_len, VENDOR_MICROSOFT); in radius_chap_verify()
/external/wpa_supplicant_8/src/common/
Dieee802_11_common.h54 u8 challenge_len; member
Dieee802_11_common.c213 elems->challenge_len = elen; in ieee802_11_parse_elems()
/external/wpa_supplicant_6/wpa_supplicant/
Dmlme.c758 elems.challenge_len + 2, 1); in ieee80211_auth_challenge()