Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/microchip/wilc1000/
Dcfg80211.c492 struct key_params *params) in wilc_wfi_cfg_copy_wep_info()
518 struct key_params *params) in wilc_wfi_cfg_copy_wpa_info()
543 bool pairwise, const u8 *mac_addr, struct key_params *params) in add_key()
691 void (*callback)(void *cookie, struct key_params *)) in get_key() argument
695 struct key_params key_params; in get_key() local
698 key_params.key = priv->wilc_gtk[key_index]->key; in get_key()
699 key_params.cipher = priv->wilc_gtk[key_index]->cipher; in get_key()
700 key_params.key_len = priv->wilc_gtk[key_index]->key_len; in get_key()
701 key_params.seq = priv->wilc_gtk[key_index]->seq; in get_key()
702 key_params.seq_len = priv->wilc_gtk[key_index]->seq_len; in get_key()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c604 memcpy(km->key_param_set.key_params.cmac_aes.ipn, in mwifiex_set_aes_key_v2()
609 km->key_param_set.key_params.cmac_aes.key_len = in mwifiex_set_aes_key_v2()
611 memcpy(km->key_param_set.key_params.cmac_aes.key, in mwifiex_set_aes_key_v2()
623 memcpy(km->key_param_set.key_params.aes.pn, in mwifiex_set_aes_key_v2()
626 km->key_param_set.key_params.aes.key_len = in mwifiex_set_aes_key_v2()
628 memcpy(km->key_param_set.key_params.aes.key, in mwifiex_set_aes_key_v2()
735 km->key_param_set.key_params.wep.key_len = in mwifiex_cmd_802_11_key_material_v2()
737 memcpy(km->key_param_set.key_params.wep.key, in mwifiex_cmd_802_11_key_material_v2()
753 memcpy(km->key_param_set.key_params.wapi.pn, enc_key->pn, in mwifiex_cmd_802_11_key_material_v2()
755 km->key_param_set.key_params.wapi.key_len = in mwifiex_cmd_802_11_key_material_v2()
[all …]
Dsta_cmdresp.c621 len = le16_to_cpu(key_v2->key_param_set.key_params.aes.key_len); in mwifiex_ret_802_11_key_material_v2()
622 if (len > sizeof(key_v2->key_param_set.key_params.aes.key)) in mwifiex_ret_802_11_key_material_v2()
637 memset(priv->aes_key_v2.key_param_set.key_params.aes.key, 0, in mwifiex_ret_802_11_key_material_v2()
638 sizeof(key_v2->key_param_set.key_params.aes.key)); in mwifiex_ret_802_11_key_material_v2()
639 priv->aes_key_v2.key_param_set.key_params.aes.key_len = in mwifiex_ret_802_11_key_material_v2()
641 memcpy(priv->aes_key_v2.key_param_set.key_params.aes.key, in mwifiex_ret_802_11_key_material_v2()
642 key_v2->key_param_set.key_params.aes.key, len); in mwifiex_ret_802_11_key_material_v2()
Dsta_ioctl.c1108 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp, in mwifiex_set_encode()
Dmain.h1510 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp,
Dfw.h985 } key_params; member
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dcfg80211.c147 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()
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.h39 const u8 *mac_addr, struct key_params *params);
Dcfg80211.c535 struct key_params *params) in qtnf_add_key()
/kernel/linux/linux-5.10/Documentation/driver-api/80211/
Dcfg80211.rst52 key_params
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
Dorinoco.h121 struct key_params keys[ORINOCO_MAX_KEYS];
/kernel/linux/linux-5.10/net/wireless/
Dcore.h275 struct key_params params[CFG80211_MAX_WEP_KEYS];
441 struct key_params *params, int key_idx,
Dwext-compat.c398 int idx, struct key_params *params) in __cfg80211_set_encryption()
551 int idx, struct key_params *params) in cfg80211_set_encryption()
571 struct key_params params; in cfg80211_wext_siwencode()
633 struct key_params params; in cfg80211_wext_siwencodeext()
Drdev-ops.h77 struct key_params *params) in rdev_add_key()
91 void (*callback)(void *cookie, struct key_params*)) in rdev_get_key() argument
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dcfg80211.c1539 struct key_params *params) in wil_set_crypto_rx()
1602 struct key_params *params) in wil_cfg80211_add_key()
2016 struct key_params key_params = {}; in wil_cfg80211_ap_recovery() local
2049 key_params.key = vif->gtk; in wil_cfg80211_ap_recovery()
2050 key_params.key_len = vif->gtk_len; in wil_cfg80211_ap_recovery()
2051 key_params.seq_len = IEEE80211_GCMP_PN_LEN; in wil_cfg80211_ap_recovery()
2053 NULL, &key_params); in wil_cfg80211_ap_recovery()
Dwil6210.h1385 struct key_params *params);
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c3111 struct dpni_rule_cfg key_params; in dpaa2_eth_set_vlan_qos() local
3169 key_params.key_iova = dma_map_single(dev, key, key_size * 2, in dpaa2_eth_set_vlan_qos()
3171 if (dma_mapping_error(dev, key_params.key_iova)) { in dpaa2_eth_set_vlan_qos()
3177 key_params.mask_iova = key_params.key_iova + key_size; in dpaa2_eth_set_vlan_qos()
3178 key_params.key_size = key_size; in dpaa2_eth_set_vlan_qos()
3187 dma_sync_single_for_device(dev, key_params.key_iova, in dpaa2_eth_set_vlan_qos()
3191 &key_params, i, i); in dpaa2_eth_set_vlan_qos()
3205 dma_unmap_single(dev, key_params.key_iova, key_size * 2, DMA_TO_DEVICE); in dpaa2_eth_set_vlan_qos()
/kernel/linux/linux-5.10/include/net/
Dcfg80211.h668 struct key_params { struct
1024 struct key_params *wep_keys;
2683 struct key_params *wep_keys;
3944 struct key_params *params);
3948 void (*callback)(void *cookie, struct key_params*));
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/mac80211/
Dcfg.c405 struct key_params *params) in ieee80211_add_key()
564 struct key_params *params)) in ieee80211_get_key()
569 struct key_params params; in ieee80211_get_key()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dcfg.c1461 struct key_params *params) in lbs_cfg_add_key()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c1036 struct key_params *params) in cfg80211_rtw_add_key()
1143 struct key_params*)) in cfg80211_rtw_get_key() argument
/kernel/linux/linux-5.10/drivers/net/wireless/
Drndis_wlan.c493 struct key_params *params);
2377 struct key_params *params) in rndis_add_key()

12