Home
last modified time | relevance | path

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

12

/drivers/nvme/target/
Dfabrics-cmd-auth.c232 ctrl->cntlid, req->sq->qid, data->auth_type, data->auth_id, in nvmet_execute_auth_send()
234 if (data->auth_type != NVME_AUTH_COMMON_MESSAGES && in nvmet_execute_auth_send()
235 data->auth_type != NVME_AUTH_DHCHAP_MESSAGES) in nvmet_execute_auth_send()
237 if (data->auth_type == NVME_AUTH_COMMON_MESSAGES) { in nvmet_execute_auth_send()
369 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvmet_auth_challenge()
400 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvmet_auth_success1()
424 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvmet_auth_failure1()
/drivers/staging/greybus/
Dauthentication.c140 static int cap_authenticate(struct gb_cap *cap, u32 auth_type, u8 *uid, in cap_authenticate() argument
159 request->auth_type = cpu_to_le32(auth_type); in cap_authenticate()
244 ret = cap_authenticate(cap, authenticate->auth_type, in cap_ioctl()
Dgreybus_authentication.h59 __u32 auth_type; member
/drivers/net/wireless/marvell/mwifiex/
Duap_cmd.c32 switch (params->auth_type) { in mwifiex_set_secure_params()
481 struct host_cmd_tlv_auth_type *auth_type; in mwifiex_uap_bss_param_prepare() local
610 auth_type = (struct host_cmd_tlv_auth_type *)tlv; in mwifiex_uap_bss_param_prepare()
611 auth_type->header.type = cpu_to_le16(TLV_TYPE_AUTH_TYPE); in mwifiex_uap_bss_param_prepare()
612 auth_type->header.len = in mwifiex_uap_bss_param_prepare()
615 auth_type->auth_type = (u8)bss_cfg->auth_mode; in mwifiex_uap_bss_param_prepare()
Djoin.c454 auth_tlv->header.len = cpu_to_le16(sizeof(auth_tlv->auth_type)); in mwifiex_cmd_802_11_associate()
456 auth_tlv->auth_type = cpu_to_le16( in mwifiex_cmd_802_11_associate()
459 auth_tlv->auth_type = cpu_to_le16(NL80211_AUTHTYPE_OPEN_SYSTEM); in mwifiex_cmd_802_11_associate()
Dcfg80211.c2240 int ret, auth_type = 0; in mwifiex_cfg80211_assoc() local
2296 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in mwifiex_cfg80211_assoc()
2297 auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in mwifiex_cfg80211_assoc()
2300 auth_type = sme->auth_type; in mwifiex_cfg80211_assoc()
2306 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc()
2311 priv->sec_info.authentication_mode = auth_type; in mwifiex_cfg80211_assoc()
/drivers/staging/wlan-ng/
Dcfg80211.c462 if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) || in prism2_connect()
463 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep)) in prism2_connect()
465 else if ((sme->auth_type == NL80211_AUTHTYPE_SHARED_KEY) || in prism2_connect()
466 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && is_wep)) in prism2_connect()
471 sme->auth_type); in prism2_connect()
/drivers/nvme/host/
Dauth.c98 __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()
398 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES; in nvme_auth_set_dhchap_success2_data()
412 data->auth_type = NVME_AUTH_COMMON_MESSAGES; in nvme_auth_set_dhchap_failure2_data()
/drivers/crypto/
Dn2_core.c215 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()
1235 u8 auth_type; member
1261 .auth_type = AUTH_TYPE_MD5,
1270 .auth_type = AUTH_TYPE_SHA1,
1279 .auth_type = AUTH_TYPE_SHA256,
[all …]
/drivers/staging/ks7010/
Dks_hostif.c330 unsigned short auth_type) in hostif_data_indication_wpa() argument
340 unsigned int key_index = auth_type - 1; in hostif_data_indication_wpa()
351 if (((auth_type == TYPE_PMK1 && in hostif_data_indication_wpa()
353 (auth_type == TYPE_GMK1 && in hostif_data_indication_wpa()
355 (auth_type == TYPE_GMK2 && in hostif_data_indication_wpa()
415 u16 auth_type; in hostif_data_indication() local
428 auth_type = get_word(priv); /* AuthType */ in hostif_data_indication()
442 if (auth_type != TYPE_DATA && priv->wpa.rsn_enabled) { in hostif_data_indication()
443 ret = hostif_data_indication_wpa(priv, auth_type); in hostif_data_indication()
1161 pp->auth_type = cpu_to_le16(TYPE_AUTH); in hostif_data_request()
[all …]
Dks_hostif.h69 __le16 auth_type; member
395 __le16 auth_type; member
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfweh.h228 __be32 auth_type; member
270 s32 auth_type; member
Dfweh.c243 emsg.auth_type = be32_to_cpu(emsg_be->auth_type); in brcmf_fweh_event_worker()
Dcfg80211.h119 u32 auth_type; member
/drivers/staging/greybus/Documentation/firmware/
Dauthenticate.c25 .auth_type = 0,
Dfirmware-management265 __u32 auth_type;
300 an Interface. The user needs to fill the 'auth_type', 'uid', and 'challenge'
/drivers/net/wireless/marvell/libertas/
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()
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()
/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c311 enum authtype auth_type = WILC_FW_AUTH_ANY; in connect() local
351 switch (sme->auth_type) { in connect()
353 auth_type = WILC_FW_AUTH_OPEN_SYSTEM; in connect()
357 auth_type = WILC_FW_AUTH_SAE; in connect()
372 auth_type = WILC_FW_AUTH_IEEE8021; in connect()
374 auth_type = WILC_FW_AUTH_OPEN_SYSTEM_SHA256; in connect()
376 auth_type = WILC_FW_AUTH_IEE8021X_SHA256; in connect()
414 wfi_drv->conn_info.auth_type = auth_type; in connect()
Dhif.h108 enum authtype auth_type; member
/drivers/net/wireless/legacy/
Drndis_wlan.c1081 enum nl80211_auth_type auth_type, int keymgmt) in set_auth_mode() argument
1088 __func__, wpa_version, auth_type, keymgmt); in set_auth_mode()
1102 } else if (auth_type == NL80211_AUTHTYPE_SHARED_KEY) in set_auth_mode()
1104 else if (auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) in set_auth_mode()
1106 else if (auth_type == NL80211_AUTHTYPE_AUTOMATIC) in set_auth_mode()
2164 sme->privacy, sme->crypto.wpa_versions, sme->auth_type, in rndis_connect()
2177 ret = set_auth_mode(usbdev, sme->crypto.wpa_versions, sme->auth_type, in rndis_connect()
2270 enum nl80211_auth_type auth_type; in rndis_join_ibss() local
2282 auth_type = NL80211_AUTHTYPE_SHARED_KEY; in rndis_join_ibss()
2285 auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; in rndis_join_ibss()
[all …]
/drivers/crypto/bcm/
Dspu2.c614 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()
/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1087 wil_get_auth_type_name(enum nl80211_auth_type auth_type) in wil_get_auth_type_name() argument
1089 switch (auth_type) { in wil_get_auth_type_name()
1122 wil_get_auth_type_name(sme->auth_type)); in wil_print_connect_params()
1232 if (sme->auth_type == NL80211_AUTHTYPE_FT) in wil_cfg80211_connect()
1234 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC && in wil_cfg80211_connect()
2168 info->privacy, info->auth_type); in wil_cfg80211_start_ap()
/drivers/target/iscsi/
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()
/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c195 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()
2818 ret = ath6kl_set_auth_type(vif, info->auth_type); in ath6kl_start_ap()
/drivers/net/wireless/ath/wcn36xx/
Dhal.h4284 enum auth_type { enum
4329 enum auth_type authentication;
4405 enum auth_type authentication;

12