Lines Matching defs:challenge
334 return eap_server_tls_derive_key(sm, &data->ssl, "ttls challenge",
558 const u8 *challenge,
565 if (challenge == NULL || password == NULL ||
569 "(challenge len %lu password len %lu)",
588 "challenge from TLS data");
593 if (os_memcmp_const(challenge, chal, EAP_TTLS_CHAP_CHALLENGE_LEN)
605 challenge, challenge_len, hash);
621 u8 *challenge, size_t challenge_len,
626 if (challenge == NULL || response == NULL ||
630 "attributes (challenge len %lu response len %lu)",
649 "challenge from TLS data");
657 challenge, response + 2 + 24);
660 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAP_CHALLENGE_LEN)
671 challenge_response(challenge, sm->user->password, nt_response)) ||
673 nt_challenge_response(challenge, sm->user->password,
696 u8 *challenge,
704 if (challenge == NULL || response == NULL ||
708 "attributes (challenge len %lu response len %lu)",
731 * challenge-response calculation, so remove domain prefix
747 "challenge from TLS data");
752 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAPV2_CHALLENGE_LEN)
762 auth_challenge = challenge;