Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/target/iscsi/
Discsi_target_auth.c172 unsigned char chap_n[MAX_CHAP_N_SIZE], chap_r[MAX_RESPONSE_LENGTH]; in chap_server_compute_md5() local
181 memset(chap_r, 0, MAX_RESPONSE_LENGTH); in chap_server_compute_md5()
221 if (extract_param(nr_in_ptr, "CHAP_R", MAX_RESPONSE_LENGTH, chap_r, in chap_server_compute_md5()
230 if (strlen(chap_r) != MD5_SIGNATURE_SIZE * 2) { in chap_server_compute_md5()
234 if (hex2bin(client_digest, chap_r, MD5_SIGNATURE_SIZE) < 0) { in chap_server_compute_md5()
239 pr_debug("[server] Got CHAP_R=%s\n", chap_r); in chap_server_compute_md5()