Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/security/selinux/ss/
A 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-6.3-rc2/drivers/crypto/ccree/
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.3-rc2/drivers/net/wireless/microchip/wilc1000/
A Dcfg80211.c519 struct key_params *params) in wilc_wfi_cfg_copy_wpa_info()
545 struct key_params *params) in add_key()
696 struct key_params key_params; in get_key() local
701 key_params.key = priv->wilc_igtk[key_index]->key; in get_key()
704 key_params.seq = priv->wilc_igtk[key_index]->seq; in get_key()
707 key_params.key = priv->wilc_gtk[key_index]->key; in get_key()
710 key_params.seq = priv->wilc_gtk[key_index]->seq; in get_key()
714 key_params.key = priv->wilc_ptk[key_index]->key; in get_key()
715 key_params.cipher = priv->wilc_ptk[key_index]->cipher; in get_key()
717 key_params.seq = priv->wilc_ptk[key_index]->seq; in get_key()
[all …]
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/
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 …]
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()
A Dsta_ioctl.c1096 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp, in mwifiex_set_encode()
A Dmain.h1502 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp,
A Dfw.h973 } key_params; member
/linux-6.3-rc2/drivers/staging/wlan-ng/
A 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-6.3-rc2/drivers/net/wireless/quantenna/qtnfmac/
A Dcommands.h39 const u8 *mac_addr, struct key_params *params);
A Dcfg80211.c536 const u8 *mac_addr, struct key_params *params) in qtnf_add_key()
/linux-6.3-rc2/Documentation/driver-api/80211/
A Dcfg80211.rst52 key_params
/linux-6.3-rc2/drivers/net/wireless/intersil/orinoco/
A Dorinoco.h121 struct key_params keys[ORINOCO_MAX_KEYS];
/linux-6.3-rc2/net/wireless/
A Dcore.h281 struct key_params params[4];
436 struct key_params *params, int key_idx,
A 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()
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
/linux-6.3-rc2/drivers/net/wireless/ath/wil6210/
A 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()
A Dwil6210.h1387 struct key_params *params);
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa2/
A 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-6.3-rc2/include/net/
A Dcfg80211.h725 struct key_params { struct
3020 struct key_params *wep_keys;
4360 const u8 *mac_addr, struct key_params *params);
4364 void (*callback)(void *cookie, struct key_params*));
/linux-6.3-rc2/drivers/net/wireless/ath/ath6kl/
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.3-rc2/drivers/staging/rtl8723bs/os_dep/
A Dioctl_cfg80211.c858 const u8 *mac_addr, struct key_params *params) in cfg80211_rtw_add_key()
942 struct key_params*)) in cfg80211_rtw_get_key() argument
/linux-6.3-rc2/net/mac80211/
A Dcfg.c467 const u8 *mac_addr, struct key_params *params) in ieee80211_add_key()
669 struct key_params *params)) in ieee80211_get_key()
673 struct key_params params; in ieee80211_get_key()
/linux-6.3-rc2/drivers/net/wireless/
A 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-6.3-rc2/drivers/net/wireless/marvell/libertas/
A Dcfg.c1508 const u8 *mac_addr, struct key_params *params) in lbs_cfg_add_key()

Completed in 137 milliseconds

12