Searched refs:chap_n (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 288 memset(chap_n, 0, MAX_CHAP_N_SIZE); in chap_server_compute_hash() 305 if (extract_param(nr_in_ptr, "CHAP_N", MAX_CHAP_N_SIZE, chap_n, in chap_server_compute_hash() 317 if (strncmp(chap_n, auth->userid, compare_len) != 0) { in chap_server_compute_hash() 321 pr_debug("[server] Got CHAP_N=%s\n", chap_n); in chap_server_compute_hash()
|