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