Home
last modified time | relevance | path

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

12

/linux-6.15/security/selinux/ss/
H A 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.15/drivers/crypto/ccree/
H A Dcc_hash.c754 ctx->key_params.key = NULL; in cc_hash_setkey()
758 if (!ctx->key_params.key) in cc_hash_setkey()
771 &ctx->key_params.key_dma_addr, ctx->key_params.keylen); in cc_hash_setkey()
913 &ctx->key_params.key_dma_addr, ctx->key_params.keylen); in cc_hash_setkey()
945 if (!ctx->key_params.key) in cc_xcbc_setkey()
948 ctx->key_params.key_dma_addr = in cc_xcbc_setkey()
957 &ctx->key_params.key_dma_addr, ctx->key_params.keylen); in cc_xcbc_setkey()
1000 &ctx->key_params.key_dma_addr, ctx->key_params.keylen); in cc_xcbc_setkey()
1067 ctx->key_params.keylen = 0; in cc_free_ctx()
1074 ctx->key_params.keylen = 0; in cc_alloc_ctx()
[all …]
/linux-6.15/drivers/net/wireless/microchip/wilc1000/
H A Dcfg80211.c516 struct key_params *params) in wilc_wfi_cfg_copy_wpa_info()
542 struct key_params *params) in add_key()
693 struct key_params key_params; in get_key() local
698 key_params.key = priv->wilc_igtk[key_index]->key; in get_key()
701 key_params.seq = priv->wilc_igtk[key_index]->seq; in get_key()
704 key_params.key = priv->wilc_gtk[key_index]->key; in get_key()
707 key_params.seq = priv->wilc_gtk[key_index]->seq; in get_key()
711 key_params.key = priv->wilc_ptk[key_index]->key; in get_key()
712 key_params.cipher = priv->wilc_ptk[key_index]->cipher; in get_key()
714 key_params.seq = priv->wilc_ptk[key_index]->seq; in get_key()
[all …]
/linux-6.15/drivers/net/wireless/marvell/mwifiex/
H A Dsta_cmd.c601 km->key_param_set.key_params.cmac_aes.key_len = 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()
747 km->key_param_set.key_params.wapi.key_len = in mwifiex_cmd_802_11_key_material_v2()
749 memcpy(km->key_param_set.key_params.wapi.key, in mwifiex_cmd_802_11_key_material_v2()
786 memcpy(km->key_param_set.key_params.tkip.pn, in mwifiex_cmd_802_11_key_material_v2()
789 km->key_param_set.key_params.tkip.key_len = in mwifiex_cmd_802_11_key_material_v2()
[all …]
H A 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()
H A Dsta_ioctl.c1093 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp, in mwifiex_set_encode()
H A Dmain.h1497 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp,
H A Dfw.h1019 } key_params; member
/linux-6.15/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.h39 const u8 *mac_addr, struct key_params *params);
H A Dcfg80211.c536 const u8 *mac_addr, struct key_params *params) in qtnf_add_key()
H A Dcommands.c1726 const u8 *mac_addr, struct key_params *params) in qtnf_cmd_send_add_key()
/linux-6.15/Documentation/driver-api/80211/
H A Dcfg80211.rst52 key_params
/linux-6.15/net/wireless/
H A Dcore.h288 struct key_params params[4];
438 struct key_params *params, int key_idx,
H A Dwext-compat.c400 int idx, struct key_params *params) in cfg80211_set_encryption()
569 struct key_params params; in cfg80211_wext_siwencode()
640 struct key_params params; in cfg80211_wext_siwencodeext()
H A Drdev-ops.h82 struct key_params *params) in rdev_add_key()
97 void (*callback)(void *cookie, struct key_params*)) in rdev_get_key() argument
H A Dutil.c314 struct key_params *params, int key_idx, in cfg80211_validate_key_settings()
/linux-6.15/drivers/net/wireless/ath/wil6210/
H A Dcfg80211.c1561 struct key_params *params) in wil_set_crypto_rx()
1624 struct key_params *params) in wil_cfg80211_add_key()
2037 struct key_params key_params = {}; in wil_cfg80211_ap_recovery() local
2070 key_params.key = vif->gtk; in wil_cfg80211_ap_recovery()
2071 key_params.key_len = vif->gtk_len; in wil_cfg80211_ap_recovery()
2072 key_params.seq_len = IEEE80211_GCMP_PN_LEN; in wil_cfg80211_ap_recovery()
2074 false, NULL, &key_params); in wil_cfg80211_ap_recovery()
H A Dwil6210.h1387 struct key_params *params);
/linux-6.15/drivers/net/ethernet/freescale/dpaa2/
H A 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.15/include/net/
H A Dcfg80211.h799 struct key_params { struct
3303 struct key_params *wep_keys;
4668 const u8 *mac_addr, struct key_params *params);
4672 void (*callback)(void *cookie, struct key_params*));
/linux-6.15/drivers/net/wireless/ath/ath6kl/
H A 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.15/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c833 const u8 *mac_addr, struct key_params *params) in cfg80211_rtw_add_key()
915 struct key_params*)) in cfg80211_rtw_get_key() argument
/linux-6.15/drivers/net/wireless/marvell/libertas/
H A Dcfg.c1509 const u8 *mac_addr, struct key_params *params) in lbs_cfg_add_key()
/linux-6.15/net/mac80211/
H A Dcfg.c487 const u8 *mac_addr, struct key_params *params) in ieee80211_add_key()
682 struct key_params *params)) in ieee80211_get_key()
686 struct key_params params; in ieee80211_get_key()
/linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c2783 const u8 *mac_addr, struct key_params *params) in brcmf_cfg80211_add_key()
2907 struct key_params *params)) in brcmf_cfg80211_get_key()
2910 struct key_params params; in brcmf_cfg80211_get_key()

12