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

123

/linux-master/drivers/staging/greybus/Documentation/firmware/
H A Dauthenticate.c25 .auth_type = 0,
/linux-master/drivers/staging/greybus/
H A Dgreybus_authentication.h59 __u32 auth_type; member in struct:cap_ioc_authenticate
H A Dauthentication.c143 static int cap_authenticate(struct gb_cap *cap, u32 auth_type, u8 *uid, argument
162 request->auth_type = cpu_to_le32(auth_type);
247 ret = cap_authenticate(cap, authenticate->auth_type,
/linux-master/drivers/nvme/target/
H A Dfabrics-cmd-auth.c232 ctrl->cntlid, req->sq->qid, data->auth_type, data->auth_id,
234 if (data->auth_type != NVME_AUTH_COMMON_MESSAGES &&
235 data->auth_type != NVME_AUTH_DHCHAP_MESSAGES)
237 if (data->auth_type == NVME_AUTH_COMMON_MESSAGES) {
370 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES;
401 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES;
425 data->auth_type = NVME_AUTH_COMMON_MESSAGES;
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.h225 __be32 auth_type; member in struct:brcmf_event_msg_be
254 * @auth_type: authentication type.
267 s32 auth_type; member in struct:brcmf_event_msg
H A Dfweh.c287 emsg.auth_type = be32_to_cpu(emsg_be->auth_type);
H A Dcfg80211.h119 u32 auth_type; member in struct:brcmf_cfg80211_security
/linux-master/drivers/staging/wlan-ng/
H A Dcfg80211.c462 if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) ||
463 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep))
465 else if ((sme->auth_type == NL80211_AUTHTYPE_SHARED_KEY) ||
466 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && is_wep))
471 sme->auth_type);
/linux-master/drivers/crypto/
H A Dn2_core.c215 int enc_type, int auth_type,
224 word |= ((u64) auth_type << CONTROL_AUTH_TYPE_SHIFT);
257 u8 auth_type; member in struct:n2_ahash_alg
521 unsigned int auth_type, unsigned int digest_size,
565 auth_type, digest_size,
622 return n2_do_async_digest(req, n2alg->auth_type,
1210 u8 auth_type; member in struct:n2_hash_tmpl
1236 .auth_type = AUTH_TYPE_MD5,
1245 .auth_type = AUTH_TYPE_SHA1,
1254 .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) 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) argument
[all...]
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Duap_cmd.c32 switch (params->auth_type) {
481 struct host_cmd_tlv_auth_type *auth_type; local
610 auth_type = (struct host_cmd_tlv_auth_type *)tlv;
611 auth_type->header.type = cpu_to_le16(TLV_TYPE_AUTH_TYPE);
612 auth_type->header.len =
615 auth_type->auth_type = (u8)bss_cfg->auth_mode;
H A Djoin.c454 auth_tlv->header.len = cpu_to_le16(sizeof(auth_tlv->auth_type));
456 auth_tlv->auth_type = cpu_to_le16(
459 auth_tlv->auth_type = cpu_to_le16(NL80211_AUTHTYPE_OPEN_SYSTEM);
/linux-master/drivers/nvme/host/
H A Dauth.c97 dev_dbg(ctrl->device, "%s: qid %d auth_type %d auth_id %x\n",
98 __func__, qid, data->auth_type, data->auth_id);
100 if (data->auth_type == NVME_AUTH_COMMON_MESSAGES &&
104 if (data->auth_type != NVME_AUTH_DHCHAP_MESSAGES ||
108 qid, data->auth_type, data->auth_id);
131 data->auth_type = NVME_AUTH_COMMON_MESSAGES;
308 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES;
395 data->auth_type = NVME_AUTH_DHCHAP_MESSAGES;
409 data->auth_type = NVME_AUTH_COMMON_MESSAGES;
/linux-master/drivers/staging/ks7010/
H A Dks_hostif.c330 unsigned short auth_type)
340 unsigned int key_index = auth_type - 1;
351 if (((auth_type == TYPE_PMK1 &&
353 (auth_type == TYPE_GMK1 &&
355 (auth_type == TYPE_GMK2 &&
415 u16 auth_type; local
428 auth_type = get_word(priv); /* AuthType */
442 if (auth_type != TYPE_DATA && priv->wpa.rsn_enabled) {
443 ret = hostif_data_indication_wpa(priv, auth_type);
1161 pp->auth_type
329 hostif_data_indication_wpa(struct ks_wlan_private *priv, unsigned short auth_type) argument
[all...]
H A Dks_hostif.h69 __le16 auth_type; member in struct:hostif_data_request
395 __le16 auth_type; member in struct:hostif_infrastructure_set_request
/linux-master/net/wireless/
H A Dsme.c174 auth_req.auth_type = params->auth_type;
353 wdev->conn->params.auth_type != NL80211_AUTHTYPE_NETWORK_EAP) {
355 switch (wdev->conn->params.auth_type) {
358 wdev->conn->params.auth_type =
361 wdev->conn->params.auth_type =
365 wdev->conn->params.auth_type =
370 wdev->conn->params.auth_type =
596 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) {
599 wdev->conn->params.auth_type
[all...]
H A Dtrace.h594 __field(enum nl80211_auth_type, auth_type)
607 __entry->auth_type = settings->auth_type;
620 BOOL_TO_STR(__entry->privacy), __entry->auth_type,
1257 __field(enum nl80211_auth_type, auth_type)
1266 __entry->auth_type = req->auth_type;
1269 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->auth_type,
1422 __field(enum nl80211_auth_type, auth_type)
1434 __entry->auth_type
[all...]
H A Dwext-compat.c1007 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM;
1012 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_SHARED_KEY;
1017 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_NETWORK_EAP;
1021 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC;
/linux-master/net/bluetooth/
H A Dhci_conn.c926 conn->auth_type = HCI_AT_GENERAL_BONDING;
1528 * attempt, we simply update pending_sec_level and auth_type fields
1565 u8 sec_level, u8 auth_type,
1601 acl->auth_type = auth_type;
2356 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) argument
2369 auth_type |= (conn->auth_type & 0x01);
2371 conn->auth_type = auth_type;
1564 hci_connect_acl(struct hci_dev *hdev, bdaddr_t *dst, u8 sec_level, u8 auth_type, enum conn_reasons conn_reason, u16 timeout) argument
2405 hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, bool initiator) argument
[all...]
/linux-master/include/linux/
H A Dnvme.h1619 /* Defined value for auth_type */
1672 __u8 auth_type; member in struct:nvmf_auth_dhchap_negotiate_data
1682 __u8 auth_type; member in struct:nvmf_auth_dhchap_challenge_data
1698 __u8 auth_type; member in struct:nvmf_auth_dhchap_reply_data
1719 __u8 auth_type; member in struct:nvmf_auth_dhchap_success1_data
1732 __u8 auth_type; member in struct:nvmf_auth_dhchap_success2_data
1740 __u8 auth_type; member in struct:nvmf_auth_dhchap_failure_data
/linux-master/drivers/net/wireless/marvell/libertas/
H A Dcfg.c104 * Convert NL80211's auth_type to the one from Libertas, see chapter 5.9.1
107 static int lbs_auth_to_authtype(enum nl80211_auth_type auth_type) argument
111 switch (auth_type) {
114 ret = auth_type;
349 static int lbs_add_auth_type_tlv(u8 *tlv, enum nl80211_auth_type auth_type) argument
360 auth->auth = cpu_to_le16(lbs_auth_to_authtype(auth_type));
1066 * stores the auth_type.
1087 /* convert auth_type */
1088 ret = lbs_auth_to_authtype(sme->auth_type);
1175 pos += lbs_add_auth_type_tlv(pos, sme->auth_type);
[all...]
/linux-master/drivers/net/wireless/microchip/wilc1000/
H A Dhif.h111 enum authtype auth_type; member in struct:wilc_conn_info
H A Dcfg80211.c308 enum authtype auth_type = WILC_FW_AUTH_ANY; local
348 switch (sme->auth_type) {
350 auth_type = WILC_FW_AUTH_OPEN_SYSTEM;
354 auth_type = WILC_FW_AUTH_SAE;
369 auth_type = WILC_FW_AUTH_IEEE8021;
371 auth_type = WILC_FW_AUTH_OPEN_SYSTEM_SHA256;
373 auth_type = WILC_FW_AUTH_IEE8021X_SHA256;
411 wfi_drv->conn_info.auth_type = auth_type;
/linux-master/drivers/crypto/bcm/
H A Dspu2.c606 * @auth_type: authentication type
614 enum spu2_hash_type auth_type,
631 if (is_inbound && (auth_type != SPU2_HASH_TYPE_NONE))
634 ctrl0 |= (((u64)auth_type << SPU2_HASH_TYPE_SHIFT) |
609 spu2_fmd_ctrl0_write(struct SPU2_FMD *fmd, bool is_inbound, bool auth_first, enum spu2_proto_sel protocol, enum spu2_cipher_type cipher_type, enum spu2_cipher_mode cipher_mode, enum spu2_hash_type auth_type, enum spu2_hash_mode auth_mode) argument
/linux-master/drivers/target/iscsi/
H A Discsi_target_nego.c141 strcpy(conn->sess->auth_type, "CHAP");
143 strcpy(conn->sess->auth_type, NONE);
/linux-master/net/bluetooth/rfcomm/
H A Dcore.c217 __u8 auth_type; local
222 auth_type = HCI_AT_GENERAL_BONDING_MITM;
225 auth_type = HCI_AT_GENERAL_BONDING;
228 auth_type = HCI_AT_NO_BONDING;
232 return hci_conn_security(conn->hcon, d->sec_level, auth_type,

Completed in 266 milliseconds

123