Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/target/iscsi/
Discsi_target_auth.c29 struct iscsi_chap *chap = conn->auth_protocol; in chap_gen_challenge() local
33 ret = get_random_bytes_wait(chap->challenge, CHAP_CHALLENGE_LENGTH); in chap_gen_challenge()
36 bin2hex(challenge_asciihex, chap->challenge, in chap_gen_challenge()
98 struct iscsi_chap *chap; in chap_server_open() local
111 chap = conn->auth_protocol; in chap_server_open()
121 chap->digest_type = CHAP_DIGEST_MD5; in chap_server_open()
122 pr_debug("[server] Sending CHAP_A=%d\n", chap->digest_type); in chap_server_open()
134 chap->id = conn->tpg->tpg_chap_id++; in chap_server_open()
135 *aic_len += sprintf(aic_str + *aic_len, "CHAP_I=%d", chap->id); in chap_server_open()
137 pr_debug("[server] Sending CHAP_I=%d\n", chap->id); in chap_server_open()
[all …]
/Linux-v5.4/drivers/scsi/
Discsi_boot_sysfs.c81 iscsi_boot_rd_attr(tgt_chap, chap-type, ISCSI_BOOT_TGT_CHAP_TYPE);
84 iscsi_boot_rd_attr(tgt_chap_name, chap-name, ISCSI_BOOT_TGT_CHAP_NAME);
85 iscsi_boot_rd_attr(tgt_chap_secret, chap-secret, ISCSI_BOOT_TGT_CHAP_SECRET);
86 iscsi_boot_rd_attr(tgt_chap_rev_name, rev-chap-name,
88 iscsi_boot_rd_attr(tgt_chap_rev_secret, rev-chap-name-secret,
/Linux-v5.4/drivers/scsi/qla4xxx/
Dql4_os.c5808 boot_conn->chap.target_chap_name_length, in qla4xxx_show_boot_tgt_info()
5809 (char *)&boot_conn->chap.target_chap_name); in qla4xxx_show_boot_tgt_info()
5813 boot_conn->chap.target_secret_length, in qla4xxx_show_boot_tgt_info()
5814 (char *)&boot_conn->chap.target_secret); in qla4xxx_show_boot_tgt_info()
5818 boot_conn->chap.intr_chap_name_length, in qla4xxx_show_boot_tgt_info()
5819 (char *)&boot_conn->chap.intr_chap_name); in qla4xxx_show_boot_tgt_info()
5823 boot_conn->chap.intr_secret_length, in qla4xxx_show_boot_tgt_info()
5824 (char *)&boot_conn->chap.intr_secret); in qla4xxx_show_boot_tgt_info()
6101 ret = qla4xxx_get_chap(ha, (char *)&boot_conn->chap. in qla4xxx_get_boot_target()
6103 (char *)&boot_conn->chap.target_secret, in qla4xxx_get_boot_target()
[all …]
Dql4_def.h533 struct ql4_chap_format chap; member
/Linux-v5.4/drivers/scsi/be2iscsi/
Dbe_main.c4964 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
4967 auth_data.chap.target_chap_name); in beiscsi_show_boot_tgt_info()
4971 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
4974 auth_data.chap.target_secret); in beiscsi_show_boot_tgt_info()
4978 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
4981 auth_data.chap.intr_chap_name); in beiscsi_show_boot_tgt_info()
4985 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
4988 auth_data.chap.intr_secret); in beiscsi_show_boot_tgt_info()
Dbe_cmds.h348 struct mgmt_chap_format chap; member