Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/target/iscsi/
Discsi_target_auth.c169 unsigned char *challenge_binhex = NULL; in chap_server_compute_md5() local
193 challenge_binhex = kzalloc(CHAP_CHALLENGE_STR_LEN, GFP_KERNEL); in chap_server_compute_md5()
194 if (!challenge_binhex) { in chap_server_compute_md5()
347 if (hex2bin(challenge_binhex, challenge, challenge_len) < 0) { in chap_server_compute_md5()
357 if (!memcmp(challenge_binhex, chap->challenge, CHAP_CHALLENGE_LENGTH)) { in chap_server_compute_md5()
389 ret = crypto_shash_finup(desc, challenge_binhex, challenge_len, in chap_server_compute_md5()
416 kfree(challenge_binhex); in chap_server_compute_md5()