Home
last modified time | relevance | path

Searched refs:auth_type (Results 1 – 25 of 35) sorted by relevance

12

/linux/drivers/nvme/target/
H A Dfabrics-cmd-auth.c283 ctrl->cntlid, req->sq->qid, data->auth_type, data->auth_id, in nvmet_execute_auth_send()
285 if (data->auth_type != NVME_AUTH_COMMON_MESSAGES && in nvmet_execute_auth_send()
286 data->auth_type != NVME_AUTH_DHCHAP_MESSAGES) in nvmet_execute_auth_send()
288 if (data->auth_type == NVME_AUTH_COMMON_MESSAGES) { in nvmet_execute_auth_send()
423 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvmet_auth_challenge()
454 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvmet_auth_success1()
478 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvmet_auth_failure1()
/linux/drivers/staging/greybus/
H A Dauthentication.c143 static int cap_authenticate(struct gb_cap *cap, u32 auth_type, u8 *uid, in cap_authenticate() argument
162 request->auth_type = cpu_to_le32(auth_type); in cap_authenticate()
247 ret = cap_authenticate(cap, authenticate->auth_type, in cap_ioctl()
H A Dgreybus_authentication.h59 __u32 auth_type; member
/linux/drivers/nvme/host/
H A Dauth.c99 __func__, qid, data->auth_type, data->auth_id); in nvme_auth_receive_validate()
101 if (data->auth_type == NVME_AUTH_COMMON_MESSAGES && in nvme_auth_receive_validate()
105 if (data->auth_type != NVME_AUTH_DHCHAP_MESSAGES || in nvme_auth_receive_validate()
109 qid, data->auth_type, data->auth_id); in nvme_auth_receive_validate()
134 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvme_auth_set_dhchap_negotiate_data()
299 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvme_auth_set_dhchap_reply_data()
391 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvme_auth_set_dhchap_success2_data()
405 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvme_auth_set_dhchap_failure2_data()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Duap_cmd.c32 switch (params->auth_type) { in mwifiex_set_secure_params()
476 struct host_cmd_tlv_auth_type *auth_type; in mwifiex_uap_bss_param_prepare() local
605 auth_type = (struct host_cmd_tlv_auth_type *)tlv; in mwifiex_uap_bss_param_prepare()
606 auth_type->header.type = cpu_to_le16(TLV_TYPE_AUTH_TYPE); in mwifiex_uap_bss_param_prepare()
607 auth_type->header.len = in mwifiex_uap_bss_param_prepare()
610 auth_type->auth_type = (u8)bss_cfg->auth_mode; in mwifiex_uap_bss_param_prepare()
H A Djoin.c456 auth_tlv->header.len = cpu_to_le16(sizeof(auth_tlv->auth_type)); in mwifiex_cmd_802_11_associate()
458 auth_tlv->auth_type = cpu_to_le16( in mwifiex_cmd_802_11_associate()
461 auth_tlv->auth_type = cpu_to_le16(NL80211_AUTHTYPE_OPEN_SYSTEM); in mwifiex_cmd_802_11_associate()
466 auth_tlv->auth_type = cpu_to_le16(MWIFIEX_AUTHTYPE_SAE); in mwifiex_cmd_802_11_associate()
H A Dcfg80211.c2272 int ret, auth_type = 0; in mwifiex_cfg80211_assoc() local
2328 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in mwifiex_cfg80211_assoc()
2329 auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in mwifiex_cfg80211_assoc()
2332 auth_type = sme->auth_type; in mwifiex_cfg80211_assoc()
2338 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc()
2343 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc()
4314 switch (req->auth_type) { in mwifiex_cfg80211_authenticate()
4332 "unsupported auth type=%d\n", req->auth_type); in mwifiex_cfg80211_authenticate()
4390 if (req->auth_type == NL80211_AUTHTYPE_SAE) { in mwifiex_cfg80211_authenticate()
H A Dfw.h932 __le16 auth_type; member
2014 u8 auth_type; member
/linux/net/wireless/
H A Dsme.c175 auth_req.auth_type = params->auth_type; in cfg80211_conn_do_work()
352 wdev->conn->params.auth_type != NL80211_AUTHTYPE_NETWORK_EAP) { in cfg80211_sme_rx_auth()
354 switch (wdev->conn->params.auth_type) { in cfg80211_sme_rx_auth()
357 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
360 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
364 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
369 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
595 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect()
598 wdev->conn->params.auth_type in cfg80211_sme_connect()
[all...]
H A Dtrace.h700 __field(enum nl80211_auth_type, auth_type)
713 __entry->auth_type = settings->auth_type;
726 BOOL_TO_STR(__entry->privacy), __entry->auth_type,
1395 __field(enum nl80211_auth_type, auth_type)
1404 __entry->auth_type = req->auth_type;
1407 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->auth_type,
1562 __field(enum nl80211_auth_type, auth_type)
1574 __entry->auth_type
[all...]
H A Dwext-compat.c943 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in cfg80211_set_auth_alg()
948 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_SHARED_KEY; in cfg80211_set_auth_alg()
953 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_NETWORK_EAP; in cfg80211_set_auth_alg()
957 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in cfg80211_set_auth_alg()
H A Dnl80211.c6738 enum nl80211_auth_type auth_type, in nl80211_valid_auth_type() argument
6741 if (auth_type > NL80211_AUTHTYPE_MAX) in nl80211_valid_auth_type()
6747 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
6751 (auth_type == NL80211_AUTHTYPE_FILS_SK || in nl80211_valid_auth_type()
6752 auth_type == NL80211_AUTHTYPE_FILS_SK_PFS || in nl80211_valid_auth_type()
6753 auth_type == NL80211_AUTHTYPE_FILS_PK)) in nl80211_valid_auth_type()
6757 auth_type == NL80211_AUTHTYPE_EPPKE) in nl80211_valid_auth_type()
6761 auth_type == NL80211_AUTHTYPE_IEEE8021X) in nl80211_valid_auth_type()
6768 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
6772 if (auth_type == NL80211_AUTHTYPE_FILS_SK_PFS || in nl80211_valid_auth_type()
[all …]
/linux/net/bluetooth/
H A Dhci_conn.c1050 conn->auth_type = HCI_AT_GENERAL_BONDING; in __hci_conn_add()
1745 u8 sec_level, u8 auth_type, in hci_connect_acl() argument
1782 acl->auth_type = auth_type; in hci_connect_acl()
2522 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) in hci_conn_auth() argument
2535 auth_type |= (conn->auth_type & 0x01); in hci_conn_auth()
2537 conn->auth_type = auth_type; in hci_conn_auth()
2571 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, in hci_conn_security() argument
2635 if (!hci_conn_auth(conn, sec_level, auth_type)) in hci_conn_security()
2853 req.type = conn->auth_type; in hci_get_auth_info()
H A Dhci_event.c2387 if (!hci_conn_ssp_enabled(conn) && !(conn->auth_type & 0x01) && in hci_outgoing_auth_needed()
4696 conn->auth_type != 0xff && (conn->auth_type & 0x01)) { in hci_link_key_request_evt()
5248 return conn->remote_auth | (conn->auth_type & 0x01); in hci_get_auth_req()
5258 return (conn->remote_auth & ~0x01) | (conn->auth_type & 0x01); in hci_get_auth_req()
5345 conn->auth_type != HCI_AT_NO_BONDING) in hci_io_capa_request_evt()
5346 conn->auth_type |= 0x01; in hci_io_capa_request_evt()
5348 conn->auth_type = hci_get_auth_req(conn); in hci_io_capa_request_evt()
5355 conn->auth_type &= HCI_AT_NO_BONDING_MITM; in hci_io_capa_request_evt()
5357 cp.authentication = conn->auth_type; in hci_io_capa_request_evt()
5415 loc_mitm = (conn->auth_type & 0x01); in hci_user_confirm_request_evt()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.c293 emsg.auth_type = be32_to_cpu(emsg_be->auth_type); in brcmf_fweh_event_worker()
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dhif.h111 enum authtype auth_type; member
/linux/net/bluetooth/rfcomm/
H A Dcore.c217 __u8 auth_type; in rfcomm_check_security() local
222 auth_type = HCI_AT_GENERAL_BONDING_MITM; in rfcomm_check_security()
225 auth_type = HCI_AT_GENERAL_BONDING; in rfcomm_check_security()
228 auth_type = HCI_AT_NO_BONDING; in rfcomm_check_security()
232 return hci_conn_security(conn->hcon, d->sec_level, auth_type, in rfcomm_check_security()
/linux/drivers/staging/greybus/Documentation/firmware/
H A Dfirmware-management265 __u32 auth_type;
300 an Interface. The user needs to fill the 'auth_type', 'uid', and 'challenge'
/linux/drivers/target/iscsi/
H A Discsi_target_nego.c141 strcpy(conn->sess->auth_type, "CHAP"); in iscsi_handle_authentication()
143 strcpy(conn->sess->auth_type, NONE); in iscsi_handle_authentication()
/linux/include/uapi/linux/
H A Dsctp.h540 __u16 auth_type; member
/linux/include/target/iscsi/
H A Discsi_target_core.h650 char auth_type[8]; member
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.c276 aen->auth_type = s->auth_type; in qtnf_cmd_send_start_ap()
2124 aen->auth_type = sme->auth_type; in qtnf_cmd_send_connect()
H A Dqlink.h203 u8 auth_type; member
/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-tlv.h2506 __le32 auth_type; member
2529 struct wmi_nlo_auth_param auth_type; member
/linux/include/net/bluetooth/
H A Dhci_core.h709 __u8 auth_type; member
1597 u8 sec_level, u8 auth_type,
1623 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type,

12