Home
last modified time | relevance | path

Searched refs:auth_type (Results 1 - 25 of 114) sorted by relevance

12345

/kernel/linux/linux-6.6/drivers/nvme/target/
H A 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()
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()
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A 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()
H A Dgreybus_authentication.h60 __u32 auth_type; member
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A 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()
H A Dgreybus_authentication.h59 __u32 auth_type; member
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A Duap_cmd.c44 switch (params->auth_type) { in mwifiex_set_secure_params()
492 struct host_cmd_tlv_auth_type *auth_type; in mwifiex_uap_bss_param_prepare() local
621 auth_type = (struct host_cmd_tlv_auth_type *)tlv; in mwifiex_uap_bss_param_prepare()
622 auth_type->header.type = cpu_to_le16(TLV_TYPE_AUTH_TYPE); in mwifiex_uap_bss_param_prepare()
623 auth_type->header.len = in mwifiex_uap_bss_param_prepare()
626 auth_type->auth_type = (u8)bss_cfg->auth_mode; in mwifiex_uap_bss_param_prepare()
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
H A 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()
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
H A Dcfg80211.c457 if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) || in prism2_connect()
458 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep)) in prism2_connect()
460 else if ((sme->auth_type == NL80211_AUTHTYPE_SHARED_KEY) || in prism2_connect()
461 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && is_wep)) in prism2_connect()
466 sme->auth_type); in prism2_connect()
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/
H A 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()
/kernel/linux/linux-5.10/drivers/crypto/
H A Dn2_core.c213 int enc_type, int auth_type, in control_word_base()
222 word |= ((u64) auth_type << CONTROL_AUTH_TYPE_SHIFT); in control_word_base()
255 u8 auth_type; member
519 unsigned int auth_type, unsigned int digest_size, in n2_do_async_digest()
563 auth_type, digest_size, in n2_do_async_digest()
620 return n2_do_async_digest(req, n2alg->auth_type, in n2_hash_async_digest()
1233 u8 auth_type; member
1259 .auth_type = AUTH_TYPE_MD5,
1268 .auth_type = AUTH_TYPE_SHA1,
1277 .auth_type
212 control_word_base(unsigned int len, unsigned int hmac_key_len, int enc_type, int auth_type, unsigned int hash_len, bool sfas, bool sob, bool eob, bool encrypt, int opcode) control_word_base() argument
518 n2_do_async_digest(struct ahash_request *req, unsigned int auth_type, unsigned int digest_size, unsigned int result_size, void *hash_loc, unsigned long auth_key, unsigned int auth_key_len) n2_do_async_digest() argument
[all...]
/kernel/linux/linux-6.6/drivers/crypto/
H A Dn2_core.c215 int enc_type, int auth_type, in control_word_base()
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()
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
214 control_word_base(unsigned int len, unsigned int hmac_key_len, int enc_type, int auth_type, unsigned int hash_len, bool sfas, bool sob, bool eob, bool encrypt, int opcode) control_word_base() argument
520 n2_do_async_digest(struct ahash_request *req, unsigned int auth_type, unsigned int digest_size, unsigned int result_size, void *hash_loc, unsigned long auth_key, unsigned int auth_key_len) n2_do_async_digest() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.h228 __be32 auth_type; member
257 * @auth_type: authentication type.
270 s32 auth_type; member
H A Dfweh.c243 emsg.auth_type = be32_to_cpu(emsg_be->auth_type); in brcmf_fweh_event_worker()
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
H A Dhif.h109 enum authtype auth_type; member
159 u8 index, u8 mode, enum authtype auth_type);
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.h228 __be32 auth_type; member
257 * @auth_type: authentication type.
270 s32 auth_type; member
H A Dfweh.c243 emsg.auth_type = be32_to_cpu(emsg_be->auth_type); in brcmf_fweh_event_worker()
/kernel/linux/linux-6.6/drivers/nvme/host/
H A Dauth.c97 dev_dbg(ctrl->device, "%s: qid %d auth_type %d auth_id %x\n", in nvme_auth_receive_validate()
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()
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()
/kernel/linux/linux-5.10/net/bluetooth/
H A Dhci_conn.c536 conn->auth_type = HCI_AT_GENERAL_BONDING; in hci_conn_add()
1201 * attempt, we simply update pending_sec_level and auth_type fields in hci_connect_le_scan()
1238 u8 sec_level, u8 auth_type, in hci_connect_acl()
1272 acl->auth_type = auth_type; in hci_connect_acl()
1364 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) in hci_conn_auth() argument
1377 auth_type |= (conn->auth_type & 0x01); in hci_conn_auth()
1379 conn->auth_type = auth_type; in hci_conn_auth()
1237 hci_connect_acl(struct hci_dev *hdev, bdaddr_t *dst, u8 sec_level, u8 auth_type, enum conn_reasons conn_reason) hci_connect_acl() argument
1413 hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, bool initiator) hci_conn_security() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/greybus/Documentation/firmware/
H A Dauthenticate.c25 .auth_type = 0,
/kernel/linux/linux-6.6/drivers/staging/greybus/Documentation/firmware/
H A Dauthenticate.c25 .auth_type = 0,
/kernel/linux/linux-5.10/drivers/staging/ks7010/
H A Dks_hostif.c335 unsigned short auth_type) in hostif_data_indication_wpa()
345 unsigned int key_index = auth_type - 1; in hostif_data_indication_wpa()
356 if (((auth_type == TYPE_PMK1 && in hostif_data_indication_wpa()
358 (auth_type == TYPE_GMK1 && in hostif_data_indication_wpa()
360 (auth_type == TYPE_GMK2 && in hostif_data_indication_wpa()
420 u16 auth_type; in hostif_data_indication() local
433 auth_type = get_word(priv); /* AuthType */ in hostif_data_indication()
447 if (auth_type != TYPE_DATA && priv->wpa.rsn_enabled) { in hostif_data_indication()
448 ret = hostif_data_indication_wpa(priv, auth_type); in hostif_data_indication()
1170 pp->auth_type in hostif_data_request()
334 hostif_data_indication_wpa(struct ks_wlan_private *priv, unsigned short auth_type) hostif_data_indication_wpa() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/ks7010/
H A Dks_hostif.c330 unsigned short auth_type) in hostif_data_indication_wpa()
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 in hostif_data_request()
329 hostif_data_indication_wpa(struct ks_wlan_private *priv, unsigned short auth_type) hostif_data_indication_wpa() argument
[all...]
/kernel/linux/linux-6.6/net/wireless/
H A Dsme.c174 auth_req.auth_type = params->auth_type; in cfg80211_conn_do_work()
365 wdev->conn->params.auth_type != NL80211_AUTHTYPE_NETWORK_EAP) { in cfg80211_sme_rx_auth()
367 switch (wdev->conn->params.auth_type) { in cfg80211_sme_rx_auth()
370 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
373 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
377 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
382 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
608 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect()
611 wdev->conn->params.auth_type in cfg80211_sme_connect()
[all...]
/kernel/linux/linux-6.6/net/bluetooth/
H A Dhci_conn.c956 conn->auth_type = HCI_AT_GENERAL_BONDING; in hci_conn_add()
1583 * attempt, we simply update pending_sec_level and auth_type fields in hci_connect_le_scan()
1620 u8 sec_level, u8 auth_type, in hci_connect_acl()
1654 acl->auth_type = auth_type; in hci_connect_acl()
2355 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) in hci_conn_auth() argument
2368 auth_type |= (conn->auth_type & 0x01); in hci_conn_auth()
2370 conn->auth_type = auth_type; in hci_conn_auth()
1619 hci_connect_acl(struct hci_dev *hdev, bdaddr_t *dst, u8 sec_level, u8 auth_type, enum conn_reasons conn_reason) hci_connect_acl() argument
2404 hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, bool initiator) hci_conn_security() argument
[all...]
/kernel/linux/linux-5.10/net/wireless/
H A Dsme.c172 params->channel, params->auth_type, in cfg80211_conn_do_work()
349 wdev->conn->params.auth_type != NL80211_AUTHTYPE_NETWORK_EAP) { in cfg80211_sme_rx_auth()
351 switch (wdev->conn->params.auth_type) { in cfg80211_sme_rx_auth()
354 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
357 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
361 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
366 wdev->conn->params.auth_type = in cfg80211_sme_rx_auth()
564 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { in cfg80211_sme_connect()
567 wdev->conn->params.auth_type = in cfg80211_sme_connect()

Completed in 27 milliseconds

12345