| /OK3568_Linux_fs/kernel/drivers/crypto/ccree/ |
| H A 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 …]
|
| H A D | cc_driver.h | 164 int auth_mode; member 180 int auth_mode; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath6kl/ |
| H 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() 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 …]
|
| H A D | wmi.h | 685 enum auth_mode { enum 738 u8 auth_mode; member 2558 enum auth_mode auth_mode,
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/ |
| H 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() 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()
|
| H A D | ioctl.h | 108 u16 auth_mode; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlinux/ |
| H A D | moal_wext.c | 866 t_u32 auth_mode = 0; in woal_set_encode() local 944 auth_mode = MLAN_AUTH_MODE_SHARED; in woal_set_encode() 949 auth_mode = MLAN_AUTH_MODE_OPEN; in woal_set_encode() 955 auth_mode = MLAN_AUTH_MODE_AUTO; in woal_set_encode() 960 woal_set_auth_mode(priv, MOAL_IOCTL_WAIT, auth_mode)) in woal_set_encode() 988 t_u32 auth_mode; in woal_get_encode() local 999 woal_get_auth_mode(priv, MOAL_IOCTL_WAIT, &auth_mode)) { in woal_get_encode() 1007 switch (auth_mode) { in woal_get_encode() 1576 t_u32 auth_mode = 0; in woal_set_auth() local 1601 auth_mode = MLAN_AUTH_MODE_SHARED; in woal_set_auth() [all …]
|
| H A D | moal_uap_wext.c | 611 sys_cfg->auth_mode = MLAN_AUTH_MODE_SHARED; in woal_set_encode() 616 sys_cfg->auth_mode = MLAN_AUTH_MODE_OPEN; in woal_set_encode() 689 switch (ap_cfg->auth_mode) { in woal_get_encode() 1270 sys_cfg->auth_mode = MLAN_AUTH_MODE_SHARED; in woal_set_auth() 1276 sys_cfg->auth_mode = MLAN_AUTH_MODE_OPEN; in woal_set_auth() 1408 if (ap_cfg->auth_mode == MLAN_AUTH_MODE_SHARED) in woal_get_auth() 1410 else if (ap_cfg->auth_mode == MLAN_AUTH_MODE_NETWORKEAP) in woal_get_auth()
|
| H A D | moal_uap.c | 2423 bss->param.bss_config.auth_mode = MLAN_AUTH_MODE_OPEN; in woal_enable_wapi() 2426 bss->param.bss_config.auth_mode = MLAN_AUTH_MODE_OPEN; in woal_enable_wapi() 2805 ap_cfg->auth_mode = MLAN_AUTH_MODE_OPEN; in woal_uap_ap_cfg_parse_data() 2812 ap_cfg->auth_mode = MLAN_AUTH_MODE_OPEN; in woal_uap_ap_cfg_parse_data() 2822 ap_cfg->auth_mode = MLAN_AUTH_MODE_OPEN; in woal_uap_ap_cfg_parse_data() 2829 ap_cfg->auth_mode = MLAN_AUTH_MODE_OPEN; in woal_uap_ap_cfg_parse_data() 3521 config->auth_mode = 0x7F; in woal_set_sys_config_invalid_data()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/ |
| H A D | moal_wext.c | 1042 t_u32 auth_mode = 0; in woal_set_encode() local 1122 auth_mode = MLAN_AUTH_MODE_SHARED; in woal_set_encode() 1127 auth_mode = MLAN_AUTH_MODE_OPEN; in woal_set_encode() 1133 auth_mode = MLAN_AUTH_MODE_AUTO; in woal_set_encode() 1138 woal_set_auth_mode(priv, MOAL_IOCTL_WAIT, auth_mode)) in woal_set_encode() 1166 t_u32 auth_mode; in woal_get_encode() local 1177 woal_get_auth_mode(priv, MOAL_IOCTL_WAIT, &auth_mode)) { in woal_get_encode() 1185 switch (auth_mode) { in woal_get_encode() 1761 t_u32 auth_mode = 0; in woal_set_auth() local 1786 auth_mode = MLAN_AUTH_MODE_SHARED; in woal_set_auth() [all …]
|
| H A D | moal_uap_wext.c | 621 sys_cfg->auth_mode = MLAN_AUTH_MODE_SHARED; in woal_set_encode() 626 sys_cfg->auth_mode = MLAN_AUTH_MODE_OPEN; in woal_set_encode() 697 switch (ap_cfg->auth_mode) { in woal_get_encode() 1303 sys_cfg->auth_mode = MLAN_AUTH_MODE_SHARED; in woal_set_auth() 1309 sys_cfg->auth_mode = MLAN_AUTH_MODE_OPEN; in woal_set_auth() 1439 if (ap_cfg->auth_mode == MLAN_AUTH_MODE_SHARED) in woal_get_auth() 1441 else if (ap_cfg->auth_mode == MLAN_AUTH_MODE_NETWORKEAP) in woal_get_auth()
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8192e/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8192u/ieee80211/ |
| H A D | ieee80211_wx.c | 416 ieee->auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; in ieee80211_wx_set_encode() 417 sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; in ieee80211_wx_set_encode() 419 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()
|
| H 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() 2696 sec.auth_mode = WLAN_AUTH_SHARED_KEY; in ieee80211_wpa_set_auth_algs() 2698 ieee->auth_mode = 1; in ieee80211_wpa_set_auth_algs() 2700 sec.auth_mode = WLAN_AUTH_OPEN; in ieee80211_wpa_set_auth_algs() 2702 ieee->auth_mode = 0; in ieee80211_wpa_set_auth_algs() 2704 sec.auth_mode = WLAN_AUTH_LEAP; in ieee80211_wpa_set_auth_algs() 2706 ieee->auth_mode = 2; in ieee80211_wpa_set_auth_algs()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/esa/ |
| H A D | authenticator_api.c | 283 if ((bss_config->auth_mode <= MLAN_AUTH_MODE_SHARED) || in AuthenticatorGetBssConfig() 284 (bss_config->auth_mode == MLAN_AUTH_MODE_AUTO)) in AuthenticatorGetBssConfig() 285 pBssConfig->AuthType = bss_config->auth_mode; in AuthenticatorGetBssConfig()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/bcm/ |
| H A D | spu2.h | 205 enum hash_alg auth_alg, enum hash_mode auth_mode,
|
| H A D | spu.h | 260 enum hash_mode auth_mode,
|
| H A 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() 1243 enum hash_alg auth_alg, enum hash_mode auth_mode, in spu2_request_pad() argument
|
| H A D | cipher.h | 394 enum hash_mode auth_mode,
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/ |
| H A D | rndis_wlan.c | 1093 int auth_mode, ret; in set_auth_mode() local 1100 auth_mode = NDIS_80211_AUTH_WPA2; in set_auth_mode() 1102 auth_mode = NDIS_80211_AUTH_WPA2_PSK; in set_auth_mode() 1105 auth_mode = NDIS_80211_AUTH_WPA; in set_auth_mode() 1107 auth_mode = NDIS_80211_AUTH_WPA_PSK; in set_auth_mode() 1109 auth_mode = NDIS_80211_AUTH_WPA_NONE; in set_auth_mode() 1111 auth_mode = NDIS_80211_AUTH_SHARED; in set_auth_mode() 1113 auth_mode = NDIS_80211_AUTH_OPEN; in set_auth_mode() 1115 auth_mode = NDIS_80211_AUTH_AUTO_SWITCH; in set_auth_mode() 1119 tmp = cpu_to_le32(auth_mode); in set_auth_mode()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/ipw2x00/ |
| H 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() 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/chelsio/ |
| H A D | chcr_crypto.h | 221 unsigned char auth_mode; member
|
| H A D | chcr_algo.h | 239 unsigned int auth_mode; member
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8192e/rtl8192e/ |
| H A D | rtl_cam.c | 33 (priv->rtllib->auth_mode != 2)) { in rtl92e_enable_hw_security_config()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/atmel/ |
| H A D | at76c50x-usb.h | 407 int auth_mode; /* authentication type: 0 open, 1 shared key */ member
|