Lines Matching full:challenge
51 memset(chap->challenge, 0, MAX_CHAP_CHALLENGE_LEN); in chap_gen_challenge()
53 ret = get_random_bytes_wait(chap->challenge, chap->challenge_len); in chap_gen_challenge()
57 bin2hex(challenge_asciihex, chap->challenge, in chap_gen_challenge()
60 * Set CHAP_C, and copy the generated challenge into c_str. in chap_gen_challenge()
182 /* Tie the challenge length to the digest size */ in chap_server_open()
198 * Generate Challenge. in chap_server_open()
261 pr_err("Unable to allocate challenge buffer\n"); in chap_server_compute_hash()
347 ret = crypto_shash_finup(desc, chap->challenge, in chap_server_compute_hash()
350 pr_err("crypto_shash_finup() failed for challenge\n"); in chap_server_compute_hash()
413 pr_err("Unable to convert incoming challenge\n"); in chap_server_compute_hash()
431 !memcmp(initiatorchg_binhex, chap->challenge, in chap_server_compute_hash()
462 * Convert received challenge to binary hex. in chap_server_compute_hash()
467 pr_err("crypto_shash_finup() failed for ma challenge\n"); in chap_server_compute_hash()