Home
last modified time | relevance | path

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

/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_auth.c255 unsigned char *server_digest = NULL; in chap_server_compute_hash() local
281 server_digest = kzalloc(chap->digest_size, GFP_KERNEL); in chap_server_compute_hash()
282 if (!server_digest) { in chap_server_compute_hash()
391 chap->challenge_len, server_digest); in chap_server_compute_hash()
397 bin2hex(response, server_digest, chap->digest_size); in chap_server_compute_hash()
401 if (memcmp(server_digest, client_digest, chap->digest_size) != 0) { in chap_server_compute_hash()
566 kfree(server_digest); in chap_server_compute_hash()