Lines Matching defs:challenge
78 * @challenge: 8-octet Challenge (OUT)
82 const u8 *username, size_t username_len, u8 *challenge)
97 os_memcpy(challenge, hash, 8);
140 * @challenge: 8-octet Challenge (IN)
145 int challenge_response(const u8 *challenge, const u8 *password_hash,
150 if (des_encrypt(challenge, password_hash, response) < 0 ||
151 des_encrypt(challenge, password_hash + 7, response + 8) < 0)
156 return des_encrypt(challenge, zpwd, response + 16);
176 u8 challenge[8];
180 username_len, challenge) ||
182 challenge_response(challenge, password_hash, response))
204 u8 challenge[8];
208 challenge) ||
209 challenge_response(challenge, password_hash, response))
247 u8 password_hash_hash[16], challenge[8];
258 addr2[1] = challenge;
264 username_len, challenge))
300 * @challenge: 8-octet Challenge (IN)
306 int nt_challenge_response(const u8 *challenge, const u8 *password,
312 challenge_response(challenge, password_hash, response))