Home
last modified time | relevance | path

Searched refs:auth_mode (Results 1 - 25 of 89) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/crypto/ccree/
H A 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()
[all...]
H A Dcc_driver.h164 int auth_mode; member
180 int auth_mode; member
/kernel/linux/linux-6.6/drivers/crypto/ccree/
H A 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()
[all...]
H A Dcc_driver.h164 int auth_mode; member
180 int auth_mode; member
/kernel/linux/linux-6.6/tools/net/ynl/generated/
H A Dhandshake-user.h64 __u32 auth_mode:1; member
71 enum handshake_auth auth_mode; member
H A Dhandshake-user.c195 dst->_present.auth_mode = 1; in handshake_accept_rsp_parse()
196 dst->auth_mode = mnl_attr_get_u32(attr); in handshake_accept_rsp_parse()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A Duap_cmd.c46 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()
619 if ((bss_cfg->auth_mode <= WLAN_AUTH_SHARED_KEY) || in mwifiex_uap_bss_param_prepare()
620 (bss_cfg->auth_mode == MWIFIEX_AUTH_MODE_AUTO)) { in mwifiex_uap_bss_param_prepare()
626 auth_type->auth_type = (u8)bss_cfg->auth_mode; in mwifiex_uap_bss_param_prepare()
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
H A 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()
608 if ((bss_cfg->auth_mode <= WLAN_AUTH_SHARED_KEY) || in mwifiex_uap_bss_param_prepare()
609 (bss_cfg->auth_mode == MWIFIEX_AUTH_MODE_AUTO)) { in mwifiex_uap_bss_param_prepare()
615 auth_type->auth_type = (u8)bss_cfg->auth_mode; in mwifiex_uap_bss_param_prepare()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
H A 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 in ath6kl_set_key_mgmt()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/
H A 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 in ath6kl_set_key_mgmt()
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
H A Drtllib_wx.c432 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()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_wx.c416 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 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()
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()
/kernel/linux/linux-6.6/drivers/staging/rtl8192e/
H A Drtllib_wx.c407 ieee->auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : in rtllib_wx_set_encode()
409 sec.auth_mode = ieee->open_wep ? WLAN_AUTH_OPEN : WLAN_AUTH_SHARED_KEY; in rtllib_wx_set_encode()
411 netdev_dbg(ieee->dev, "Auth: %s\n", sec.auth_mode == WLAN_AUTH_OPEN ? in rtllib_wx_set_encode()
685 ieee->auth_mode = 1; in rtllib_wx_set_auth()
688 ieee->auth_mode = 0; in rtllib_wx_set_auth()
691 ieee->auth_mode = 2; in rtllib_wx_set_auth()
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ieee80211/
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dvendor-cmd.c46 csme_conn_info->conn_info.auth_mode) || in iwl_mvm_vendor_get_csme_conn_info()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mei/
H A Diwl-mei.h257 * @auth_mode: authentication mode
267 u8 auth_mode; member
/kernel/linux/linux-5.10/drivers/crypto/bcm/
H A Dspu2.h205 enum hash_alg auth_alg, enum hash_mode auth_mode,
H A Dspu2.c606 * @auth_mode: authentication mode
614 enum spu2_hash_mode auth_mode) in spu2_fmd_ctrl0_write()
634 ((u64)auth_mode << SPU2_HASH_MODE_SHIFT)); in spu2_fmd_ctrl0_write()
1232 * @auth_mode: Authentication mode
1243 enum hash_alg auth_alg, enum hash_mode auth_mode, in spu2_request_pad()
608 spu2_fmd_ctrl0_write(struct SPU2_FMD *fmd, bool is_inbound, bool auth_first, enum spu2_proto_sel protocol, enum spu2_cipher_type cipher_type, enum spu2_cipher_mode cipher_mode, enum spu2_hash_type auth_type, enum spu2_hash_mode auth_mode) spu2_fmd_ctrl0_write() argument
1242 spu2_request_pad(u8 *pad_start, u32 gcm_padding, u32 hash_pad_len, enum hash_alg auth_alg, enum hash_mode auth_mode, unsigned int total_sent, u32 status_padding) spu2_request_pad() argument
H A Dspu.h260 enum hash_mode auth_mode,
/kernel/linux/linux-6.6/drivers/crypto/bcm/
H A Dspu2.h205 enum hash_alg auth_alg, enum hash_mode auth_mode,
H A Dspu2.c607 * @auth_mode: authentication mode
615 enum spu2_hash_mode auth_mode) in spu2_fmd_ctrl0_write()
635 ((u64)auth_mode << SPU2_HASH_MODE_SHIFT)); in spu2_fmd_ctrl0_write()
1235 * @auth_mode: Authentication mode
1246 enum hash_alg auth_alg, enum hash_mode auth_mode, in spu2_request_pad()
609 spu2_fmd_ctrl0_write(struct SPU2_FMD *fmd, bool is_inbound, bool auth_first, enum spu2_proto_sel protocol, enum spu2_cipher_type cipher_type, enum spu2_cipher_mode cipher_mode, enum spu2_hash_type auth_type, enum spu2_hash_mode auth_mode) spu2_fmd_ctrl0_write() argument
1245 spu2_request_pad(u8 *pad_start, u32 gcm_padding, u32 hash_pad_len, enum hash_alg auth_alg, enum hash_mode auth_mode, unsigned int total_sent, u32 status_padding) spu2_request_pad() argument
/kernel/linux/linux-6.6/drivers/crypto/gemini/
H A Dsl3516-ce.h165 * @auth_mode: 0:append 1:Check Authentication Result
177 u32 auth_mode :1; member
/kernel/linux/linux-5.10/drivers/crypto/chelsio/
H A Dchcr_crypto.h221 unsigned char auth_mode; member

Completed in 30 milliseconds

1234