/linux/drivers/nvme/target/ |
H A D | fabrics-cmd-auth.c | 233 ctrl->cntlid, req->sq->qid, data->auth_type, data->auth_id, in nvmet_execute_auth_send() 235 if (data->auth_type != NVME_AUTH_COMMON_MESSAGES && in nvmet_execute_auth_send() 236 data->auth_type != NVME_AUTH_DHCHAP_MESSAGES) in nvmet_execute_auth_send() 238 if (data->auth_type == NVME_AUTH_COMMON_MESSAGES) { in nvmet_execute_auth_send() 370 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvmet_auth_challenge() 401 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvmet_auth_success1() 425 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 | 98 __func__, qid, data->auth_type, data->auth_id); in nvme_auth_receive_validate() 100 if (data->auth_type == NVME_AUTH_COMMON_MESSAGES && in nvme_auth_receive_validate() 104 if (data->auth_type != NVME_AUTH_DHCHAP_MESSAGES || in nvme_auth_receive_validate() 108 qid, data->auth_type, data->auth_id); in nvme_auth_receive_validate() 131 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvme_auth_set_dhchap_negotiate_data() 308 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvme_auth_set_dhchap_reply_data() 395 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvme_auth_set_dhchap_success2_data() 409 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvme_auth_set_dhchap_failure2_data()
|
/linux/drivers/crypto/ |
H A D | n2_core.c | 215 int enc_type, int auth_type, in control_word_base() argument 224 word |= ((u64) auth_type << CONTROL_AUTH_TYPE_SHIFT); in control_word_base() 257 u8 auth_type; member 521 unsigned int auth_type, unsigned int digest_size, in n2_do_async_digest() argument 565 auth_type, digest_size, in n2_do_async_digest() 622 return n2_do_async_digest(req, n2alg->auth_type, in n2_hash_async_digest() 1206 u8 auth_type; member 1232 .auth_type = AUTH_TYPE_MD5, 1241 .auth_type = AUTH_TYPE_SHA1, 1250 .auth_type = AUTH_TYPE_SHA256, [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/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 | 2267 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/net/wireless/ |
H A D | sme.c | 175 auth_req.auth_type = params->auth_type; in cfg80211_conn_do_work() 354 wdev->conn->params.auth_type != NL80211_AUTHTYPE_NETWORK_EAP) { in cfg80211_sme_rx_auth() 356 switch (wdev->conn->params.auth_type) { in cfg80211_sme_rx_auth() 359 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth() 362 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth() 366 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth() 371 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth() 597 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect() 600 wdev->conn->params.auth_type = in cfg80211_sme_connect()
|
H A D | trace.h | 668 __field(enum nl80211_auth_type, auth_type) 681 __entry->auth_type = settings->auth_type; 694 BOOL_TO_STR(__entry->privacy), __entry->auth_type, 1344 __field(enum nl80211_auth_type, auth_type) 1353 __entry->auth_type = req->auth_type; 1356 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->auth_type, 1509 __field(enum nl80211_auth_type, auth_type) 1521 __entry->auth_type = sme->auth_type; 1531 __entry->auth_type, BOOL_TO_STR(__entry->privacy),
|
H A D | wext-compat.c | 1007 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in cfg80211_set_auth_alg() 1012 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_SHARED_KEY; in cfg80211_set_auth_alg() 1017 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_NETWORK_EAP; in cfg80211_set_auth_alg() 1021 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; in cfg80211_set_auth_alg()
|
H A D | nl80211.c | 5950 enum nl80211_auth_type auth_type, in nl80211_valid_auth_type() argument 5953 if (auth_type > NL80211_AUTHTYPE_MAX) in nl80211_valid_auth_type() 5959 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type() 5963 (auth_type == NL80211_AUTHTYPE_FILS_SK || in nl80211_valid_auth_type() 5964 auth_type == NL80211_AUTHTYPE_FILS_SK_PFS || in nl80211_valid_auth_type() 5965 auth_type == NL80211_AUTHTYPE_FILS_PK)) in nl80211_valid_auth_type() 5972 auth_type == NL80211_AUTHTYPE_SAE) in nl80211_valid_auth_type() 5976 if (auth_type == NL80211_AUTHTYPE_FILS_SK_PFS || in nl80211_valid_auth_type() 5977 auth_type == NL80211_AUTHTYPE_FILS_PK) in nl80211_valid_auth_type() 5982 auth_type == NL80211_AUTHTYPE_FILS_SK) in nl80211_valid_auth_type() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fweh.h | 225 __be32 auth_type; member 267 s32 auth_type; member
|
H A D | fweh.c | 287 emsg.auth_type = be32_to_cpu(emsg_be->auth_type); in brcmf_fweh_event_worker()
|
H A D | cfg80211.h | 119 u32 auth_type; member
|
/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() 1088 ret = lbs_auth_to_authtype(sme->auth_type); in lbs_set_authtype() 1175 pos += lbs_add_auth_type_tlv(pos, sme->auth_type); in lbs_associate() 1433 wiphy_err(wiphy, "unsupported authtype 0x%x\n", sme->auth_type); in lbs_cfg_connect()
|
/linux/net/bluetooth/ |
H A D | hci_conn.c | 947 conn->auth_type = HCI_AT_GENERAL_BONDING; in __hci_conn_add() 1600 u8 sec_level, u8 auth_type, in hci_connect_acl() argument 1636 acl->auth_type = auth_type; in hci_connect_acl() 2380 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) in hci_conn_auth() argument 2393 auth_type |= (conn->auth_type & 0x01); in hci_conn_auth() 2395 conn->auth_type = auth_type; in hci_conn_auth() 2429 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, in hci_conn_security() argument 2493 if (!hci_conn_auth(conn, sec_level, auth_type)) in hci_conn_security() 2711 req.type = conn->auth_type; in hci_get_auth_info()
|
/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | cfg80211.c | 308 enum authtype auth_type = WILC_FW_AUTH_ANY; in connect() local 348 switch (sme->auth_type) { in connect() 350 auth_type = WILC_FW_AUTH_OPEN_SYSTEM; in connect() 354 auth_type = WILC_FW_AUTH_SAE; in connect() 369 auth_type = WILC_FW_AUTH_IEEE8021; in connect() 371 auth_type = WILC_FW_AUTH_OPEN_SYSTEM_SHA256; in connect() 373 auth_type = WILC_FW_AUTH_IEE8021X_SHA256; in connect() 411 wfi_drv->conn_info.auth_type = auth_type; in connect()
|
H A D | hif.h | 111 enum authtype auth_type; member
|
/linux/include/linux/ |
H A D | nvme.h | 1686 __u8 auth_type; member 1696 __u8 auth_type; member 1712 __u8 auth_type; member 1733 __u8 auth_type; member 1746 __u8 auth_type; member 1754 __u8 auth_type; member
|
/linux/drivers/crypto/bcm/ |
H A D | spu2.c | 614 enum spu2_hash_type auth_type, in spu2_fmd_ctrl0_write() argument 631 if (is_inbound && (auth_type != SPU2_HASH_TYPE_NONE)) in spu2_fmd_ctrl0_write() 634 ctrl0 |= (((u64)auth_type << SPU2_HASH_TYPE_SHIFT) | in spu2_fmd_ctrl0_write()
|
/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/net/wireless/ath/wil6210/ |
H A D | cfg80211.c | 1084 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() 2166 info->privacy, info->auth_type); in wil_cfg80211_start_ap()
|