Home
last modified time | relevance | path

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

123

/linux-6.15/drivers/nvme/target/
H A Dfabrics-cmd-auth.c284 ctrl->cntlid, req->sq->qid, data->auth_type, data->auth_id, in nvmet_execute_auth_send()
286 if (data->auth_type != NVME_AUTH_COMMON_MESSAGES && in nvmet_execute_auth_send()
287 data->auth_type != NVME_AUTH_DHCHAP_MESSAGES) in nvmet_execute_auth_send()
289 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-6.15/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-6.15/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()
132 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvme_auth_set_dhchap_negotiate_data()
315 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvme_auth_set_dhchap_reply_data()
406 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvme_auth_set_dhchap_success2_data()
420 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvme_auth_set_dhchap_failure2_data()
/linux-6.15/drivers/staging/greybus/Documentation/firmware/
H A Dauthenticate.c25 .auth_type = 0,
H A Dfirmware-management265 __u32 auth_type;
300 an Interface. The user needs to fill the 'auth_type', 'uid', and 'challenge'
/linux-6.15/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.c2267 int ret, auth_type = 0; in mwifiex_cfg80211_assoc() local
2323 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in mwifiex_cfg80211_assoc()
2324 auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in mwifiex_cfg80211_assoc()
2327 auth_type = sme->auth_type; in mwifiex_cfg80211_assoc()
2333 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc()
2338 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc()
4315 switch (req->auth_type) { in mwifiex_cfg80211_authenticate()
4333 "unsupported auth type=%d\n", req->auth_type); in mwifiex_cfg80211_authenticate()
4391 if (req->auth_type == NL80211_AUTHTYPE_SAE) { in mwifiex_cfg80211_authenticate()
/linux-6.15/net/wireless/
H A Dsme.c176 auth_req.auth_type = params->auth_type; in cfg80211_conn_do_work()
353 wdev->conn->params.auth_type != NL80211_AUTHTYPE_NETWORK_EAP) { in cfg80211_sme_rx_auth()
355 switch (wdev->conn->params.auth_type) { in cfg80211_sme_rx_auth()
358 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
361 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
365 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
370 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
596 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect()
599 wdev->conn->params.auth_type = in cfg80211_sme_connect()
H A Dwext-compat.c942 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 Dtrace.h668 __field(enum nl80211_auth_type, auth_type)
681 __entry->auth_type = settings->auth_type;
694 BOOL_TO_STR(__entry->privacy), __entry->auth_type,
1346 __field(enum nl80211_auth_type, auth_type)
1355 __entry->auth_type = req->auth_type;
1358 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->auth_type,
1513 __field(enum nl80211_auth_type, auth_type)
1525 __entry->auth_type = sme->auth_type;
1535 __entry->auth_type, BOOL_TO_STR(__entry->privacy),
H A Dnl80211.c6001 enum nl80211_auth_type auth_type, in nl80211_valid_auth_type() argument
6004 if (auth_type > NL80211_AUTHTYPE_MAX) in nl80211_valid_auth_type()
6010 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
6023 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
6039 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type()
6191 params->auth_type = nla_get_u32( in nl80211_start_ap()
10820 enum nl80211_auth_type auth_type; in nl80211_authenticate() local
10935 req.auth_type = auth_type; in nl80211_authenticate()
12048 connect.auth_type = in nl80211_connect()
12285 u32 auth_type; in nl80211_update_connect_params() local
[all …]
/linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.h225 __be32 auth_type; member
267 s32 auth_type; member
H A Dfweh.c287 emsg.auth_type = be32_to_cpu(emsg_be->auth_type); in brcmf_fweh_event_worker()
H A Dcfg80211.h119 u32 auth_type; member
/linux-6.15/drivers/net/wireless/marvell/libertas/
H A Dcfg.c107 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()
1176 pos += lbs_add_auth_type_tlv(pos, sme->auth_type); in lbs_associate()
1434 wiphy_err(wiphy, "unsupported authtype 0x%x\n", sme->auth_type); in lbs_cfg_connect()
/linux-6.15/net/bluetooth/
H A Dhci_conn.c948 conn->auth_type = HCI_AT_GENERAL_BONDING; in __hci_conn_add()
1604 u8 sec_level, u8 auth_type, in hci_connect_acl() argument
1640 acl->auth_type = auth_type; in hci_connect_acl()
2322 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) in hci_conn_auth() argument
2335 auth_type |= (conn->auth_type & 0x01); in hci_conn_auth()
2337 conn->auth_type = auth_type; in hci_conn_auth()
2371 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, in hci_conn_security() argument
2435 if (!hci_conn_auth(conn, sec_level, auth_type)) in hci_conn_security()
2653 req.type = conn->auth_type; in hci_get_auth_info()
/linux-6.15/include/linux/
H A Dnvme.h1787 __u8 auth_type; member
1797 __u8 auth_type; member
1813 __u8 auth_type; member
1834 __u8 auth_type; member
1847 __u8 auth_type; member
1855 __u8 auth_type; member
/linux-6.15/drivers/net/wireless/microchip/wilc1000/
H A Dcfg80211.c309 enum authtype auth_type = WILC_FW_AUTH_ANY; in connect() local
349 switch (sme->auth_type) { in connect()
351 auth_type = WILC_FW_AUTH_OPEN_SYSTEM; in connect()
355 auth_type = WILC_FW_AUTH_SAE; in connect()
370 auth_type = WILC_FW_AUTH_IEEE8021; in connect()
372 auth_type = WILC_FW_AUTH_OPEN_SYSTEM_SHA256; in connect()
374 auth_type = WILC_FW_AUTH_IEE8021X_SHA256; in connect()
412 wfi_drv->conn_info.auth_type = auth_type; in connect()
H A Dhif.h111 enum authtype auth_type; member
/linux-6.15/drivers/crypto/bcm/
H A Dspu2.c615 enum spu2_hash_type auth_type, in spu2_fmd_ctrl0_write() argument
632 if (is_inbound && (auth_type != SPU2_HASH_TYPE_NONE)) in spu2_fmd_ctrl0_write()
635 ctrl0 |= (((u64)auth_type << SPU2_HASH_TYPE_SHIFT) | in spu2_fmd_ctrl0_write()
/linux-6.15/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-6.15/drivers/net/wireless/ath/wil6210/
H A Dcfg80211.c1084 wil_get_auth_type_name(enum nl80211_auth_type auth_type) in wil_get_auth_type_name() argument
1086 switch (auth_type) { in wil_get_auth_type_name()
1119 wil_get_auth_type_name(sme->auth_type)); in wil_print_connect_params()
1229 if (sme->auth_type == NL80211_AUTHTYPE_FT) in wil_cfg80211_connect()
1231 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC && in wil_cfg80211_connect()
2167 info->privacy, info->auth_type); in wil_cfg80211_start_ap()
/linux-6.15/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()

123