Home
last modified time | relevance | path

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

/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_auth.c44 unsigned char *challenge_asciihex; in chap_gen_challenge() local
47 challenge_asciihex = kzalloc(chap->challenge_len * 2 + 1, GFP_KERNEL); in chap_gen_challenge()
48 if (!challenge_asciihex) in chap_gen_challenge()
57 bin2hex(challenge_asciihex, chap->challenge, in chap_gen_challenge()
62 *c_len += sprintf(c_str + *c_len, "CHAP_C=0x%s", challenge_asciihex); in chap_gen_challenge()
66 challenge_asciihex); in chap_gen_challenge()
69 kfree(challenge_asciihex); in chap_gen_challenge()