Home
last modified time | relevance | path

Searched refs:cipher_type (Results 1 – 25 of 25) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/target_if/crypto/src/
H A Dtarget_if_crypto.c54 enum wlan_crypto_cipher_type cipher_type, in wlan_crypto_set_wapi_key() argument
67 if (cipher_type != WLAN_CRYPTO_CIPHER_WAPI_SMS4 && in wlan_crypto_set_wapi_key()
68 cipher_type != WLAN_CRYPTO_CIPHER_WAPI_GCM4) in wlan_crypto_set_wapi_key()
90 enum wlan_crypto_cipher_type cipher_type, in wlan_crypto_set_wapi_key() argument
103 if (cipher_type != WLAN_CRYPTO_CIPHER_WAPI_SMS4 && in wlan_crypto_set_wapi_key()
104 cipher_type != WLAN_CRYPTO_CIPHER_WAPI_GCM4) in wlan_crypto_set_wapi_key()
239 params.key_cipher = wlan_crypto_cipher_to_wmi_cipher(req->cipher_type); in target_if_crypto_set_key()
240 sec_type = wlan_crypto_cipher_to_cdp_sec_type(req->cipher_type); in target_if_crypto_set_key()
241 wlan_crypto_set_wapi_key(vdev, pairwise, req->cipher_type, &params); in target_if_crypto_set_key()
243 switch (req->cipher_type) { in target_if_crypto_set_key()
/wlan-driver/qcacld-3.0/core/sme/src/csr/
H A Dcsr_api_scan.c735 void csr_fill_enc_type(eCsrEncryptionType *cipher_type, uint32_t cipherset) in csr_fill_enc_type() argument
738 *cipher_type = eCSR_ENCRYPT_TYPE_NONE; in csr_fill_enc_type()
742 *cipher_type = eCSR_ENCRYPT_TYPE_AES_GCMP_256; in csr_fill_enc_type()
744 *cipher_type = eCSR_ENCRYPT_TYPE_AES_GCMP; in csr_fill_enc_type()
748 *cipher_type = eCSR_ENCRYPT_TYPE_AES; in csr_fill_enc_type()
750 *cipher_type = eCSR_ENCRYPT_TYPE_TKIP; in csr_fill_enc_type()
753 *cipher_type = eCSR_ENCRYPT_TYPE_AES_CMAC; in csr_fill_enc_type()
756 *cipher_type = eCSR_ENCRYPT_TYPE_WPI; in csr_fill_enc_type()
758 *cipher_type = eCSR_ENCRYPT_TYPE_AES_GMAC_128; in csr_fill_enc_type()
760 *cipher_type = eCSR_ENCRYPT_TYPE_AES_GMAC_256; in csr_fill_enc_type()
[all …]
/wlan-driver/qca-wifi-host-cmn/os_if/linux/crypto/src/
H A Dwlan_cfg80211_crypto.c53 crypto_key->cipher_type = osif_nl_to_crypto_cipher_type(params->cipher); in wlan_cfg80211_translate_ml_sta_key()
55 if (IS_WEP_CIPHER(crypto_key->cipher_type) && !mac_addr) { in wlan_cfg80211_translate_ml_sta_key()
88 crypto_key->cipher_type = osif_nl_to_crypto_cipher_type(params->cipher); in wlan_cfg80211_translate_key()
89 if (IS_WEP_CIPHER(crypto_key->cipher_type) && !mac_addr) { in wlan_cfg80211_translate_key()
/wlan-driver/qcacld-3.0/core/hdd/src/
H A Dwlan_hdd_assoc.c2752 eCsrEncryptionType cipher_type; in hdd_translate_rsn_to_csr_encryption_type() local
2755 cipher_type = eCSR_ENCRYPT_TYPE_AES; in hdd_translate_rsn_to_csr_encryption_type()
2757 cipher_type = eCSR_ENCRYPT_TYPE_AES_GCMP; in hdd_translate_rsn_to_csr_encryption_type()
2759 cipher_type = eCSR_ENCRYPT_TYPE_AES_GCMP_256; in hdd_translate_rsn_to_csr_encryption_type()
2761 cipher_type = eCSR_ENCRYPT_TYPE_TKIP; in hdd_translate_rsn_to_csr_encryption_type()
2763 cipher_type = eCSR_ENCRYPT_TYPE_NONE; in hdd_translate_rsn_to_csr_encryption_type()
2765 cipher_type = eCSR_ENCRYPT_TYPE_WEP40_STATICKEY; in hdd_translate_rsn_to_csr_encryption_type()
2767 cipher_type = eCSR_ENCRYPT_TYPE_WEP104_STATICKEY; in hdd_translate_rsn_to_csr_encryption_type()
2769 cipher_type = eCSR_ENCRYPT_TYPE_FAILED; in hdd_translate_rsn_to_csr_encryption_type()
2771 return cipher_type; in hdd_translate_rsn_to_csr_encryption_type()
[all …]
H A Dwlan_hdd_cm_api.h119 enum wlan_crypto_cipher_type cipher_type);
H A Dwlan_hdd_cfg80211.h1055 enum wlan_crypto_cipher_type cipher_type);
1072 enum wlan_crypto_cipher_type cipher_type) in wlan_hdd_send_key_vdev() argument
H A Dwlan_hdd_wifi_pos_pasn.c231 crypto_key->cipher_type = osif_nl_to_crypto_cipher_type(cipher); in wlan_cfg80211_set_pasn_key()
H A Dwlan_hdd_cm_connect.c1908 enum wlan_crypto_cipher_type cipher_type) in hdd_cm_send_vdev_keys() argument
1910 return wlan_hdd_send_key_vdev(vdev, key_index, pairwise, cipher_type); in hdd_cm_send_vdev_keys()
H A Dwlan_hdd_cfg80211.c23625 static bool hdd_is_krk_enc_type(uint32_t cipher_type) in hdd_is_krk_enc_type() argument
23627 if (cipher_type == WLAN_CIPHER_SUITE_KRK) in hdd_is_krk_enc_type()
23633 static bool hdd_is_krk_enc_type(uint32_t cipher_type) in hdd_is_krk_enc_type() argument
23640 static bool hdd_is_btk_enc_type(uint32_t cipher_type) in hdd_is_btk_enc_type() argument
23642 if (cipher_type == WLAN_CIPHER_SUITE_BTK) in hdd_is_btk_enc_type()
23648 static bool hdd_is_btk_enc_type(uint32_t cipher_type) in hdd_is_btk_enc_type() argument
24195 enum wlan_crypto_cipher_type cipher_type) in wlan_hdd_send_key_vdev() argument
24233 QDF_SET_PARAM(ucast_cipher, cipher_type); in wlan_hdd_send_key_vdev()
24247 wma_update_set_key(vdev_id, pairwise, key_index, cipher_type); in wlan_hdd_send_key_vdev()
25101 unicast, multicast, crypto_key->cipher_type); in __wlan_hdd_cfg80211_set_default_key()
[all …]
H A Dwlan_hdd_hostapd.c1812 crypto_key->cipher_type); in hdd_hostapd_set_sap_key()
/wlan-driver/qca-wifi-host-cmn/os_if/linux/mlme/inc/
H A Dosif_cm_util.h281 enum wlan_crypto_cipher_type cipher_type);
539 enum wlan_crypto_cipher_type cipher_type);
/wlan-driver/qca-wifi-host-cmn/os_if/linux/mlme/src/
H A Dosif_cm_util.c334 bool pairwise, enum wlan_crypto_cipher_type cipher_type) in osif_cm_send_keys_cb() argument
339 cipher_type); in osif_cm_send_keys_cb()
854 enum wlan_crypto_cipher_type cipher_type) in osif_cm_send_vdev_keys() argument
861 return cb(vdev, key_index, pairwise, cipher_type); in osif_cm_send_vdev_keys()
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/core/src/
H A Dwlan_cm_util.c225 enum wlan_crypto_cipher_type cipher_type; in cm_store_wep_key() local
233 cipher_type = WLAN_CRYPTO_CIPHER_WEP_40; in cm_store_wep_key()
235 cipher_type = WLAN_CRYPTO_CIPHER_WEP_104; in cm_store_wep_key()
238 status = wlan_crypto_validate_key_params(cipher_type, in cm_store_wep_key()
265 crypto_key->cipher_type = cipher_type; in cm_store_wep_key()
272 crypto_key->cipher_type, wep_keys->key_len, in cm_store_wep_key()
311 enum wlan_crypto_cipher_type cipher_type = WLAN_CRYPTO_CIPHER_NONE; in cm_store_fils_key() local
322 cipher_type = i; in cm_store_fils_key()
341 crypto_key->cipher_type = cipher_type; in cm_store_fils_key()
348 crypto_key->cipher_type, crypto_key->keylen, in cm_store_fils_key()
/wlan-driver/qca-wifi-host-cmn/umac/mlme/include/
H A Dwlan_mlme_cmn.h134 enum wlan_crypto_cipher_type cipher_type);
955 enum wlan_crypto_cipher_type cipher_type);
974 enum wlan_crypto_cipher_type cipher_type) in mlme_cm_osif_send_keys() argument
/wlan-driver/qca-wifi-host-cmn/umac/mlme/mlme_objmgr/dispatcher/src/
H A Dwlan_cmn_mlme_main.c586 enum wlan_crypto_cipher_type cipher_type) in mlme_cm_osif_send_keys() argument
593 cipher_type); in mlme_cm_osif_send_keys()
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/crypto/inc/
H A Dwlan_crypto_global_def.h516 enum wlan_crypto_cipher_type cipher_type; member
/wlan-driver/qcacld-3.0/core/sme/inc/
H A Dcsr_api.h921 void csr_fill_enc_type(eCsrEncryptionType *cipher_type, uint32_t cipherset);
H A Dsme_api.h4640 void sme_fill_enc_type(eCsrEncryptionType *cipher_type,
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/crypto/src/
H A Dwlan_crypto_obj_mgr.c268 crypto_entry->keys.igtk_key_type = crypto_key->cipher_type; in crypto_add_entry()
H A Dwlan_crypto_global_api.c1326 req_key->type = key->cipher_type; in wlan_crypto_getkey()
4243 return crypto_key->cipher_type; in wlan_crypto_get_cipher()
4494 priv_key->igtk_key_type = crypto_key->cipher_type; in wlan_crypto_save_key()
/wlan-driver/qcacld-3.0/core/wma/inc/
H A Dwma.h2479 enum wlan_crypto_cipher_type cipher_type);
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/core/src/
H A Dwlan_cm_vdev_connect.c1716 crypto_key->cipher_type); in cm_install_link_vdev_keys()
/wlan-driver/qcacld-3.0/components/wmi/src/
H A Dwmi_unified_roam_tlv.c3996 dst_key->cipher_type = in extract_roam_synch_key_event_tlv()
4050 dst_key->cipher_type = in extract_roam_synch_key_event_tlv()
/wlan-driver/qcacld-3.0/core/wma/src/
H A Dwma_features.c6235 enum wlan_crypto_cipher_type cipher_type) in wma_update_set_key() argument
/wlan-driver/qcacld-3.0/core/sme/src/common/
H A Dsme_api.c16691 void sme_fill_enc_type(eCsrEncryptionType *cipher_type, in sme_fill_enc_type() argument
16694 csr_fill_enc_type(cipher_type, cipherset); in sme_fill_enc_type()