Home
last modified time | relevance | path

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

/linux/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/drivers/net/wireless/microchip/wilc1000/
H A Dcfg80211.c513 struct key_params *params) in wilc_wfi_cfg_copy_wpa_info()
539 struct key_params *params) in add_key()
686 void (*callback)(void *cookie, struct key_params *)) in get_key() argument
690 struct key_params key_params; in get_key() local
695 key_params.key = priv->wilc_igtk[key_index]->key; in get_key()
696 key_params.cipher = priv->wilc_igtk[key_index]->cipher; in get_key()
697 key_params.key_len = priv->wilc_igtk[key_index]->key_len; in get_key()
698 key_params.seq = priv->wilc_igtk[key_index]->seq; in get_key()
699 key_params.seq_len = priv->wilc_igtk[key_index]->seq_len; in get_key()
701 key_params.key = priv->wilc_gtk[key_index]->key; in get_key()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_cmd.c581 memcpy(km->key_param_set.key_params.cmac_aes.ipn, in mwifiex_set_aes_key_v2()
586 km->key_param_set.key_params.cmac_aes.key_len = in mwifiex_set_aes_key_v2()
588 memcpy(km->key_param_set.key_params.cmac_aes.key, in mwifiex_set_aes_key_v2()
600 memcpy(km->key_param_set.key_params.aes.pn, in mwifiex_set_aes_key_v2()
603 km->key_param_set.key_params.aes.key_len = in mwifiex_set_aes_key_v2()
605 memcpy(km->key_param_set.key_params.aes.key, in mwifiex_set_aes_key_v2()
712 km->key_param_set.key_params.wep.key_len = in mwifiex_cmd_802_11_key_material_v2()
714 memcpy(km->key_param_set.key_params.wep.key, in mwifiex_cmd_802_11_key_material_v2()
730 memcpy(km->key_param_set.key_params.wapi.pn, enc_key->pn, in mwifiex_cmd_802_11_key_material_v2()
732 km->key_param_set.key_params.wapi.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.c1148 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp, in mwifiex_set_encode()
H A Dfw.h1019 } key_params; member
H A Dcfg80211.c485 const u8 *mac_addr, struct key_params *params) in mwifiex_cfg80211_add_key()
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.h39 const u8 *mac_addr, struct key_params *params);
H A Dcfg80211.c537 const u8 *mac_addr, struct key_params *params) in qtnf_add_key()
H A Dcommands.c1721 const u8 *mac_addr, struct key_params *params) in qtnf_cmd_send_add_key()
/linux/Documentation/driver-api/80211/
H A Dcfg80211.rst52 key_params
/linux/net/wireless/
H A Dcore.h296 struct key_params params[4];
446 struct key_params *params, int key_idx,
H A Dwext-compat.c400 int idx, struct key_params *params) in cfg80211_set_encryption()
568 struct key_params params; in cfg80211_wext_siwencode()
639 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.c287 struct key_params *params, int key_idx, in cfg80211_validate_key_settings()
H A Dnl80211.c1422 struct key_params p;
4914 static void get_key_callback(void *c, struct key_params *params) in get_key_callback()
/linux/drivers/net/wireless/ath/wil6210/
H A Dcfg80211.c1562 struct key_params *params) in wil_set_crypto_rx()
1625 struct key_params *params) in wil_cfg80211_add_key()
2038 struct key_params key_params = {}; in wil_cfg80211_ap_recovery() local
2071 key_params.key = vif->gtk; in wil_cfg80211_ap_recovery()
2072 key_params.key_len = vif->gtk_len; in wil_cfg80211_ap_recovery()
2073 key_params.seq_len = IEEE80211_GCMP_PN_LEN; in wil_cfg80211_ap_recovery()
2075 false, NULL, &key_params); in wil_cfg80211_ap_recovery()
H A Dwmi.c1223 struct key_params params; in wmi_evt_ring_en()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c3695 struct dpni_rule_cfg key_params; in dpaa2_eth_set_vlan_qos() local
3753 key_params.key_iova = dma_map_single(dev, key, key_size * 2, in dpaa2_eth_set_vlan_qos()
3755 if (dma_mapping_error(dev, key_params.key_iova)) { in dpaa2_eth_set_vlan_qos()
3761 key_params.mask_iova = key_params.key_iova + key_size; in dpaa2_eth_set_vlan_qos()
3762 key_params.key_size = key_size; in dpaa2_eth_set_vlan_qos()
3771 dma_sync_single_for_device(dev, key_params.key_iova, in dpaa2_eth_set_vlan_qos()
3775 &key_params, i, i); in dpaa2_eth_set_vlan_qos()
3789 dma_unmap_single(dev, key_params.key_iova, key_size * 2, DMA_TO_DEVICE); in dpaa2_eth_set_vlan_qos()
/linux/include/net/
H A Dcfg80211.h831 struct key_params { struct
3492 struct key_params *wep_keys;
4927 const u8 *mac_addr, struct key_params *params);
4931 void (*callback)(void *cookie, struct key_params*));
/linux/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/drivers/staging/rtl8723bs/os_dep/
H A Dioctl_cfg80211.c836 const u8 *mac_addr, struct key_params *params) in cfg80211_rtw_add_key()
916 struct key_params*)) in cfg80211_rtw_get_key() argument
/linux/drivers/net/wireless/marvell/libertas/
H A Dcfg.c1512 const u8 *mac_addr, struct key_params *params) in lbs_cfg_add_key()
/linux/net/mac80211/
H A Dcfg.c621 const u8 *mac_addr, struct key_params *params) in ieee80211_add_key()
824 struct key_params *params)) in ieee80211_get_key()
828 struct key_params params; in ieee80211_get_key()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c2801 const u8 *mac_addr, struct key_params *params) in brcmf_cfg80211_add_key()
2925 struct key_params *params)) in brcmf_cfg80211_get_key()
2928 struct key_params params; in brcmf_cfg80211_get_key()