Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/target/iscsi/
H A Discsi_target_auth.c219 unsigned char *initiatorchg_binhex = NULL; in chap_server_compute_hash() local
265 initiatorchg_binhex = kzalloc(CHAP_CHALLENGE_STR_LEN, GFP_KERNEL); in chap_server_compute_hash()
266 if (!initiatorchg_binhex) { in chap_server_compute_hash()
420 if (hex2bin(initiatorchg_binhex, initiatorchg, initiatorchg_len) < 0) { in chap_server_compute_hash()
431 !memcmp(initiatorchg_binhex, chap->challenge, in chap_server_compute_hash()
464 ret = crypto_shash_finup(desc, initiatorchg_binhex, initiatorchg_len, in chap_server_compute_hash()
491 kfree(initiatorchg_binhex); in chap_server_compute_hash()