Home
last modified time | relevance | path

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

12

/linux-6.12.1/security/selinux/ss/
Dhashtab.h63 struct hashtab_key_params key_params) in hashtab_insert() argument
73 hvalue = key_params.hash(key) & (h->size - 1); in hashtab_insert()
77 int cmp = key_params.cmp(key, cur->key); in hashtab_insert()
98 struct hashtab_key_params key_params) in hashtab_search() argument
106 hvalue = key_params.hash(key) & (h->size - 1); in hashtab_search()
109 int cmp = key_params.cmp(key, cur->key); in hashtab_search()
/linux-6.12.1/drivers/crypto/ccree/
Dcc_hash.c94 struct hash_key_req_ctx key_params; member
751 ctx->key_params.keylen = keylen; in cc_hash_setkey()
752 ctx->key_params.key_dma_addr = 0; in cc_hash_setkey()
754 ctx->key_params.key = NULL; in cc_hash_setkey()
757 ctx->key_params.key = kmemdup(key, keylen, GFP_KERNEL); in cc_hash_setkey()
758 if (!ctx->key_params.key) in cc_hash_setkey()
761 ctx->key_params.key_dma_addr = in cc_hash_setkey()
762 dma_map_single(dev, ctx->key_params.key, keylen, in cc_hash_setkey()
764 if (dma_mapping_error(dev, ctx->key_params.key_dma_addr)) { in cc_hash_setkey()
766 ctx->key_params.key, keylen); in cc_hash_setkey()
[all …]
/linux-6.12.1/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c515 struct key_params *params) in wilc_wfi_cfg_copy_wpa_info()
541 struct key_params *params) in add_key()
688 void (*callback)(void *cookie, struct key_params *)) in get_key() argument
692 struct key_params key_params; in get_key() local
697 key_params.key = priv->wilc_igtk[key_index]->key; in get_key()
698 key_params.cipher = priv->wilc_igtk[key_index]->cipher; in get_key()
699 key_params.key_len = priv->wilc_igtk[key_index]->key_len; in get_key()
700 key_params.seq = priv->wilc_igtk[key_index]->seq; in get_key()
701 key_params.seq_len = priv->wilc_igtk[key_index]->seq_len; in get_key()
703 key_params.key = priv->wilc_gtk[key_index]->key; in get_key()
[all …]
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c596 memcpy(km->key_param_set.key_params.cmac_aes.ipn, in mwifiex_set_aes_key_v2()
601 km->key_param_set.key_params.cmac_aes.key_len = in mwifiex_set_aes_key_v2()
603 memcpy(km->key_param_set.key_params.cmac_aes.key, in mwifiex_set_aes_key_v2()
615 memcpy(km->key_param_set.key_params.aes.pn, in mwifiex_set_aes_key_v2()
618 km->key_param_set.key_params.aes.key_len = in mwifiex_set_aes_key_v2()
620 memcpy(km->key_param_set.key_params.aes.key, in mwifiex_set_aes_key_v2()
727 km->key_param_set.key_params.wep.key_len = in mwifiex_cmd_802_11_key_material_v2()
729 memcpy(km->key_param_set.key_params.wep.key, in mwifiex_cmd_802_11_key_material_v2()
745 memcpy(km->key_param_set.key_params.wapi.pn, enc_key->pn, in mwifiex_cmd_802_11_key_material_v2()
747 km->key_param_set.key_params.wapi.key_len = in mwifiex_cmd_802_11_key_material_v2()
[all …]
Dsta_cmdresp.c610 len = le16_to_cpu(key_v2->key_param_set.key_params.aes.key_len); in mwifiex_ret_802_11_key_material_v2()
611 if (len > sizeof(key_v2->key_param_set.key_params.aes.key)) in mwifiex_ret_802_11_key_material_v2()
626 memset(priv->aes_key_v2.key_param_set.key_params.aes.key, 0, in mwifiex_ret_802_11_key_material_v2()
627 sizeof(key_v2->key_param_set.key_params.aes.key)); in mwifiex_ret_802_11_key_material_v2()
628 priv->aes_key_v2.key_param_set.key_params.aes.key_len = in mwifiex_ret_802_11_key_material_v2()
630 memcpy(priv->aes_key_v2.key_param_set.key_params.aes.key, in mwifiex_ret_802_11_key_material_v2()
631 key_v2->key_param_set.key_params.aes.key, len); in mwifiex_ret_802_11_key_material_v2()
Dsta_ioctl.c1095 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp, in mwifiex_set_encode()
Dmain.h1501 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp,
Dfw.h1014 } key_params; member
/linux-6.12.1/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.h39 const u8 *mac_addr, struct key_params *params);
Dcfg80211.c536 const u8 *mac_addr, struct key_params *params) in qtnf_add_key()
Dcommands.c1726 const u8 *mac_addr, struct key_params *params) in qtnf_cmd_send_add_key()
/linux-6.12.1/Documentation/driver-api/80211/
Dcfg80211.rst52 key_params
/linux-6.12.1/net/wireless/
Dcore.h289 struct key_params params[4];
439 struct key_params *params, int key_idx,
Dwext-compat.c421 int idx, struct key_params *params) in cfg80211_set_encryption()
592 struct key_params params; in cfg80211_wext_siwencode()
669 struct key_params params; in cfg80211_wext_siwencodeext()
Drdev-ops.h82 struct key_params *params) in rdev_add_key()
97 void (*callback)(void *cookie, struct key_params*)) in rdev_get_key() argument
Dutil.c314 struct key_params *params, int key_idx, in cfg80211_validate_key_settings()
/linux-6.12.1/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1560 struct key_params *params) in wil_set_crypto_rx()
1623 struct key_params *params) in wil_cfg80211_add_key()
2036 struct key_params key_params = {}; in wil_cfg80211_ap_recovery() local
2069 key_params.key = vif->gtk; in wil_cfg80211_ap_recovery()
2070 key_params.key_len = vif->gtk_len; in wil_cfg80211_ap_recovery()
2071 key_params.seq_len = IEEE80211_GCMP_PN_LEN; in wil_cfg80211_ap_recovery()
2073 false, NULL, &key_params); in wil_cfg80211_ap_recovery()
Dwil6210.h1387 struct key_params *params);
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c3685 struct dpni_rule_cfg key_params; in dpaa2_eth_set_vlan_qos() local
3743 key_params.key_iova = dma_map_single(dev, key, key_size * 2, in dpaa2_eth_set_vlan_qos()
3745 if (dma_mapping_error(dev, key_params.key_iova)) { in dpaa2_eth_set_vlan_qos()
3751 key_params.mask_iova = key_params.key_iova + key_size; in dpaa2_eth_set_vlan_qos()
3752 key_params.key_size = key_size; in dpaa2_eth_set_vlan_qos()
3761 dma_sync_single_for_device(dev, key_params.key_iova, in dpaa2_eth_set_vlan_qos()
3765 &key_params, i, i); in dpaa2_eth_set_vlan_qos()
3779 dma_unmap_single(dev, key_params.key_iova, key_size * 2, DMA_TO_DEVICE); in dpaa2_eth_set_vlan_qos()
/linux-6.12.1/include/net/
Dcfg80211.h796 struct key_params { struct
3259 struct key_params *wep_keys;
4614 const u8 *mac_addr, struct key_params *params);
4618 void (*callback)(void *cookie, struct key_params*));
/linux-6.12.1/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c1129 struct key_params *params) in ath6kl_cfg80211_add_key()
1285 struct key_params *)) in ath6kl_cfg80211_get_key() argument
1289 struct key_params params; in ath6kl_cfg80211_get_key()
/linux-6.12.1/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c843 const u8 *mac_addr, struct key_params *params) in cfg80211_rtw_add_key()
925 struct key_params*)) in cfg80211_rtw_get_key() argument
/linux-6.12.1/drivers/net/wireless/marvell/libertas/
Dcfg.c1508 const u8 *mac_addr, struct key_params *params) in lbs_cfg_add_key()
/linux-6.12.1/net/mac80211/
Dcfg.c465 const u8 *mac_addr, struct key_params *params) in ieee80211_add_key()
655 struct key_params *params)) in ieee80211_get_key()
659 struct key_params params; in ieee80211_get_key()
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c2779 const u8 *mac_addr, struct key_params *params) in brcmf_cfg80211_add_key()
2903 struct key_params *params)) in brcmf_cfg80211_get_key()
2906 struct key_params params; in brcmf_cfg80211_get_key()

12