/drivers/crypto/ccree/ |
D | cc_aead.c | 61 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 …]
|
D | cc_driver.h | 164 int auth_mode; member 180 int auth_mode; member
|
/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 | 1850 enum auth_mode auth_mode, in ath6kl_wmi_connect_cmd() argument 1866 dot11_auth_mode, auth_mode, pairwise_crypto, group_crypto); in ath6kl_wmi_connect_cmd() 1889 cc->auth_mode = auth_mode; in ath6kl_wmi_connect_cmd() 3407 __func__, p->nw_type, p->auth_mode, le16_to_cpu(p->ch), in ath6kl_wmi_ap_profile_commit()
|
/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() 297 config->auth_mode = 0x7F; in mwifiex_set_sys_config_invalid_data() 620 if ((bss_cfg->auth_mode <= WLAN_AUTH_SHARED_KEY) || in mwifiex_uap_bss_param_prepare() 621 (bss_cfg->auth_mode == MWIFIEX_AUTH_MODE_AUTO)) { in mwifiex_uap_bss_param_prepare() 627 auth_type->auth_type = (u8)bss_cfg->auth_mode; in mwifiex_uap_bss_param_prepare()
|
D | ioctl.h | 108 u16 auth_mode; member
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_wx.c | 414 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() 752 ieee->auth_mode = 1; in ieee80211_wx_set_auth() 755 ieee->auth_mode = 0; in ieee80211_wx_set_auth() 758 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() 2700 sec.auth_mode = WLAN_AUTH_SHARED_KEY; in ieee80211_wpa_set_auth_algs() 2702 ieee->auth_mode = 1; in ieee80211_wpa_set_auth_algs() 2704 sec.auth_mode = WLAN_AUTH_OPEN; in ieee80211_wpa_set_auth_algs() 2706 ieee->auth_mode = 0; in ieee80211_wpa_set_auth_algs() 2708 sec.auth_mode = WLAN_AUTH_LEAP; in ieee80211_wpa_set_auth_algs() 2710 ieee->auth_mode = 2; in ieee80211_wpa_set_auth_algs()
|
/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 424 ieee->auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : in rtllib_wx_set_encode() 426 sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; in rtllib_wx_set_encode() 428 netdev_dbg(ieee->dev, "Auth: %s\n", sec.auth_mode == WLAN_AUTH_OPEN ? in rtllib_wx_set_encode() 728 ieee->auth_mode = 1; in rtllib_wx_set_auth() 731 ieee->auth_mode = 0; in rtllib_wx_set_auth() 734 ieee->auth_mode = 2; in rtllib_wx_set_auth()
|
/drivers/crypto/bcm/ |
D | spu2.h | 205 enum hash_alg auth_alg, enum hash_mode auth_mode,
|
D | spu.h | 261 enum hash_mode auth_mode,
|
D | spu2.c | 615 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
|
D | cipher.h | 395 enum hash_mode auth_mode,
|
D | spu.c | 1029 enum hash_mode auth_mode, in spum_request_pad() argument 1047 (auth_mode == HASH_MODE_XCBC)) { in spum_request_pad()
|
/drivers/crypto/gemini/ |
D | sl3516-ce.h | 178 u32 auth_mode :1; member
|
/drivers/net/wireless/ |
D | rndis_wlan.c | 1085 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()
|
/drivers/net/wireless/intel/ipw2x00/ |
D | ipw2100.c | 5152 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 …]
|
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()
|
/drivers/crypto/chelsio/ |
D | chcr_crypto.h | 221 unsigned char auth_mode; member
|
D | chcr_algo.h | 239 unsigned int auth_mode; member
|
D | chcr_algo.c | 1520 params->auth_mode = CHCR_SCMD_AUTH_MODE_SHA1; in get_alg_config() 1525 params->auth_mode = CHCR_SCMD_AUTH_MODE_SHA224; in get_alg_config() 1530 params->auth_mode = CHCR_SCMD_AUTH_MODE_SHA256; in get_alg_config() 1535 params->auth_mode = CHCR_SCMD_AUTH_MODE_SHA512_384; in get_alg_config() 1540 params->auth_mode = CHCR_SCMD_AUTH_MODE_SHA512_512; in get_alg_config() 1605 FILL_SEC_CPL_SCMD0_SEQNO(0, 0, 0, param->alg_prm.auth_mode, in create_hash_wr() 2528 actx->auth_mode, aeadctx->hmac_ctrl, in create_authenc_wr() 3658 actx->auth_mode = param.auth_mode; in chcr_authenc_setkey() 3724 actx->auth_mode = CHCR_SCMD_AUTH_MODE_NOP; in chcr_aead_digest_null_setkey()
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_cam.c | 33 (priv->rtllib->auth_mode != 2)) { in rtl92e_enable_hw_security_config()
|
/drivers/net/wireless/atmel/ |
D | at76c50x-usb.h | 407 int auth_mode; /* authentication type: 0 open, 1 shared key */ member
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme_ext.c | 684 unsigned int auth_mode, seq, ie_len; in OnAuth() local 703 auth_mode = psecuritypriv->dot11AuthAlgrthm; in OnAuth() 726 if (auth_mode == 2 && in OnAuth() 729 auth_mode = 0; in OnAuth() 731 if ((algorithm > 0 && auth_mode == 0) || /* rx a shared-key auth but shared not enabled */ in OnAuth() 732 (algorithm == 0 && auth_mode == 1)) { /* rx a open-system auth but shared-key is enabled */ in OnAuth() 793 if (algorithm == 0 && (auth_mode == 0 || auth_mode == 2 || auth_mode == 3)) { in OnAuth()
|