Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/target/iscsi/
Discsi_target_auth.c57 struct iscsi_chap *chap = conn->auth_protocol; in chap_gen_challenge() local
61 get_random_bytes(chap->challenge, CHAP_CHALLENGE_LENGTH); in chap_gen_challenge()
62 chap_binaryhex_to_asciihex(challenge_asciihex, chap->challenge, in chap_gen_challenge()
117 struct iscsi_chap *chap; in chap_server_open() local
130 chap = conn->auth_protocol; in chap_server_open()
140 chap->digest_type = CHAP_DIGEST_MD5; in chap_server_open()
141 pr_debug("[server] Sending CHAP_A=%d\n", chap->digest_type); in chap_server_open()
152 chap->id = conn->tpg->tpg_chap_id++; in chap_server_open()
153 *aic_len += sprintf(aic_str + *aic_len, "CHAP_I=%d", chap->id); in chap_server_open()
155 pr_debug("[server] Sending CHAP_I=%d\n", chap->id); in chap_server_open()
[all …]
/linux-4.4.14/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-4.4.14/drivers/scsi/qla4xxx/
Dql4_os.c5797 boot_conn->chap.target_chap_name_length, in qla4xxx_show_boot_tgt_info()
5798 (char *)&boot_conn->chap.target_chap_name); in qla4xxx_show_boot_tgt_info()
5802 boot_conn->chap.target_secret_length, in qla4xxx_show_boot_tgt_info()
5803 (char *)&boot_conn->chap.target_secret); in qla4xxx_show_boot_tgt_info()
5807 boot_conn->chap.intr_chap_name_length, in qla4xxx_show_boot_tgt_info()
5808 (char *)&boot_conn->chap.intr_chap_name); in qla4xxx_show_boot_tgt_info()
5812 boot_conn->chap.intr_secret_length, in qla4xxx_show_boot_tgt_info()
5813 (char *)&boot_conn->chap.intr_secret); in qla4xxx_show_boot_tgt_info()
6090 ret = qla4xxx_get_chap(ha, (char *)&boot_conn->chap. in qla4xxx_get_boot_target()
6092 (char *)&boot_conn->chap.target_secret, in qla4xxx_get_boot_target()
[all …]
Dql4_def.h543 struct ql4_chap_format chap; member
/linux-4.4.14/drivers/scsi/be2iscsi/
Dbe_main.c404 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
407 auth_data.chap.target_chap_name); in beiscsi_show_boot_tgt_info()
411 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
414 auth_data.chap.target_secret); in beiscsi_show_boot_tgt_info()
418 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
421 auth_data.chap.intr_chap_name); in beiscsi_show_boot_tgt_info()
425 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
428 auth_data.chap.intr_secret); in beiscsi_show_boot_tgt_info()
Dbe_cmds.h304 struct mgmt_chap_format chap; member