| /Linux-v5.4/drivers/crypto/ccree/ |
| D | cc_aead.c | 60 enum drv_hash_mode auth_mode; member 86 if (ctx->auth_mode == DRV_HASH_XCBC_MAC) { /* XCBC authetication */ in cc_aead_exit() 98 } else if (ctx->auth_mode != DRV_HASH_NULL) { /* HMAC auth. */ in cc_aead_exit() 143 ctx->auth_mode = cc_alg->auth_mode; in cc_aead_init() 159 if (ctx->auth_mode == DRV_HASH_XCBC_MAC) { /* XCBC authetication */ in cc_aead_init() 172 } else if (ctx->auth_mode != DRV_HASH_NULL) { /* HMAC authentication */ in cc_aead_init() 300 unsigned int hash_mode = (ctx->auth_mode == DRV_HASH_SHA1) ? in hmac_setkey() 302 unsigned int digest_size = (ctx->auth_mode == DRV_HASH_SHA1) ? in hmac_setkey() 316 ctx->auth_mode), in hmac_setkey() 372 switch (ctx->auth_mode) { in validate_keys_sizes() [all …]
|
| D | cc_driver.h | 170 int auth_mode; member 187 int auth_mode; member
|
| /Linux-v5.4/drivers/net/wireless/ath/ath6kl/ |
| D | cfg80211.c | 181 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 …]
|
| D | wmi.h | 685 enum auth_mode { enum 738 u8 auth_mode; member 2558 enum auth_mode auth_mode,
|
| D | wmi.c | 1856 enum auth_mode auth_mode, in ath6kl_wmi_connect_cmd() argument 1872 dot11_auth_mode, auth_mode, pairwise_crypto, group_crypto); in ath6kl_wmi_connect_cmd() 1895 cc->auth_mode = auth_mode; in ath6kl_wmi_connect_cmd() 3406 __func__, p->nw_type, p->auth_mode, le16_to_cpu(p->ch), in ath6kl_wmi_ap_profile_commit()
|
| /Linux-v5.4/drivers/net/wireless/marvell/mwifiex/ |
| D | uap_cmd.c | 46 bss_config->auth_mode = WLAN_AUTH_OPEN; in mwifiex_set_secure_params() 49 bss_config->auth_mode = WLAN_AUTH_SHARED_KEY; in mwifiex_set_secure_params() 52 bss_config->auth_mode = WLAN_AUTH_LEAP; in mwifiex_set_secure_params() 55 bss_config->auth_mode = MWIFIEX_AUTH_MODE_AUTO; in mwifiex_set_secure_params() 296 config->auth_mode = 0x7F; in mwifiex_set_sys_config_invalid_data() 611 if ((bss_cfg->auth_mode <= WLAN_AUTH_SHARED_KEY) || in mwifiex_uap_bss_param_prepare() 612 (bss_cfg->auth_mode == MWIFIEX_AUTH_MODE_AUTO)) { in mwifiex_uap_bss_param_prepare() 618 auth_type->auth_type = (u8)bss_cfg->auth_mode; in mwifiex_uap_bss_param_prepare()
|
| D | ioctl.h | 108 u16 auth_mode; member
|
| /Linux-v5.4/drivers/staging/rtl8192e/ |
| D | rtllib_wx.c | 432 ieee->auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : in rtllib_wx_set_encode() 434 sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; in rtllib_wx_set_encode() 436 netdev_dbg(ieee->dev, "Auth: %s\n", sec.auth_mode == WLAN_AUTH_OPEN ? in rtllib_wx_set_encode() 738 ieee->auth_mode = 1; in rtllib_wx_set_auth() 741 ieee->auth_mode = 0; in rtllib_wx_set_auth() 744 ieee->auth_mode = 2; in rtllib_wx_set_auth()
|
| /Linux-v5.4/drivers/staging/rtl8192u/ieee80211/ |
| D | ieee80211_wx.c | 417 ieee->auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; in ieee80211_wx_set_encode() 418 sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; in ieee80211_wx_set_encode() 420 IEEE80211_DEBUG_WX("Auth: %s\n", sec.auth_mode == WLAN_AUTH_OPEN ? in ieee80211_wx_set_encode() 755 ieee->auth_mode = 1; in ieee80211_wx_set_auth() 758 ieee->auth_mode = 0; in ieee80211_wx_set_auth() 761 ieee->auth_mode = 2; in ieee80211_wx_set_auth()
|
| D | ieee80211_softmac.c | 642 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() 2693 sec.auth_mode = WLAN_AUTH_SHARED_KEY; in ieee80211_wpa_set_auth_algs() 2695 ieee->auth_mode = 1; in ieee80211_wpa_set_auth_algs() 2697 sec.auth_mode = WLAN_AUTH_OPEN; in ieee80211_wpa_set_auth_algs() 2699 ieee->auth_mode = 0; in ieee80211_wpa_set_auth_algs() 2701 sec.auth_mode = WLAN_AUTH_LEAP; in ieee80211_wpa_set_auth_algs() 2703 ieee->auth_mode = 2; in ieee80211_wpa_set_auth_algs()
|
| /Linux-v5.4/drivers/crypto/bcm/ |
| D | spu2.h | 206 enum hash_alg auth_alg, enum hash_mode auth_mode,
|
| D | spu.h | 261 enum hash_mode auth_mode,
|
| D | spu2.c | 614 enum spu2_hash_mode auth_mode) in spu2_fmd_ctrl0_write() argument 634 ((u64)auth_mode << SPU2_HASH_MODE_SHIFT)); in spu2_fmd_ctrl0_write() 1253 enum hash_alg auth_alg, enum hash_mode auth_mode, in spu2_request_pad() argument
|
| D | cipher.h | 393 enum hash_mode auth_mode,
|
| D | spu.c | 1052 enum hash_mode auth_mode, in spum_request_pad() argument 1070 (auth_mode == HASH_MODE_XCBC)) { in spum_request_pad()
|
| /Linux-v5.4/drivers/net/wireless/ |
| D | rndis_wlan.c | 316 __le32 auth_mode; member 1099 int auth_mode, ret; in set_auth_mode() local 1106 auth_mode = NDIS_80211_AUTH_WPA2; in set_auth_mode() 1108 auth_mode = NDIS_80211_AUTH_WPA2_PSK; in set_auth_mode() 1111 auth_mode = NDIS_80211_AUTH_WPA; in set_auth_mode() 1113 auth_mode = NDIS_80211_AUTH_WPA_PSK; in set_auth_mode() 1115 auth_mode = NDIS_80211_AUTH_WPA_NONE; in set_auth_mode() 1117 auth_mode = NDIS_80211_AUTH_SHARED; in set_auth_mode() 1119 auth_mode = NDIS_80211_AUTH_OPEN; in set_auth_mode() 1121 auth_mode = NDIS_80211_AUTH_AUTO_SWITCH; in set_auth_mode() [all …]
|
| /Linux-v5.4/drivers/crypto/chelsio/ |
| D | chcr_crypto.h | 219 unsigned char auth_mode; member
|
| D | chcr_algo.h | 272 unsigned int auth_mode; member
|
| D | chcr_algo.c | 1452 params->auth_mode = CHCR_SCMD_AUTH_MODE_SHA1; in get_alg_config() 1457 params->auth_mode = CHCR_SCMD_AUTH_MODE_SHA224; in get_alg_config() 1462 params->auth_mode = CHCR_SCMD_AUTH_MODE_SHA256; in get_alg_config() 1467 params->auth_mode = CHCR_SCMD_AUTH_MODE_SHA512_384; in get_alg_config() 1472 params->auth_mode = CHCR_SCMD_AUTH_MODE_SHA512_512; in get_alg_config() 1532 FILL_SEC_CPL_SCMD0_SEQNO(0, 0, 0, param->alg_prm.auth_mode, in create_hash_wr() 2414 actx->auth_mode, aeadctx->hmac_ctrl, in create_authenc_wr() 3534 actx->auth_mode = param.auth_mode; in chcr_authenc_setkey() 3604 actx->auth_mode = CHCR_SCMD_AUTH_MODE_NOP; in chcr_aead_digest_null_setkey()
|
| /Linux-v5.4/drivers/net/wireless/intel/ipw2x00/ |
| D | ipw2100.c | 5154 u8 auth_mode; member 5160 int auth_mode, in ipw2100_set_security_information() argument 5179 security->auth_mode = auth_mode; in ipw2100_set_security_information() 5207 security->auth_mode, security->allowed_ciphers, security_level); in ipw2100_set_security_information() 5475 int i, err, auth_mode, sec_level, use_group; in ipw2100_configure_security() local 5491 auth_mode = IPW_AUTH_OPEN; in ipw2100_configure_security() 5493 if (priv->ieee->sec.auth_mode == WLAN_AUTH_SHARED_KEY) in ipw2100_configure_security() 5494 auth_mode = IPW_AUTH_SHARED; in ipw2100_configure_security() 5495 else if (priv->ieee->sec.auth_mode == WLAN_AUTH_LEAP) in ipw2100_configure_security() 5496 auth_mode = IPW_AUTH_LEAP_CISCO_ID; in ipw2100_configure_security() [all …]
|
| D | libipw_wx.c | 441 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-v5.4/drivers/staging/rtl8192e/rtl8192e/ |
| D | rtl_cam.c | 33 (priv->rtllib->auth_mode != 2)) { in rtl92e_enable_hw_security_config()
|
| /Linux-v5.4/drivers/net/wireless/atmel/ |
| D | at76c50x-usb.h | 407 int auth_mode; /* authentication type: 0 open, 1 shared key */ member
|
| /Linux-v5.4/drivers/staging/rtl8712/ |
| D | ieee80211.h | 481 auth_mode:2, member
|
| /Linux-v5.4/drivers/staging/rtl8188eu/core/ |
| D | rtw_mlme_ext.c | 2648 unsigned int auth_mode, ie_len; in OnAuth() local 2669 auth_mode = psecuritypriv->dot11AuthAlgrthm; in OnAuth() 2675 if (auth_mode == 2 && psecuritypriv->dot11PrivacyAlgrthm != _WEP40_ && in OnAuth() 2677 auth_mode = 0; in OnAuth() 2679 if ((algorithm > 0 && auth_mode == 0) || /* rx a shared-key auth but shared not enabled */ in OnAuth() 2680 (algorithm == 0 && auth_mode == 1)) { /* rx a open-system auth but shared-key is enabled */ in OnAuth() 2682 algorithm, auth_mode, sa[0], sa[1], sa[2], sa[3], sa[4], sa[5]); in OnAuth() 2737 if (algorithm == 0 && (auth_mode == 0 || auth_mode == 2)) { in OnAuth()
|