Home
last modified time | relevance | path

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

/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_auth.c254 unsigned char *client_digest = NULL; in chap_server_compute_hash() local
275 client_digest = kzalloc(chap->digest_size, GFP_KERNEL); in chap_server_compute_hash()
276 if (!client_digest) { in chap_server_compute_hash()
337 if (hex2bin(client_digest, chap_r, chap->digest_size) < 0) { in chap_server_compute_hash()
343 if (chap_base64_decode(client_digest, chap_r, strlen(chap_r)) != in chap_server_compute_hash()
401 if (memcmp(server_digest, client_digest, chap->digest_size) != 0) { in chap_server_compute_hash()
567 kfree(client_digest); in chap_server_compute_hash()