Searched refs:chap_r (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/target/iscsi/ |
H A D | iscsi_target_auth.c | 256 unsigned char chap_n[MAX_CHAP_N_SIZE], chap_r[MAX_RESPONSE_LENGTH]; in chap_server_compute_hash() local 289 memset(chap_r, 0, MAX_RESPONSE_LENGTH); in chap_server_compute_hash() 325 if (extract_param(nr_in_ptr, "CHAP_R", MAX_RESPONSE_LENGTH, chap_r, in chap_server_compute_hash() 333 if (strlen(chap_r) != chap->digest_size * 2) { 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() 354 pr_debug("[server] Got CHAP_R=%s\n", chap_r); in chap_server_compute_hash()
|