Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/target/iscsi/
Discsi_target_auth.c37 struct iscsi_chap *chap = conn->auth_protocol; in chap_gen_challenge() local
41 ret = get_random_bytes_wait(chap->challenge, CHAP_CHALLENGE_LENGTH); in chap_gen_challenge()
44 bin2hex(challenge_asciihex, chap->challenge, in chap_gen_challenge()
100 struct iscsi_chap *chap; in chap_server_open() local
113 chap = conn->auth_protocol; in chap_server_open()
123 chap->digest_type = CHAP_DIGEST_MD5; in chap_server_open()
124 pr_debug("[server] Sending CHAP_A=%d\n", chap->digest_type); in chap_server_open()
136 chap->id = conn->tpg->tpg_chap_id++; in chap_server_open()
137 *aic_len += sprintf(aic_str + *aic_len, "CHAP_I=%d", chap->id); in chap_server_open()
139 pr_debug("[server] Sending CHAP_I=%d\n", chap->id); in chap_server_open()
[all …]
/Linux-v4.19/drivers/scsi/
Discsi_boot_sysfs.c89 iscsi_boot_rd_attr(tgt_chap, chap-type, ISCSI_BOOT_TGT_CHAP_TYPE);
92 iscsi_boot_rd_attr(tgt_chap_name, chap-name, ISCSI_BOOT_TGT_CHAP_NAME);
93 iscsi_boot_rd_attr(tgt_chap_secret, chap-secret, ISCSI_BOOT_TGT_CHAP_SECRET);
94 iscsi_boot_rd_attr(tgt_chap_rev_name, rev-chap-name,
96 iscsi_boot_rd_attr(tgt_chap_rev_secret, rev-chap-name-secret,
/Linux-v4.19/drivers/scsi/qla4xxx/
Dql4_os.c5811 boot_conn->chap.target_chap_name_length, in qla4xxx_show_boot_tgt_info()
5812 (char *)&boot_conn->chap.target_chap_name); in qla4xxx_show_boot_tgt_info()
5816 boot_conn->chap.target_secret_length, in qla4xxx_show_boot_tgt_info()
5817 (char *)&boot_conn->chap.target_secret); in qla4xxx_show_boot_tgt_info()
5821 boot_conn->chap.intr_chap_name_length, in qla4xxx_show_boot_tgt_info()
5822 (char *)&boot_conn->chap.intr_chap_name); in qla4xxx_show_boot_tgt_info()
5826 boot_conn->chap.intr_secret_length, in qla4xxx_show_boot_tgt_info()
5827 (char *)&boot_conn->chap.intr_secret); in qla4xxx_show_boot_tgt_info()
6104 ret = qla4xxx_get_chap(ha, (char *)&boot_conn->chap. in qla4xxx_get_boot_target()
6106 (char *)&boot_conn->chap.target_secret, in qla4xxx_get_boot_target()
[all …]
Dql4_def.h533 struct ql4_chap_format chap; member
/Linux-v4.19/drivers/scsi/be2iscsi/
Dbe_main.c4982 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
4985 auth_data.chap.target_chap_name); in beiscsi_show_boot_tgt_info()
4989 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
4992 auth_data.chap.target_secret); in beiscsi_show_boot_tgt_info()
4996 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
4999 auth_data.chap.intr_chap_name); in beiscsi_show_boot_tgt_info()
5003 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
5006 auth_data.chap.intr_secret); in beiscsi_show_boot_tgt_info()
Dbe_cmds.h353 struct mgmt_chap_format chap; member