Home
last modified time | relevance | path

Searched refs:CHAP_CHALLENGE_LENGTH (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/target/iscsi/
Discsi_target_auth.h11 #define CHAP_CHALLENGE_LENGTH 16 macro
33 unsigned char challenge[CHAP_CHALLENGE_LENGTH];
Discsi_target_auth.c36 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()