/linux/drivers/crypto/ccree/ |
A D | cc_aead.c | 61 enum drv_hash_mode auth_mode; member 139 ctx->auth_mode = cc_alg->auth_mode; in cc_aead_init() 313 ctx->auth_mode), in hmac_setkey() 369 switch (ctx->auth_mode) { in validate_keys_sizes() 459 ctx->auth_mode); in cc_get_plain_hmac_key() 609 switch (ctx->auth_mode) { in cc_aead_setkey() 1986 switch (ctx->auth_mode) { in cc_proc_aead() 2314 .auth_mode = DRV_HASH_SHA1, 2334 .auth_mode = DRV_HASH_SHA1, 2414 .auth_mode = DRV_HASH_SHA1, [all …]
|
A D | cc_driver.h | 164 int auth_mode; member 180 int auth_mode; member
|
/linux/drivers/net/wireless/ath/ath6kl/ |
A 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() 280 vif->auth_mode = NONE_AUTH; in ath6kl_set_key_mgmt() 2828 p.auth_mode |= WPA_AUTH; in ath6kl_start_ap() 2830 p.auth_mode |= WPA2_AUTH; in ath6kl_start_ap() 2840 if (p.auth_mode == 0) in ath6kl_start_ap() 2841 p.auth_mode = NONE_AUTH; in ath6kl_start_ap() [all …]
|
A D | wmi.h | 685 enum auth_mode { enum 738 u8 auth_mode; member 2558 enum auth_mode auth_mode,
|
A 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()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
A 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() 612 if ((bss_cfg->auth_mode <= WLAN_AUTH_SHARED_KEY) || in mwifiex_uap_bss_param_prepare() 613 (bss_cfg->auth_mode == MWIFIEX_AUTH_MODE_AUTO)) { in mwifiex_uap_bss_param_prepare() 619 auth_type->auth_type = (u8)bss_cfg->auth_mode; in mwifiex_uap_bss_param_prepare()
|
A D | ioctl.h | 108 u16 auth_mode; member
|
/linux/drivers/staging/rtl8192e/ |
A 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()
|
/linux/drivers/staging/rtl8192u/ieee80211/ |
A 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()
|
A 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()
|
/linux/drivers/crypto/bcm/ |
A D | spu2.h | 205 enum hash_alg auth_alg, enum hash_mode auth_mode,
|
A D | spu.h | 261 enum hash_mode auth_mode,
|
A 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
|
A D | cipher.h | 395 enum hash_mode auth_mode,
|
A D | spu.c | 1029 enum hash_mode auth_mode, in spum_request_pad() argument 1047 (auth_mode == HASH_MODE_XCBC)) { in spum_request_pad()
|
/linux/drivers/crypto/gemini/ |
A D | sl3516-ce.h | 178 u32 auth_mode :1; member
|
/linux/drivers/net/wireless/ |
A D | rndis_wlan.c | 1090 int auth_mode, ret; in set_auth_mode() local 1097 auth_mode = NDIS_80211_AUTH_WPA2; in set_auth_mode() 1099 auth_mode = NDIS_80211_AUTH_WPA2_PSK; in set_auth_mode() 1102 auth_mode = NDIS_80211_AUTH_WPA; in set_auth_mode() 1104 auth_mode = NDIS_80211_AUTH_WPA_PSK; in set_auth_mode() 1106 auth_mode = NDIS_80211_AUTH_WPA_NONE; in set_auth_mode() 1108 auth_mode = NDIS_80211_AUTH_SHARED; in set_auth_mode() 1110 auth_mode = NDIS_80211_AUTH_OPEN; in set_auth_mode() 1112 auth_mode = NDIS_80211_AUTH_AUTO_SWITCH; in set_auth_mode() 1116 tmp = cpu_to_le32(auth_mode); in set_auth_mode()
|
/linux/drivers/net/wireless/intel/ipw2x00/ |
A 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() 5489 auth_mode = IPW_AUTH_OPEN; in ipw2100_configure_security() 5492 auth_mode = IPW_AUTH_SHARED; in ipw2100_configure_security() 5494 auth_mode = IPW_AUTH_LEAP_CISCO_ID; in ipw2100_configure_security() 5596 (priv->ieee->sec.auth_mode != sec->auth_mode)) { in shim__set_security() 5597 priv->ieee->sec.auth_mode = sec->auth_mode; in shim__set_security() 5868 sec.auth_mode = WLAN_AUTH_SHARED_KEY; in ipw2100_wpa_set_auth_algs() 5871 sec.auth_mode = WLAN_AUTH_OPEN; in ipw2100_wpa_set_auth_algs() [all …]
|
A 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/drivers/crypto/chelsio/ |
A D | chcr_crypto.h | 221 unsigned char auth_mode; member
|
A D | chcr_algo.h | 239 unsigned int auth_mode; member
|
A 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()
|
/linux/drivers/staging/rtl8192e/rtl8192e/ |
A D | rtl_cam.c | 33 (priv->rtllib->auth_mode != 2)) { in rtl92e_enable_hw_security_config()
|
/linux/drivers/net/wireless/atmel/ |
A D | at76c50x-usb.h | 407 int auth_mode; /* authentication type: 0 open, 1 shared key */ member
|
/linux/drivers/staging/rtl8723bs/core/ |
A 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()
|