Home
last modified time | relevance | path

Searched refs:cipher (Results 1 – 18 of 18) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/os_if/linux/crypto/src/
Dwlan_cfg80211_crypto.c53 crypto_key->cipher_type = osif_nl_to_crypto_cipher_type(params->cipher); 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()
123 enum wlan_crypto_cipher_type cipher; in wlan_cfg80211_store_link_key() local
135 cipher_len = osif_nl_to_crypto_cipher_len(params->cipher); in wlan_cfg80211_store_link_key()
141 cipher = osif_nl_to_crypto_cipher_type(params->cipher); in wlan_cfg80211_store_link_key()
142 if (!IS_WEP_CIPHER(cipher)) { in wlan_cfg80211_store_link_key()
149 status = wlan_crypto_validate_key_params(cipher, key_index, in wlan_cfg80211_store_link_key()
193 enum wlan_crypto_cipher_type cipher; in wlan_cfg80211_store_key() local
205 cipher_len = osif_nl_to_crypto_cipher_len(params->cipher); in wlan_cfg80211_store_key()
211 cipher = osif_nl_to_crypto_cipher_type(params->cipher); in wlan_cfg80211_store_key()
[all …]
Dwlan_nl_to_crypto_params.c338 enum wlan_crypto_cipher_type osif_nl_to_crypto_cipher_type(u32 cipher) in osif_nl_to_crypto_cipher_type() argument
346 if (osif_cipher_crypto_mapping[index].cipher_suite == cipher) { in osif_nl_to_crypto_cipher_type()
355 cipher); in osif_nl_to_crypto_cipher_type()
359 cipher, crypto_cipher_type); in osif_nl_to_crypto_cipher_type()
364 int osif_nl_to_crypto_cipher_len(u32 cipher) in osif_nl_to_crypto_cipher_len() argument
370 if (osif_cipher_crypto_mapping[index].cipher_suite == cipher) in osif_nl_to_crypto_cipher_len()
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/crypto/src/
Dwlan_crypto_param_handling.c40 cipher2cap(int cipher) in cipher2cap() argument
42 switch (cipher) { in cipher2cap()
73 wlan_crypto_cipher_type cipher) in wlan_crypto_set_mcastcipher() argument
82 if (HAS_PARAM(cipher, i)) { in wlan_crypto_set_mcastcipher()
89 CLEAR_PARAM(cipher, i); in wlan_crypto_set_mcastcipher()
101 uint32_t cipher) in wlan_crypto_set_ucastciphers() argument
110 if (HAS_PARAM(cipher, i)) { in wlan_crypto_set_ucastciphers()
117 CLEAR_PARAM(cipher, i); in wlan_crypto_set_ucastciphers()
Dwlan_crypto_global_api.c45 #define WPA_ADD_CIPHER_TO_SUITE(frm, cipher) \ argument
47 wlan_crypto_wpa_cipher_to_suite(cipher))
49 #define RSN_ADD_CIPHER_TO_SUITE(frm, cipher) \ argument
51 wlan_crypto_rsn_cipher_to_suite(cipher))
768 const struct wlan_crypto_cipher *cipher; in wlan_crypto_setkey() local
799 cipher = wlan_crypto_cipher_ops[req_key->type]; in wlan_crypto_setkey()
801 if (!cipher && !IS_MGMT_CIPHER(req_key->type)) { in wlan_crypto_setkey()
806 if (cipher && (!IS_FILS_CIPHER(req_key->type)) && in wlan_crypto_setkey()
808 ((req_key->keylen != (cipher->keylen / CRYPTO_NBBY)) && in wlan_crypto_setkey()
1030 key->cipher_table = (void *)cipher; in wlan_crypto_setkey()
[all …]
Dwlan_crypto_param_handling_i.h60 wlan_crypto_cipher_type cipher);
Dwlan_crypto_def_i.h432 wlan_crypto_cipher_type cipher; member
/wlan-driver/qca-wifi-host-cmn/os_if/linux/crypto/inc/
Dwlan_nl_to_crypto_params.h59 enum wlan_crypto_cipher_type osif_nl_to_crypto_cipher_type(u32 cipher);
69 int osif_nl_to_crypto_cipher_len(u32 cipher);
/wlan-driver/qca-wifi-host-cmn/os_if/linux/mlme/src/
Dosif_cm_req.c206 wlan_crypto_cipher_type cipher = WLAN_CRYPTO_CIPHER_NONE; in osif_cm_set_crypto_params() local
213 cipher = in osif_cm_set_crypto_params()
216 QDF_SET_PARAM(connect_req->crypto.group_cipher, cipher); in osif_cm_set_crypto_params()
222 cipher = osif_nl_to_crypto_cipher_type( in osif_cm_set_crypto_params()
225 cipher); in osif_cm_set_crypto_params()
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_wifi_pos_pasn.c208 uint32_t cipher; in wlan_cfg80211_set_pasn_key() local
229 cipher = nla_get_u32( in wlan_cfg80211_set_pasn_key()
231 crypto_key->cipher_type = osif_nl_to_crypto_cipher_type(cipher); in wlan_cfg80211_set_pasn_key()
233 cipher_len = osif_nl_to_crypto_cipher_len(cipher); in wlan_cfg80211_set_pasn_key()
Dwlan_hdd_cfg80211.c23712 enum wlan_crypto_cipher_type cipher) in wlan_hdd_add_key_sap() argument
23742 key_index, cipher); in wlan_hdd_add_key_sap()
24052 enum wlan_crypto_cipher_type cipher; in wlan_hdd_add_key_vdev() local
24061 if (hdd_is_btk_enc_type(params->cipher)) in wlan_hdd_add_key_vdev()
24064 if (hdd_is_krk_enc_type(params->cipher)) in wlan_hdd_add_key_vdev()
24140 cipher = osif_nl_to_crypto_cipher_type(params->cipher); in wlan_hdd_add_key_vdev()
24141 QDF_SET_PARAM(ucast_cipher, cipher); in wlan_hdd_add_key_vdev()
24170 keyidx, cipher); in wlan_hdd_add_key_vdev()
24186 cipher); in wlan_hdd_add_key_vdev()
24763 params.cipher = IW_AUTH_CIPHER_NONE; in __wlan_hdd_cfg80211_get_key()
[all …]
/wlan-driver/qcacld-3.0/core/mac/src/pe/include/
Dlim_fils_defs.h327 uint8_t cipher; member
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/core/src/
Dwlan_cm_util.c179 enum wlan_crypto_cipher_type cipher; in cm_set_key() local
183 cipher = wlan_crypto_get_cipher(cm_ctx->vdev, unicast, key_idx); in cm_set_key()
184 if (IS_WEP_CIPHER(cipher)) { in cm_set_key()
310 int32_t cipher; in cm_store_fils_key() local
314 cipher = wlan_crypto_get_param(cm_ctx->vdev, in cm_store_fils_key()
317 cipher = wlan_crypto_get_param(cm_ctx->vdev, in cm_store_fils_key()
321 if (QDF_HAS_PARAM(cipher, i)) { in cm_store_fils_key()
Dwlan_cm_connect.c1193 int32_t cipher; in cm_set_fils_wep_key() local
1202 cipher = wlan_crypto_get_param(cm_ctx->vdev, in cm_set_fils_wep_key()
1204 if (cipher < 0) in cm_set_fils_wep_key()
1207 if (!(cipher & (1 << WLAN_CRYPTO_CIPHER_WEP_40 | in cm_set_fils_wep_key()
/wlan-driver/qca-wifi-host-cmn/target_if/crypto/src/
Dtarget_if_crypto.c129 enum wlan_crypto_cipher_type cipher, in wlan_crypto_set_wapi_key() argument
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/crypto/inc/
Dwlan_crypto_global_api.h925 QDF_STATUS wlan_crypto_validate_key_params(enum wlan_crypto_cipher_type cipher,
/wlan-driver/qcacld-3.0/core/sme/src/csr/
Dcsr_api_roam.c3637 enum wlan_crypto_cipher_type cipher; in csr_roam_issue_set_context_req() local
3648 cipher = wlan_crypto_get_cipher(vdev, unicast, key_idx); in csr_roam_issue_set_context_req()
3649 if (IS_WEP_CIPHER(cipher)) { in csr_roam_issue_set_context_req()
3661 session_id, cipher, unicast, key_idx, wep_key_idx, add_key); in csr_roam_issue_set_context_req()
3662 if (!IS_WEP_CIPHER(cipher) && !add_key) in csr_roam_issue_set_context_req()
/wlan-driver/qcacld-3.0/core/wma/inc/
Dwma.h2465 void wma_set_peer_ucast_cipher(uint8_t *mac_addr, int32_t cipher,
/wlan-driver/qcacld-3.0/components/wmi/src/
Dwmi_unified_roam_tlv.c3746 enum wlan_crypto_cipher_type wlan_wmi_cipher_to_crypto(uint8_t cipher) in wlan_wmi_cipher_to_crypto() argument
3748 switch (cipher) { in wlan_wmi_cipher_to_crypto()