/linux-4.1.27/include/uapi/linux/nfsd/ |
H A D | nfsfh.h | 40 * These three bytes are auth_type, fsid_type and fileid_type. 44 * The auth_type field is deprecated and must be set to 0.
|
/linux-4.1.27/fs/ncpfs/ |
H A D | ioctl.c | 87 s32 auth_type; member in struct:compat_ncp_objectname_ioctl 589 user.auth_type = server->auth.auth_type; __ncp_ioctl() 616 user.auth_type = server->auth.auth_type; __ncp_ioctl() 651 user.auth_type = user32.auth_type; __ncp_ioctl() 674 server->auth.auth_type = user.auth_type; __ncp_ioctl()
|
H A D | ncp_fs_sb.h | 88 int auth_type; member in struct:ncp_server::__anon11046
|
H A D | inode.c | 591 server->auth.auth_type = NCP_AUTH_NONE; ncp_fill_super()
|
/linux-4.1.27/net/bluetooth/ |
H A D | hci_conn.c | 450 conn->auth_type = HCI_AT_GENERAL_BONDING; hci_conn_add() 750 * attempt, we simply update pending_sec_level and auth_type fields hci_connect_le() 863 u8 sec_level, u8 auth_type) hci_connect_acl() 886 acl->auth_type = auth_type; hci_connect_acl() 960 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type) hci_conn_auth() argument 973 auth_type |= (conn->auth_type & 0x01); hci_conn_auth() 975 conn->auth_type = auth_type; hci_conn_auth() 1011 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type, hci_conn_security() argument 1068 if (!hci_conn_auth(conn, sec_level, auth_type)) hci_conn_security() 1289 req.type = conn->auth_type; hci_get_auth_info() 862 hci_connect_acl(struct hci_dev *hdev, bdaddr_t *dst, u8 sec_level, u8 auth_type) hci_connect_acl() argument
|
H A D | hci_event.c | 1646 if (!hci_conn_ssp_enabled(conn) && !(conn->auth_type & 0x01) && hci_outgoing_auth_needed() 3464 conn->auth_type != 0xff && (conn->auth_type & 0x01)) { hci_link_key_request_evt() 3920 return conn->remote_auth | (conn->auth_type & 0x01); hci_get_auth_req() 3930 return (conn->remote_auth & ~0x01) | (conn->auth_type & 0x01); hci_get_auth_req() 4013 conn->auth_type != HCI_AT_NO_BONDING) hci_io_capa_request_evt() 4014 conn->auth_type |= 0x01; hci_io_capa_request_evt() 4016 conn->auth_type = hci_get_auth_req(conn); hci_io_capa_request_evt() 4023 conn->auth_type &= HCI_AT_NO_BONDING_MITM; hci_io_capa_request_evt() 4025 cp.authentication = conn->auth_type; hci_io_capa_request_evt() 4082 loc_mitm = (conn->auth_type & 0x01); hci_user_confirm_request_evt() 4088 * necessarily match conn->auth_type. hci_user_confirm_request_evt()
|
H A D | l2cap_core.c | 808 __u8 auth_type; l2cap_chan_check_security() local 813 auth_type = l2cap_get_auth_type(chan); l2cap_chan_check_security() 815 return hci_conn_security(conn->hcon, chan->sec_level, auth_type, l2cap_chan_check_security() 7123 u8 auth_type = l2cap_get_auth_type(chan); l2cap_chan_connect() local 7124 hcon = hci_connect_acl(hdev, dst, chan->sec_level, auth_type); l2cap_chan_connect()
|
H A D | mgmt.c | 3378 u8 sec_level, auth_type; pair_device() local 3415 auth_type = HCI_AT_DEDICATED_BONDING; pair_device() 3419 auth_type); pair_device() 3494 hci_conn_security(conn, sec_level, auth_type, true)) { pair_device()
|
H A D | hci_core.c | 2234 if (conn->auth_type > 0x01 && conn->remote_auth > 0x01) hci_persistent_key() 2238 if (conn->auth_type == 0x02 || conn->auth_type == 0x03) hci_persistent_key()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | ncp_fs.h | 88 int auth_type; member in struct:ncp_objectname_ioctl
|
H A D | sctp.h | 429 __u16 auth_type; member in struct:sctp_authkey_event
|
/linux-4.1.27/drivers/staging/wlan-ng/ |
H A D | cfg80211.c | 519 if ((sme->auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) || prism2_connect() 520 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && !is_wep)) prism2_connect() 522 else if ((sme->auth_type == NL80211_AUTHTYPE_SHARED_KEY) || prism2_connect() 523 ((sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) && is_wep)) prism2_connect() 528 sme->auth_type); prism2_connect()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
H A D | uap_cmd.c | 43 switch (params->auth_type) { mwifiex_set_secure_params() 466 struct host_cmd_tlv_auth_type *auth_type; mwifiex_uap_bss_param_prepare() local 587 auth_type = (struct host_cmd_tlv_auth_type *)tlv; mwifiex_uap_bss_param_prepare() 588 auth_type->header.type = cpu_to_le16(TLV_TYPE_AUTH_TYPE); mwifiex_uap_bss_param_prepare() 589 auth_type->header.len = mwifiex_uap_bss_param_prepare() 592 auth_type->auth_type = (u8)bss_cfg->auth_mode; mwifiex_uap_bss_param_prepare()
|
H A D | cfg80211.c | 1894 int ret, auth_type = 0; mwifiex_cfg80211_assoc() local 1940 if (sme->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { mwifiex_cfg80211_assoc() 1941 auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; mwifiex_cfg80211_assoc() 1944 auth_type = sme->auth_type; mwifiex_cfg80211_assoc() 1950 priv->sec_info.authentication_mode = auth_type; mwifiex_cfg80211_assoc() 1955 priv->sec_info.authentication_mode = auth_type; mwifiex_cfg80211_assoc()
|
H A D | join.c | 462 auth_tlv->header.len = cpu_to_le16(sizeof(auth_tlv->auth_type)); mwifiex_cmd_802_11_associate() 464 auth_tlv->auth_type = cpu_to_le16( mwifiex_cmd_802_11_associate() 467 auth_tlv->auth_type = cpu_to_le16(NL80211_AUTHTYPE_OPEN_SYSTEM); mwifiex_cmd_802_11_associate()
|
H A D | fw.h | 748 __le16 auth_type; member in struct:mwifiex_ie_types_auth_type 1676 u8 auth_type; member in struct:host_cmd_tlv_auth_type
|
/linux-4.1.27/drivers/crypto/ |
H A D | n2_core.c | 206 int enc_type, int auth_type, control_word_base() 215 word |= ((u64) auth_type << CONTROL_AUTH_TYPE_SHIFT); control_word_base() 248 u8 auth_type; member in struct:n2_ahash_alg 507 unsigned int auth_type, unsigned int digest_size, n2_do_async_digest() 551 auth_type, digest_size, n2_do_async_digest() 608 return n2_do_async_digest(req, n2alg->auth_type, n2_hash_async_digest() 1275 u8 auth_type; member in struct:n2_hash_tmpl 1322 .auth_type = AUTH_TYPE_MD5, 1330 .auth_type = AUTH_TYPE_SHA1, 1338 .auth_type = AUTH_TYPE_SHA256, 1346 .auth_type = AUTH_TYPE_SHA256, 1475 p->auth_type = tmpl->auth_type; __n2_register_one_ahash() 205 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 506 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
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
H A D | cfg.c | 103 * Convert NL80211's auth_type to the one from Libertas, see chapter 5.9.1 106 static int lbs_auth_to_authtype(enum nl80211_auth_type auth_type) lbs_auth_to_authtype() argument 110 switch (auth_type) { lbs_auth_to_authtype() 113 ret = auth_type; lbs_auth_to_authtype() 344 static int lbs_add_auth_type_tlv(u8 *tlv, enum nl80211_auth_type auth_type) lbs_add_auth_type_tlv() argument 355 auth->auth = cpu_to_le16(lbs_auth_to_authtype(auth_type)); lbs_add_auth_type_tlv() 1052 * stores the auth_type. 1060 lbs_deb_enter_args(LBS_DEB_CFG80211, "%d", sme->auth_type); lbs_set_authtype() 1075 /* convert auth_type */ lbs_set_authtype() 1076 ret = lbs_auth_to_authtype(sme->auth_type); lbs_set_authtype() 1166 pos += lbs_add_auth_type_tlv(pos, sme->auth_type); lbs_associate() 1428 wiphy_err(wiphy, "unsupported authtype 0x%x\n", sme->auth_type); lbs_cfg_connect()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | fweh.c | 51 __be32 auth_type; member in struct:brcmf_event_msg_be 281 emsg.auth_type = be32_to_cpu(emsg_be->auth_type); brcmf_fweh_event_worker()
|
H A D | fweh.h | 195 * @auth_type: authentication type. 208 s32 auth_type; member in struct:brcmf_event_msg
|
H A D | cfg80211.c | 1475 switch (sme->auth_type) { brcmf_set_auth_type() 1492 brcmf_err("invalid auth type (%d)\n", sme->auth_type); brcmf_set_auth_type() 1502 sec->auth_type = sme->auth_type; brcmf_set_auth_type() 1696 if (sec->auth_type == NL80211_AUTHTYPE_SHARED_KEY) { brcmf_set_sharedkey() 1697 brcmf_dbg(CONN, "set auth_type to shared key\n"); brcmf_set_sharedkey() 1795 sme->auth_type = brcmf_war_auth_type(ifp, sme->auth_type); brcmf_cfg80211_connect() 3997 brcmf_dbg(TRACE, "ssid=%s(%zu), auth_type=%d, inactivity_timeout=%d\n", brcmf_cfg80211_start_ap() 3998 settings->ssid, settings->ssid_len, settings->auth_type, brcmf_cfg80211_start_ap()
|
H A D | cfg80211.h | 118 u32 auth_type; member in struct:brcmf_cfg80211_security
|
/linux-4.1.27/net/wireless/ |
H A D | sme.c | 165 params->channel, params->auth_type, cfg80211_conn_do_work() 326 wdev->conn->params.auth_type != NL80211_AUTHTYPE_NETWORK_EAP) { cfg80211_sme_rx_auth() 328 switch (wdev->conn->params.auth_type) { cfg80211_sme_rx_auth() 331 wdev->conn->params.auth_type = cfg80211_sme_rx_auth() 334 wdev->conn->params.auth_type = cfg80211_sme_rx_auth() 338 wdev->conn->params.auth_type = cfg80211_sme_rx_auth() 343 wdev->conn->params.auth_type = cfg80211_sme_rx_auth() 521 if (connect->auth_type == NL80211_AUTHTYPE_AUTOMATIC) { cfg80211_sme_connect() 524 wdev->conn->params.auth_type = cfg80211_sme_connect()
|
H A D | trace.h | 487 __field(enum nl80211_auth_type, auth_type) 499 __entry->auth_type = settings->auth_type; 511 BOOL_TO_STR(__entry->privacy), __entry->auth_type, 1077 __field(enum nl80211_auth_type, auth_type) 1086 __entry->auth_type = req->auth_type; 1089 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->auth_type, 1220 __field(enum nl80211_auth_type, auth_type) 1231 __entry->auth_type = sme->auth_type; 1240 __entry->auth_type, BOOL_TO_STR(__entry->privacy),
|
H A D | mlme.c | 201 enum nl80211_auth_type auth_type, cfg80211_mlme_auth() 214 .auth_type = auth_type, cfg80211_mlme_auth() 223 if (auth_type == NL80211_AUTHTYPE_SHARED_KEY) cfg80211_mlme_auth() 198 cfg80211_mlme_auth(struct cfg80211_registered_device *rdev, struct net_device *dev, struct ieee80211_channel *chan, enum nl80211_auth_type auth_type, const u8 *bssid, const u8 *ssid, int ssid_len, const u8 *ie, int ie_len, const u8 *key, int key_len, int key_idx, const u8 *sae_data, int sae_data_len) cfg80211_mlme_auth() argument
|
H A D | wext-compat.c | 943 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; cfg80211_set_auth_alg() 948 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_SHARED_KEY; cfg80211_set_auth_alg() 953 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_NETWORK_EAP; cfg80211_set_auth_alg() 957 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; cfg80211_set_auth_alg()
|
H A D | core.h | 325 enum nl80211_auth_type auth_type,
|
H A D | core.c | 904 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; __cfg80211_leave() 1011 wdev->wext.connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; cfg80211_netdev_notifier_call()
|
H A D | nl80211.c | 3261 enum nl80211_auth_type auth_type, nl80211_valid_auth_type() 3264 if (auth_type > NL80211_AUTHTYPE_MAX) nl80211_valid_auth_type() 3270 auth_type == NL80211_AUTHTYPE_SAE) nl80211_valid_auth_type() 3276 if (auth_type == NL80211_AUTHTYPE_SAE) nl80211_valid_auth_type() 3351 params.auth_type = nla_get_u32( nl80211_start_ap() 3353 if (!nl80211_valid_auth_type(rdev, params.auth_type, nl80211_start_ap() 3357 params.auth_type = NL80211_AUTHTYPE_AUTOMATIC; nl80211_start_ap() 6811 enum nl80211_auth_type auth_type; nl80211_authenticate() local 6885 auth_type = nla_get_u32(info->attrs[NL80211_ATTR_AUTH_TYPE]); nl80211_authenticate() 6886 if (!nl80211_valid_auth_type(rdev, auth_type, NL80211_CMD_AUTHENTICATE)) nl80211_authenticate() 6889 if (auth_type == NL80211_AUTHTYPE_SAE && nl80211_authenticate() 6894 if (auth_type != NL80211_AUTHTYPE_SAE) nl80211_authenticate() 6913 err = cfg80211_mlme_auth(rdev, dev, chan, auth_type, bssid, nl80211_authenticate() 7668 connect.auth_type = nl80211_connect() 7670 if (!nl80211_valid_auth_type(rdev, connect.auth_type, nl80211_connect() 7674 connect.auth_type = NL80211_AUTHTYPE_AUTOMATIC; nl80211_connect() 3260 nl80211_valid_auth_type(struct cfg80211_registered_device *rdev, enum nl80211_auth_type auth_type, enum nl80211_commands cmd) nl80211_valid_auth_type() argument
|
/linux-4.1.27/drivers/net/wireless/ |
H A D | rndis_wlan.c | 1107 enum nl80211_auth_type auth_type, int keymgmt) set_auth_mode() 1114 __func__, wpa_version, auth_type, keymgmt); set_auth_mode() 1128 } else if (auth_type == NL80211_AUTHTYPE_SHARED_KEY) set_auth_mode() 1130 else if (auth_type == NL80211_AUTHTYPE_OPEN_SYSTEM) set_auth_mode() 1132 else if (auth_type == NL80211_AUTHTYPE_AUTOMATIC) set_auth_mode() 2189 sme->privacy, sme->crypto.wpa_versions, sme->auth_type, rndis_connect() 2202 ret = set_auth_mode(usbdev, sme->crypto.wpa_versions, sme->auth_type, rndis_connect() 2295 enum nl80211_auth_type auth_type; rndis_join_ibss() local 2304 * join_ibss? Which auth_type to use (not in params)? What about WPA? rndis_join_ibss() 2307 auth_type = NL80211_AUTHTYPE_SHARED_KEY; rndis_join_ibss() 2310 auth_type = NL80211_AUTHTYPE_OPEN_SYSTEM; rndis_join_ibss() 2327 ret = set_auth_mode(usbdev, 0, auth_type, RNDIS_WLAN_KEY_MGMT_NONE); rndis_join_ibss() 1106 set_auth_mode(struct usbnet *usbdev, u32 wpa_version, enum nl80211_auth_type auth_type, int keymgmt) set_auth_mode() argument
|
H A D | ray_cs.c | 94 static int build_auth_frame(ray_dev_t *local, UCHAR *dest, int auth_type); 2684 static int build_auth_frame(ray_dev_t *local, UCHAR *dest, int auth_type) build_auth_frame() argument 2721 writeb(auth_type & 0xff, ptx->var + 2); build_auth_frame()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | rtl871x_security.h | 122 u32 ndisauthtype; /* keeps the auth_type & enc_status from upper
|
/linux-4.1.27/net/bluetooth/rfcomm/ |
H A D | core.c | 217 __u8 auth_type; rfcomm_check_security() local 222 auth_type = HCI_AT_GENERAL_BONDING_MITM; rfcomm_check_security() 225 auth_type = HCI_AT_GENERAL_BONDING; rfcomm_check_security() 228 auth_type = HCI_AT_NO_BONDING; rfcomm_check_security() 232 return hci_conn_security(conn->hcon, d->sec_level, auth_type, rfcomm_check_security()
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
H A D | cfg80211.c | 738 wil_dbg_misc(wil, "Privacy: %d auth_type %d\n", wil_cfg80211_start_ap() 739 info->privacy, info->auth_type); wil_cfg80211_start_ap()
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
H A D | rtw_security.h | 146 /* keeps the auth_type & enc_status from upper layer
|
/linux-4.1.27/include/net/bluetooth/ |
H A D | hci_core.h | 421 __u8 auth_type; member in struct:hci_conn 813 u8 sec_level, u8 auth_type); 818 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type,
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
H A D | cfg80211.c | 196 enum nl80211_auth_type auth_type) ath6kl_set_auth_type() 198 ath6kl_dbg(ATH6KL_DBG_WLAN_CFG, "%s: 0x%x\n", __func__, auth_type); ath6kl_set_auth_type() 200 switch (auth_type) { ath6kl_set_auth_type() 216 ath6kl_err("%s: 0x%x not supported\n", __func__, auth_type); ath6kl_set_auth_type() 549 status = ath6kl_set_auth_type(vif, sme->auth_type); ath6kl_cfg80211_connect() 2810 ret = ath6kl_set_auth_type(vif, info->auth_type); ath6kl_start_ap() 195 ath6kl_set_auth_type(struct ath6kl_vif *vif, enum nl80211_auth_type auth_type) ath6kl_set_auth_type() argument
|
/linux-4.1.27/drivers/target/iscsi/ |
H A D | iscsi_target_nego.c | 154 strcpy(conn->sess->auth_type, "CHAP"); iscsi_handle_authentication() 156 strcpy(conn->sess->auth_type, NONE); iscsi_handle_authentication()
|
/linux-4.1.27/include/target/iscsi/ |
H A D | iscsi_target_core.h | 655 char auth_type[8]; member in struct:iscsi_session
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
H A D | ipw2200.h | 883 u8 auth_type:4, auth_key:4; member in struct:ipw_associate 885 u8 auth_key:4, auth_type:4; member in struct:ipw_associate
|
H A D | ipw2200.c | 7319 priv->assoc_request.auth_type = AUTH_SHARED_KEY; ipw_associate_network() 7327 priv->assoc_request.auth_type = AUTH_LEAP; ipw_associate_network() 7329 priv->assoc_request.auth_type = AUTH_OPEN; ipw_associate_network()
|
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/ |
H A D | ioctl_cfg80211.c | 2063 ret = rtw_cfg80211_set_auth_type(psecuritypriv, sme->auth_type); 2789 DBG_8723A("%s(%s): hidden_ssid:%d, auth_type:%d\n", cfg80211_rtw_start_ap() 2791 settings->auth_type); cfg80211_rtw_start_ap()
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
H A D | rtw_debug.c | 172 len += snprintf(page + len, count - len, "auth_alg=0x%x, enc_alg=0x%x, auth_type=0x%x, enc_type=0x%x\n", proc_get_sec_info()
|
/linux-4.1.27/net/sctp/ |
H A D | ulpevent.c | 800 ak->auth_type = SCTP_AUTHENTICATION_EVENT; sctp_ulpevent_make_authkey()
|
/linux-4.1.27/include/net/ |
H A D | cfg80211.h | 707 * @auth_type: Authentication type (algorithm) 726 enum nl80211_auth_type auth_type; member in struct:cfg80211_ap_settings 1658 * @auth_type: Authentication type (algorithm) 1672 enum nl80211_auth_type auth_type; member in struct:cfg80211_auth_request 1833 * @auth_type: Authentication type (algorithm) 1858 enum nl80211_auth_type auth_type; member in struct:cfg80211_connect_params
|
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/ |
H A D | hal.h | 3881 enum auth_type { enum 3926 enum auth_type authentication; 4002 enum auth_type authentication;
|
/linux-4.1.27/net/mac80211/ |
H A D | mlme.c | 4473 switch (req->auth_type) { ieee80211_mgd_auth()
|