Lines Matching defs:challenge
334 return eap_server_tls_derive_key(sm, &data->ssl, "ttls challenge",
556 const u8 *challenge,
563 if (challenge == NULL || password == NULL ||
567 "(challenge len %lu password len %lu)",
586 "challenge from TLS data");
591 if (os_memcmp_const(challenge, chal, EAP_TTLS_CHAP_CHALLENGE_LEN)
603 challenge, challenge_len, hash);
619 u8 *challenge, size_t challenge_len,
624 if (challenge == NULL || response == NULL ||
628 "attributes (challenge len %lu response len %lu)",
647 "challenge from TLS data");
655 challenge, response + 2 + 24);
658 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAP_CHALLENGE_LEN)
669 challenge_response(challenge, sm->user->password, nt_response)) ||
671 nt_challenge_response(challenge, sm->user->password,
694 u8 *challenge,
702 if (challenge == NULL || response == NULL ||
706 "attributes (challenge len %lu response len %lu)",
729 * challenge-response calculation, so remove domain prefix
745 "challenge from TLS data");
750 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAPV2_CHALLENGE_LEN)
760 auth_challenge = challenge;