Home
last modified time | relevance | path

Searched refs:auth_mode (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.1.9/drivers/crypto/ccree/
Dcc_aead.c61 enum drv_hash_mode auth_mode; member
82 if (ctx->auth_mode == DRV_HASH_XCBC_MAC) { /* XCBC authetication */ in cc_aead_exit()
94 } else if (ctx->auth_mode != DRV_HASH_NULL) { /* HMAC auth. */ in cc_aead_exit()
139 ctx->auth_mode = cc_alg->auth_mode; in cc_aead_init()
155 if (ctx->auth_mode == DRV_HASH_XCBC_MAC) { /* XCBC authetication */ in cc_aead_init()
168 } else if (ctx->auth_mode != DRV_HASH_NULL) { /* HMAC authentication */ in cc_aead_init()
297 unsigned int hash_mode = (ctx->auth_mode == DRV_HASH_SHA1) ? in hmac_setkey()
299 unsigned int digest_size = (ctx->auth_mode == DRV_HASH_SHA1) ? in hmac_setkey()
313 ctx->auth_mode), in hmac_setkey()
369 switch (ctx->auth_mode) { in validate_keys_sizes()
[all …]
Dcc_driver.h164 int auth_mode; member
180 int auth_mode; member
/linux-6.1.9/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c181 vif->auth_mode = NONE_AUTH; in ath6kl_set_wpa_version()
183 vif->auth_mode = WPA2_AUTH; in ath6kl_set_wpa_version()
185 vif->auth_mode = WPA_AUTH; in ath6kl_set_wpa_version()
270 if (vif->auth_mode == WPA_AUTH) in ath6kl_set_key_mgmt()
271 vif->auth_mode = WPA_PSK_AUTH; in ath6kl_set_key_mgmt()
272 else if (vif->auth_mode == WPA2_AUTH) in ath6kl_set_key_mgmt()
273 vif->auth_mode = WPA2_PSK_AUTH; in ath6kl_set_key_mgmt()
275 if (vif->auth_mode == WPA_AUTH) in ath6kl_set_key_mgmt()
276 vif->auth_mode = WPA_AUTH_CCKM; in ath6kl_set_key_mgmt()
277 else if (vif->auth_mode == WPA2_AUTH) in ath6kl_set_key_mgmt()
[all …]
Dwmi.h685 enum auth_mode { enum
738 u8 auth_mode; member
2558 enum auth_mode auth_mode,
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Duap_cmd.c34 bss_config->auth_mode = WLAN_AUTH_OPEN; in mwifiex_set_secure_params()
37 bss_config->auth_mode = WLAN_AUTH_SHARED_KEY; in mwifiex_set_secure_params()
40 bss_config->auth_mode = WLAN_AUTH_LEAP; in mwifiex_set_secure_params()
43 bss_config->auth_mode = MWIFIEX_AUTH_MODE_AUTO; in mwifiex_set_secure_params()
285 config->auth_mode = 0x7F; in mwifiex_set_sys_config_invalid_data()
600 if ((bss_cfg->auth_mode <= WLAN_AUTH_SHARED_KEY) || in mwifiex_uap_bss_param_prepare()
601 (bss_cfg->auth_mode == MWIFIEX_AUTH_MODE_AUTO)) { in mwifiex_uap_bss_param_prepare()
607 auth_type->auth_type = (u8)bss_cfg->auth_mode; in mwifiex_uap_bss_param_prepare()
Dioctl.h96 u16 auth_mode; member
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_wx.c414 ieee->auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; in ieee80211_wx_set_encode()
415 sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; in ieee80211_wx_set_encode()
417 IEEE80211_DEBUG_WX("Auth: %s\n", sec.auth_mode == WLAN_AUTH_OPEN ? in ieee80211_wx_set_encode()
754 ieee->auth_mode = 1; in ieee80211_wx_set_auth()
757 ieee->auth_mode = 0; in ieee80211_wx_set_auth()
760 ieee->auth_mode = 2; in ieee80211_wx_set_auth()
Dieee80211_softmac.c642 if (ieee->auth_mode == 0) in ieee80211_authentication_req()
644 else if (ieee->auth_mode == 1) in ieee80211_authentication_req()
646 else if (ieee->auth_mode == 2) in ieee80211_authentication_req()
2706 sec.auth_mode = WLAN_AUTH_SHARED_KEY; in ieee80211_wpa_set_auth_algs()
2708 ieee->auth_mode = 1; in ieee80211_wpa_set_auth_algs()
2710 sec.auth_mode = WLAN_AUTH_OPEN; in ieee80211_wpa_set_auth_algs()
2712 ieee->auth_mode = 0; in ieee80211_wpa_set_auth_algs()
2714 sec.auth_mode = WLAN_AUTH_LEAP; in ieee80211_wpa_set_auth_algs()
2716 ieee->auth_mode = 2; in ieee80211_wpa_set_auth_algs()
/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_wx.c417 ieee->auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : in rtllib_wx_set_encode()
419 sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; in rtllib_wx_set_encode()
421 netdev_dbg(ieee->dev, "Auth: %s\n", sec.auth_mode == WLAN_AUTH_OPEN ? in rtllib_wx_set_encode()
720 ieee->auth_mode = 1; in rtllib_wx_set_auth()
723 ieee->auth_mode = 0; in rtllib_wx_set_auth()
726 ieee->auth_mode = 2; in rtllib_wx_set_auth()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mei/
Diwl-mei.h265 u8 auth_mode; member
Dsap.h364 __le32 auth_mode; member
Dmain.c688 .auth_mode = le32_to_cpu(status->conn_info.auth_mode), in iwl_mei_handle_conn_status()
1416 .auth_mode = cpu_to_le32(conn_info->auth_mode), in iwl_mei_host_associated()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dvendor-cmd.c46 csme_conn_info->conn_info.auth_mode) || in iwl_mvm_vendor_get_csme_conn_info()
/linux-6.1.9/drivers/crypto/bcm/
Dspu2.h205 enum hash_alg auth_alg, enum hash_mode auth_mode,
Dspu.h261 enum hash_mode auth_mode,
Dspu2.c615 enum spu2_hash_mode auth_mode) in spu2_fmd_ctrl0_write() argument
635 ((u64)auth_mode << SPU2_HASH_MODE_SHIFT)); in spu2_fmd_ctrl0_write()
1246 enum hash_alg auth_alg, enum hash_mode auth_mode, in spu2_request_pad() argument
Dcipher.h395 enum hash_mode auth_mode,
/linux-6.1.9/drivers/crypto/gemini/
Dsl3516-ce.h178 u32 auth_mode :1; member
/linux-6.1.9/drivers/net/wireless/
Drndis_wlan.c1085 int auth_mode, ret; in set_auth_mode() local
1092 auth_mode = NDIS_80211_AUTH_WPA2; in set_auth_mode()
1094 auth_mode = NDIS_80211_AUTH_WPA2_PSK; in set_auth_mode()
1097 auth_mode = NDIS_80211_AUTH_WPA; in set_auth_mode()
1099 auth_mode = NDIS_80211_AUTH_WPA_PSK; in set_auth_mode()
1101 auth_mode = NDIS_80211_AUTH_WPA_NONE; in set_auth_mode()
1103 auth_mode = NDIS_80211_AUTH_SHARED; in set_auth_mode()
1105 auth_mode = NDIS_80211_AUTH_OPEN; in set_auth_mode()
1107 auth_mode = NDIS_80211_AUTH_AUTO_SWITCH; in set_auth_mode()
1111 tmp = cpu_to_le32(auth_mode); in set_auth_mode()
/linux-6.1.9/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c5152 u8 auth_mode; member
5158 int auth_mode, in ipw2100_set_security_information() argument
5177 security->auth_mode = auth_mode; in ipw2100_set_security_information()
5205 security->auth_mode, security->allowed_ciphers, security_level); in ipw2100_set_security_information()
5473 int i, err, auth_mode, sec_level, use_group; in ipw2100_configure_security() local
5489 auth_mode = IPW_AUTH_OPEN; in ipw2100_configure_security()
5491 if (priv->ieee->sec.auth_mode == WLAN_AUTH_SHARED_KEY) in ipw2100_configure_security()
5492 auth_mode = IPW_AUTH_SHARED; in ipw2100_configure_security()
5493 else if (priv->ieee->sec.auth_mode == WLAN_AUTH_LEAP) in ipw2100_configure_security()
5494 auth_mode = IPW_AUTH_LEAP_CISCO_ID; in ipw2100_configure_security()
[all …]
Dlibipw_wx.c441 sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : in libipw_wx_set_encode()
445 sec.auth_mode == WLAN_AUTH_OPEN ? in libipw_wx_set_encode()
/linux-6.1.9/drivers/crypto/chelsio/
Dchcr_crypto.h221 unsigned char auth_mode; member
Dchcr_algo.h239 unsigned int auth_mode; member
/linux-6.1.9/drivers/staging/rtl8192e/rtl8192e/
Drtl_cam.c33 (priv->rtllib->auth_mode != 2)) { in rtl92e_enable_hw_security_config()
/linux-6.1.9/drivers/net/wireless/atmel/
Dat76c50x-usb.h407 int auth_mode; /* authentication type: 0 open, 1 shared key */ member

12