Lines Matching refs:chal

563 	u8 *chal, hash[CHAP_MD5_LEN];  in eap_ttls_process_phase2_chap()  local
584 chal = eap_ttls_implicit_challenge(sm, data, in eap_ttls_process_phase2_chap()
586 if (chal == NULL) { in eap_ttls_process_phase2_chap()
593 if (os_memcmp_const(challenge, chal, EAP_TTLS_CHAP_CHALLENGE_LEN) in eap_ttls_process_phase2_chap()
595 password[0] != chal[EAP_TTLS_CHAP_CHALLENGE_LEN]) { in eap_ttls_process_phase2_chap()
597 os_free(chal); in eap_ttls_process_phase2_chap()
601 os_free(chal); in eap_ttls_process_phase2_chap()
624 u8 *chal, nt_response[24]; in eap_ttls_process_phase2_mschap() local
645 chal = eap_ttls_implicit_challenge(sm, data, in eap_ttls_process_phase2_mschap()
647 if (chal == NULL) { in eap_ttls_process_phase2_mschap()
660 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAP_CHALLENGE_LEN) in eap_ttls_process_phase2_mschap()
662 response[0] != chal[EAP_TTLS_MSCHAP_CHALLENGE_LEN]) { in eap_ttls_process_phase2_mschap()
664 os_free(chal); in eap_ttls_process_phase2_mschap()
668 os_free(chal); in eap_ttls_process_phase2_mschap()
700 u8 *chal, *username, nt_response[24], *rx_resp, *peer_challenge, in eap_ttls_process_phase2_mschapv2() local
743 chal = eap_ttls_implicit_challenge( in eap_ttls_process_phase2_mschapv2()
745 if (chal == NULL) { in eap_ttls_process_phase2_mschapv2()
752 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAPV2_CHALLENGE_LEN) in eap_ttls_process_phase2_mschapv2()
754 response[0] != chal[EAP_TTLS_MSCHAPV2_CHALLENGE_LEN]) { in eap_ttls_process_phase2_mschapv2()
756 os_free(chal); in eap_ttls_process_phase2_mschapv2()
760 os_free(chal); in eap_ttls_process_phase2_mschapv2()