Searched refs:CHAP_CHALLENGE_LENGTH (Results 1 – 2 of 2) sorted by relevance
11 #define CHAP_CHALLENGE_LENGTH 16 macro33 unsigned char challenge[CHAP_CHALLENGE_LENGTH];
36 unsigned char challenge_asciihex[CHAP_CHALLENGE_LENGTH * 2 + 1]; in chap_gen_challenge()39 memset(challenge_asciihex, 0, CHAP_CHALLENGE_LENGTH * 2 + 1); in chap_gen_challenge()41 ret = get_random_bytes_wait(chap->challenge, CHAP_CHALLENGE_LENGTH); in chap_gen_challenge()45 CHAP_CHALLENGE_LENGTH); in chap_gen_challenge()277 CHAP_CHALLENGE_LENGTH, server_digest); in chap_server_compute_md5()357 if (!memcmp(challenge_binhex, chap->challenge, CHAP_CHALLENGE_LENGTH)) { in chap_server_compute_md5()