| /linux/drivers/nvme/target/ |
| H A D | fabrics-cmd-auth.c | 285 ctrl->cntlid, req->sq->qid, data->auth_type, data->auth_id, in nvmet_execute_auth_send() 287 if (data->auth_type != NVME_AUTH_COMMON_MESSAGES && in nvmet_execute_auth_send() 288 data->auth_type != NVME_AUTH_DHCHAP_MESSAGES) in nvmet_execute_auth_send() 290 if (data->auth_type == NVME_AUTH_COMMON_MESSAGES) { in nvmet_execute_auth_send() 424 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvmet_auth_challenge() 455 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvmet_auth_success1() 479 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvmet_auth_failure1()
|
| /linux/drivers/staging/greybus/ |
| H A D | authentication.c | 143 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 D | greybus_authentication.h | 59 __u32 auth_type; member
|
| /linux/drivers/nvme/host/ |
| H A D | auth.c | 101 __func__, qid, data->auth_type, data->auth_id); in nvme_auth_receive_validate() 103 if (data->auth_type == NVME_AUTH_COMMON_MESSAGES && in nvme_auth_receive_validate() 107 if (data->auth_type != NVME_AUTH_DHCHAP_MESSAGES || in nvme_auth_receive_validate() 111 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() 319 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvme_auth_set_dhchap_reply_data() 411 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvme_auth_set_dhchap_success2_data() 425 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvme_auth_set_dhchap_failure2_data()
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | uap_cmd.c | 32 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 D | join.c | 456 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 D | cfg80211.c | 2271 int ret, auth_type = 0; in mwifiex_cfg80211_assoc() local 2327 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in mwifiex_cfg80211_assoc() 2328 auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in mwifiex_cfg80211_assoc() 2331 auth_type = sme->auth_type; in mwifiex_cfg80211_assoc() 2337 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc() 2342 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc() 4307 switch (req->auth_type) { in mwifiex_cfg80211_authenticate() 4325 "unsupported auth type=%d\n", req->auth_type); in mwifiex_cfg80211_authenticate() 4383 if (req->auth_type == NL80211_AUTHTYPE_SAE) { in mwifiex_cfg80211_authenticate()
|
| /linux/net/wireless/ |
| H A D | sme.c | 175 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()
|
| H A D | trace.h | 700 __field(enum nl80211_auth_type, auth_type) 713 __entry->auth_type = settings->auth_type; 726 BOOL_TO_STR(__entry->privacy), __entry->auth_type, 1378 __field(enum nl80211_auth_type, auth_type) 1387 __entry->auth_type = req->auth_type; 1390 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->auth_type, 1545 __field(enum nl80211_auth_type, auth_type) 1557 __entry->auth_type = sme->auth_type; 1567 __entry->auth_type, BOOL_TO_STR(__entry->privacy),
|
| H A D | wext-compat.c | 942 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in cfg80211_set_auth_alg() 947 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_SHARED_KEY; in cfg80211_set_auth_alg() 952 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_NETWORK_EAP; in cfg80211_set_auth_alg() 956 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in cfg80211_set_auth_alg()
|
| H A D | nl80211.c | 6456 enum nl80211_auth_type auth_type, in nl80211_valid_auth_type() argument 6459 if (auth_type > NL80211_AUTHTYPE_MAX) in nl80211_valid_auth_type() 6465 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type() 6469 (auth_type == NL80211_AUTHTYPE_FILS_SK || in nl80211_valid_auth_type() 6470 auth_type == NL80211_AUTHTYPE_FILS_SK_PFS || in nl80211_valid_auth_type() 6471 auth_type == NL80211_AUTHTYPE_FILS_PK)) in nl80211_valid_auth_type() 6478 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type() 6482 if (auth_type == NL80211_AUTHTYPE_FILS_SK_PFS || in nl80211_valid_auth_type() 6483 auth_type == NL80211_AUTHTYPE_FILS_PK) in nl80211_valid_auth_type() 6488 auth_type == NL80211_AUTHTYPE_FILS_SK) in nl80211_valid_auth_type() [all …]
|
| /linux/drivers/staging/greybus/Documentation/firmware/ |
| H A D | authenticate.c | 25 .auth_type = 0,
|
| H A D | firmware-management | 265 __u32 auth_type; 300 an Interface. The user needs to fill the 'auth_type', 'uid', and 'challenge'
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | cfg.c | 107 static int lbs_auth_to_authtype(enum nl80211_auth_type auth_type) in lbs_auth_to_authtype() argument 111 switch (auth_type) { in lbs_auth_to_authtype() 114 ret = auth_type; in lbs_auth_to_authtype() 349 static int lbs_add_auth_type_tlv(u8 *tlv, enum nl80211_auth_type auth_type) in lbs_add_auth_type_tlv() argument 360 auth->auth = cpu_to_le16(lbs_auth_to_authtype(auth_type)); in lbs_add_auth_type_tlv() 1089 ret = lbs_auth_to_authtype(sme->auth_type); in lbs_set_authtype() 1179 pos += lbs_add_auth_type_tlv(pos, sme->auth_type); in lbs_associate() 1437 wiphy_err(wiphy, "unsupported authtype 0x%x\n", sme->auth_type); in lbs_cfg_connect()
|
| /linux/net/bluetooth/ |
| H A D | hci_conn.c | 983 conn->auth_type = HCI_AT_GENERAL_BONDING; in __hci_conn_add() 1672 u8 sec_level, u8 auth_type, in hci_connect_acl() argument 1709 acl->auth_type = auth_type; in hci_connect_acl() 2425 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) in hci_conn_auth() argument 2438 auth_type |= (conn->auth_type & 0x01); in hci_conn_auth() 2440 conn->auth_type = auth_type; in hci_conn_auth() 2474 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, in hci_conn_security() argument 2538 if (!hci_conn_auth(conn, sec_level, auth_type)) in hci_conn_security() 2756 req.type = conn->auth_type; in hci_get_auth_info()
|
| H A D | hci_event.c | 2383 if (!hci_conn_ssp_enabled(conn) && !(conn->auth_type & 0x01) && in hci_outgoing_auth_needed() 4664 conn->auth_type != 0xff && (conn->auth_type & 0x01)) { in hci_link_key_request_evt() 5215 return conn->remote_auth | (conn->auth_type & 0x01); in hci_get_auth_req() 5225 return (conn->remote_auth & ~0x01) | (conn->auth_type & 0x01); in hci_get_auth_req() 5312 conn->auth_type != HCI_AT_NO_BONDING) in hci_io_capa_request_evt() 5313 conn->auth_type |= 0x01; in hci_io_capa_request_evt() 5315 conn->auth_type = hci_get_auth_req(conn); in hci_io_capa_request_evt() 5322 conn->auth_type &= HCI_AT_NO_BONDING_MITM; in hci_io_capa_request_evt() 5324 cp.authentication = conn->auth_type; in hci_io_capa_request_evt() 5382 loc_mitm = (conn->auth_type & 0x01); in hci_user_confirm_request_evt()
|
| /linux/include/linux/ |
| H A D | nvme.h | 1863 __u8 auth_type; member 1873 __u8 auth_type; member 1889 __u8 auth_type; member 1910 __u8 auth_type; member 1923 __u8 auth_type; member 1931 __u8 auth_type; member
|
| /linux/drivers/net/wireless/microchip/wilc1000/ |
| H A D | hif.h | 111 enum authtype auth_type; member
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | cfg80211.h | 121 u32 auth_type; member
|
| /linux/net/bluetooth/rfcomm/ |
| H A D | core.c | 217 __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/target/iscsi/ |
| H A D | iscsi_target_nego.c | 141 strcpy(conn->sess->auth_type, "CHAP"); in iscsi_handle_authentication() 143 strcpy(conn->sess->auth_type, NONE); in iscsi_handle_authentication()
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | cfg80211.c | 195 enum nl80211_auth_type auth_type) in ath6kl_set_auth_type() argument 197 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "%s: 0x%x\n", __func__, auth_type); in ath6kl_set_auth_type() 199 switch (auth_type) { in ath6kl_set_auth_type() 215 ath6kl_err("%s: 0x%x not supported\n", __func__, auth_type); in ath6kl_set_auth_type() 548 status = ath6kl_set_auth_type(vif, sme->auth_type); in ath6kl_cfg80211_connect() 2822 ret = ath6kl_set_auth_type(vif, info->auth_type); in ath6kl_start_ap()
|
| /linux/include/uapi/linux/ |
| H A D | sctp.h | 540 __u16 auth_type; member
|
| /linux/include/target/iscsi/ |
| H A D | iscsi_target_core.h | 650 char auth_type[8]; member
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | wmi-tlv.h | 2506 __le32 auth_type; member 2529 struct wmi_nlo_auth_param auth_type; member
|