Home | History | Annotate | Download | only in eap_server

Lines Matching refs:chal

681 	u8 *chal, hash[CHAP_MD5_LEN];
702 chal = eap_ttls_implicit_challenge(sm, data,
704 if (chal == NULL) {
711 if (os_memcmp(challenge, chal, EAP_TTLS_CHAP_CHALLENGE_LEN) != 0 ||
712 password[0] != chal[EAP_TTLS_CHAP_CHALLENGE_LEN]) {
714 os_free(chal);
718 os_free(chal);
740 u8 *chal, nt_response[24];
761 chal = eap_ttls_implicit_challenge(sm, data,
763 if (chal == NULL) {
770 if (os_memcmp(challenge, chal, EAP_TTLS_MSCHAP_CHALLENGE_LEN) != 0 ||
771 response[0] != chal[EAP_TTLS_MSCHAP_CHALLENGE_LEN]) {
773 os_free(chal);
777 os_free(chal);
806 u8 *chal, *username, nt_response[24], *rx_resp, *peer_challenge,
842 chal = eap_ttls_implicit_challenge(
844 if (chal == NULL) {
851 if (os_memcmp(challenge, chal, EAP_TTLS_MSCHAPV2_CHALLENGE_LEN) != 0 ||
852 response[0] != chal[EAP_TTLS_MSCHAPV2_CHALLENGE_LEN]) {
854 os_free(chal);
858 os_free(chal);