Home
last modified time | relevance | path

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

/dports/multimedia/libv4l/linux-5.13-rc2/drivers/target/iscsi/
H A Discsi_target_auth.c224 unsigned char chap_n[MAX_CHAP_N_SIZE], chap_r[MAX_RESPONSE_LENGTH]; in chap_server_compute_hash() local
256 memset(chap_n, 0, MAX_CHAP_N_SIZE); in chap_server_compute_hash()
273 if (extract_param(nr_in_ptr, "CHAP_N", MAX_CHAP_N_SIZE, chap_n, in chap_server_compute_hash()
285 if (strncmp(chap_n, auth->userid, compare_len) != 0) { in chap_server_compute_hash()
289 pr_debug("[server] Got CHAP_N=%s\n", chap_n); in chap_server_compute_hash()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/target/iscsi/
H A Discsi_target_auth.c224 unsigned char chap_n[MAX_CHAP_N_SIZE], chap_r[MAX_RESPONSE_LENGTH]; in chap_server_compute_hash() local
256 memset(chap_n, 0, MAX_CHAP_N_SIZE); in chap_server_compute_hash()
273 if (extract_param(nr_in_ptr, "CHAP_N", MAX_CHAP_N_SIZE, chap_n, in chap_server_compute_hash()
285 if (strncmp(chap_n, auth->userid, compare_len) != 0) { in chap_server_compute_hash()
289 pr_debug("[server] Got CHAP_N=%s\n", chap_n); in chap_server_compute_hash()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/target/iscsi/
H A Discsi_target_auth.c224 unsigned char chap_n[MAX_CHAP_N_SIZE], chap_r[MAX_RESPONSE_LENGTH]; in chap_server_compute_hash() local
256 memset(chap_n, 0, MAX_CHAP_N_SIZE); in chap_server_compute_hash()
273 if (extract_param(nr_in_ptr, "CHAP_N", MAX_CHAP_N_SIZE, chap_n, in chap_server_compute_hash()
285 if (strncmp(chap_n, auth->userid, compare_len) != 0) { in chap_server_compute_hash()
289 pr_debug("[server] Got CHAP_N=%s\n", chap_n); in chap_server_compute_hash()
/dports/net/istgt/istgt-20150713/src/
H A Distgt_lu_ctl.c238 char *chap_n; in istgt_uctl_cmd_auth() local
305 chap_n = strsepq(&arg, delim); in istgt_uctl_cmd_auth()
307 if (chap_n == NULL || chap_r == NULL) { in istgt_uctl_cmd_auth()
319 rc = istgt_uctl_get_authinfo(uctl, chap_n); in istgt_uctl_cmd_auth()
321 ISTGT_ERRLOG("auth failed (user %.64s)\n", chap_n); in istgt_uctl_cmd_auth()
326 ISTGT_ERRLOG("auth failed (user %.64s)\n", chap_n); in istgt_uctl_cmd_auth()
346 ISTGT_ERRLOG("auth failed (user %.64s)\n", chap_n); in istgt_uctl_cmd_auth()
369 ISTGT_ERRLOG("auth failed (user %.64s)\n", chap_n); in istgt_uctl_cmd_auth()
H A Distgtcontrol.c621 char *chap_n; in do_auth() local
749 chap_n = strsepq(&arg, delim); in do_auth()
751 if (label == NULL || chap_n == NULL || chap_r == NULL) { in do_auth()