Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/target/iscsi/
Discsi_target_auth.c85 struct iscsi_chap *chap = conn->auth_protocol; in chap_gen_challenge() local
89 chap_set_random(chap->challenge, CHAP_CHALLENGE_LENGTH); in chap_gen_challenge()
90 chap_binaryhex_to_asciihex(challenge_asciihex, chap->challenge, in chap_gen_challenge()
110 struct iscsi_chap *chap; in chap_server_open() local
123 chap = conn->auth_protocol; in chap_server_open()
137 chap->digest_type = CHAP_DIGEST_MD5; in chap_server_open()
138 pr_debug("[server] Sending CHAP_A=%d\n", chap->digest_type); in chap_server_open()
142 chap->id = ISCSI_TPG_C(conn)->tpg_chap_id++; in chap_server_open()
143 *aic_len += sprintf(aic_str + *aic_len, "CHAP_I=%d", chap->id); in chap_server_open()
145 pr_debug("[server] Sending CHAP_I=%d\n", chap->id); in chap_server_open()
[all …]
/linux-3.4.99/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-3.4.99/include/linux/
Dwanrouter.h412 char chap; /* CHAP enabled or disabled */ member
/linux-3.4.99/drivers/scsi/qla4xxx/
Dql4_os.c3715 boot_conn->chap.target_chap_name_length, in qla4xxx_show_boot_tgt_info()
3716 (char *)&boot_conn->chap.target_chap_name); in qla4xxx_show_boot_tgt_info()
3720 boot_conn->chap.target_secret_length, in qla4xxx_show_boot_tgt_info()
3721 (char *)&boot_conn->chap.target_secret); in qla4xxx_show_boot_tgt_info()
3725 boot_conn->chap.intr_chap_name_length, in qla4xxx_show_boot_tgt_info()
3726 (char *)&boot_conn->chap.intr_chap_name); in qla4xxx_show_boot_tgt_info()
3730 boot_conn->chap.intr_secret_length, in qla4xxx_show_boot_tgt_info()
3731 (char *)&boot_conn->chap.intr_secret); in qla4xxx_show_boot_tgt_info()
4008 ret = qla4xxx_get_chap(ha, (char *)&boot_conn->chap. in qla4xxx_get_boot_target()
4010 (char *)&boot_conn->chap.target_secret, in qla4xxx_get_boot_target()
[all …]
Dql4_def.h450 struct ql4_chap_format chap; member
/linux-3.4.99/drivers/scsi/be2iscsi/
Dbe_main.c244 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
247 auth_data.chap.target_chap_name); in beiscsi_show_boot_tgt_info()
251 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
254 auth_data.chap.target_secret); in beiscsi_show_boot_tgt_info()
258 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
261 auth_data.chap.intr_chap_name); in beiscsi_show_boot_tgt_info()
265 boot_conn->negotiated_login_options.auth_data.chap. in beiscsi_show_boot_tgt_info()
268 auth_data.chap.intr_secret); in beiscsi_show_boot_tgt_info()
Dbe_cmds.h262 struct mgmt_chap_format chap; member