Home
last modified time | relevance | path

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

12

/Linux-v6.6/security/selinux/ss/
Dhashtab.h62 struct hashtab_key_params key_params) in hashtab_insert() argument
72 hvalue = key_params.hash(key) & (h->size - 1); in hashtab_insert()
76 int cmp = key_params.cmp(key, cur->key); in hashtab_insert()
97 struct hashtab_key_params key_params) in hashtab_search() argument
105 hvalue = key_params.hash(key) & (h->size - 1); in hashtab_search()
108 int cmp = key_params.cmp(key, cur->key); in hashtab_search()
/Linux-v6.6/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-v6.6/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c519 struct key_params *params) in wilc_wfi_cfg_copy_wpa_info()
545 struct key_params *params) in add_key()
692 void (*callback)(void *cookie, struct key_params *)) in get_key() argument
696 struct key_params key_params; in get_key() local
701 key_params.key = priv->wilc_igtk[key_index]->key; in get_key()
702 key_params.cipher = priv->wilc_igtk[key_index]->cipher; in get_key()
703 key_params.key_len = priv->wilc_igtk[key_index]->key_len; in get_key()
704 key_params.seq = priv->wilc_igtk[key_index]->seq; in get_key()
705 key_params.seq_len = priv->wilc_igtk[key_index]->seq_len; in get_key()
707 key_params.key = priv->wilc_gtk[key_index]->key; in get_key()
[all …]
/Linux-v6.6/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.c1096 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp, in mwifiex_set_encode()
Dmain.h1490 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp,
Dfw.h973 } key_params; member
/Linux-v6.6/drivers/staging/wlan-ng/
Dcfg80211.c147 const u8 *mac_addr, struct key_params *params) in prism2_add_key()
177 void (*callback)(void *cookie, struct key_params*)) in prism2_get_key() argument
180 struct key_params params; in prism2_get_key()
/Linux-v6.6/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()
/Linux-v6.6/Documentation/driver-api/80211/
Dcfg80211.rst52 key_params
/Linux-v6.6/drivers/net/wireless/intersil/orinoco/
Dorinoco.h121 struct key_params keys[ORINOCO_MAX_KEYS];
/Linux-v6.6/net/wireless/
Dcore.h287 struct key_params params[4];
447 struct key_params *params, int key_idx,
Dwext-compat.c421 int idx, struct key_params *params) in __cfg80211_set_encryption()
586 int idx, struct key_params *params) in cfg80211_set_encryption()
607 struct key_params params; in cfg80211_wext_siwencode()
686 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
/Linux-v6.6/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1563 struct key_params *params) in wil_set_crypto_rx()
1626 struct key_params *params) in wil_cfg80211_add_key()
2039 struct key_params key_params = {}; in wil_cfg80211_ap_recovery() local
2072 key_params.key = vif->gtk; in wil_cfg80211_ap_recovery()
2073 key_params.key_len = vif->gtk_len; in wil_cfg80211_ap_recovery()
2074 key_params.seq_len = IEEE80211_GCMP_PN_LEN; in wil_cfg80211_ap_recovery()
2076 false, NULL, &key_params); in wil_cfg80211_ap_recovery()
Dwil6210.h1387 struct key_params *params);
/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c3679 struct dpni_rule_cfg key_params; in dpaa2_eth_set_vlan_qos() local
3737 key_params.key_iova = dma_map_single(dev, key, key_size * 2, in dpaa2_eth_set_vlan_qos()
3739 if (dma_mapping_error(dev, key_params.key_iova)) { in dpaa2_eth_set_vlan_qos()
3745 key_params.mask_iova = key_params.key_iova + key_size; in dpaa2_eth_set_vlan_qos()
3746 key_params.key_size = key_size; in dpaa2_eth_set_vlan_qos()
3755 dma_sync_single_for_device(dev, key_params.key_iova, in dpaa2_eth_set_vlan_qos()
3759 &key_params, i, i); in dpaa2_eth_set_vlan_qos()
3773 dma_unmap_single(dev, key_params.key_iova, key_size * 2, DMA_TO_DEVICE); in dpaa2_eth_set_vlan_qos()
/Linux-v6.6/include/net/
Dcfg80211.h728 struct key_params { struct
3082 struct key_params *wep_keys;
4431 const u8 *mac_addr, struct key_params *params);
4435 void (*callback)(void *cookie, struct key_params*));
/Linux-v6.6/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-v6.6/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c844 const u8 *mac_addr, struct key_params *params) in cfg80211_rtw_add_key()
926 struct key_params*)) in cfg80211_rtw_get_key() argument
/Linux-v6.6/drivers/net/wireless/legacy/
Drndis_wlan.c493 const u8 *mac_addr, struct key_params *params);
2377 const u8 *mac_addr, struct key_params *params) in rndis_add_key()
/Linux-v6.6/drivers/net/wireless/marvell/libertas/
Dcfg.c1508 const u8 *mac_addr, struct key_params *params) in lbs_cfg_add_key()
/Linux-v6.6/net/mac80211/
Dcfg.c467 const u8 *mac_addr, struct key_params *params) in ieee80211_add_key()
672 struct key_params *params)) in ieee80211_get_key()
676 struct key_params params; in ieee80211_get_key()

12