Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/
Dmac.c505 mt76_mac_get_key_info(struct ieee80211_key_conf *key, u8 *key_data) in mt76_mac_get_key_info() argument
507 memset(key_data, 0, 32); in mt76_mac_get_key_info()
514 memcpy(key_data, key->key, key->keylen); in mt76_mac_get_key_info()
534 u8 key_data[32]; in mt76_mac_wcid_set_key() local
538 cipher = mt76_mac_get_key_info(key, key_data); in mt76_mac_wcid_set_key()
544 mt7601u_wr_copy(dev, MT_WCID_KEY(idx), key_data, sizeof(key_data)); in mt76_mac_wcid_set_key()
575 u8 key_data[32]; in mt76_mac_shared_key_setup() local
578 cipher = mt76_mac_get_key_info(key, key_data); in mt76_mac_shared_key_setup()
585 key_data, sizeof(key_data)); in mt76_mac_shared_key_setup()
/kernel/linux/linux-5.10/drivers/block/
Dcryptoloop.c81 lo->key_data = tfm; in cryptoloop_init()
100 struct crypto_sync_skcipher *tfm = lo->key_data; in cryptoloop_transfer()
166 struct crypto_sync_skcipher *tfm = lo->key_data; in cryptoloop_release()
169 lo->key_data = NULL; in cryptoloop_release()
Dloop.h51 void *key_data; member
/kernel/linux/linux-5.10/arch/m68k/atari/
Datakeyb.c153 scancode = acia.key_data; in atari_keyboard_interrupt()
172 scancode = acia.key_data; /* get it or reset the ACIA, I'll get it! */ in atari_keyboard_interrupt()
328 acia.key_data = *str++; in ikbd_write()
519 (void)acia.key_data; in atari_keyb_init()
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dipsec.c89 unsigned char *key_data; in nsim_ipsec_parse_proto_keys() local
104 key_data = &xs->aead->alg_key[0]; in nsim_ipsec_parse_proto_keys()
116 *mysalt = ((u32 *)key_data)[4]; in nsim_ipsec_parse_proto_keys()
123 memcpy(mykey, key_data, 16); in nsim_ipsec_parse_proto_keys()
/kernel/linux/linux-5.10/include/linux/
Dlibnvdimm.h193 const struct nvdimm_key_data *key_data);
195 const struct nvdimm_key_data *key_data);
197 const struct nvdimm_key_data *key_data,
200 const struct nvdimm_key_data *key_data);
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dlib.c1054 struct wowlan_key_data key_data = { in iwlagn_suspend() local
1064 key_data.rsc_tsc = kzalloc(sizeof(*key_data.rsc_tsc), GFP_KERNEL); in iwlagn_suspend()
1065 if (!key_data.rsc_tsc) in iwlagn_suspend()
1154 &key_data); in iwlagn_suspend()
1156 if (key_data.error) { in iwlagn_suspend()
1161 if (key_data.use_rsc_tsc) { in iwlagn_suspend()
1164 .data[0] = key_data.rsc_tsc, in iwlagn_suspend()
1166 .len[0] = sizeof(*key_data.rsc_tsc), in iwlagn_suspend()
1174 if (key_data.use_tkip) { in iwlagn_suspend()
1213 kfree(key_data.rsc_tsc); in iwlagn_suspend()
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
Dkeyhelp.c17 static u_short key_offsets[MAXFUNCS], key_data[MAXKEYS]; variable
94 p_key = key_data + offset + counters[ch1]; in build_key_data()
201 p_keys = key_data + key_offsets[func]; in spk_handle_help()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mac.c33 mt76x02_mac_get_key_info(struct ieee80211_key_conf *key, u8 *key_data) in mt76x02_mac_get_key_info() argument
35 memset(key_data, 0, 32); in mt76x02_mac_get_key_info()
42 memcpy(key_data, key->key, key->keylen); in mt76x02_mac_get_key_info()
62 u8 key_data[32]; in mt76x02_mac_shared_key_setup() local
65 cipher = mt76x02_mac_get_key_info(key, key_data); in mt76x02_mac_shared_key_setup()
74 mt76_wr_copy(dev, MT_SKEY(vif_idx, key_idx), key_data, in mt76x02_mac_shared_key_setup()
75 sizeof(key_data)); in mt76x02_mac_shared_key_setup()
85 u8 key_data[32]; in mt76x02_mac_wcid_sync_pn() local
89 cipher = mt76x02_mac_get_key_info(key, key_data); in mt76x02_mac_wcid_sync_pn()
110 u8 key_data[32]; in mt76x02_mac_wcid_set_key() local
[all …]
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dkey.c36 WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); in fill_wep_pair()
38 memcpy(msg->key_data, key->key, key->keylen); in fill_wep_pair()
46 WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); in fill_wep_group()
49 memcpy(msg->key_data, key->key, key->keylen); in fill_wep_group()
Dhif_api_cmd.h435 u8 key_data[HIF_API_WEP_KEY_DATA_SIZE]; member
442 u8 key_data[HIF_API_WEP_KEY_DATA_SIZE]; member
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dipaq-micro-keys.c59 keys->micro->key_data = keys; in micro_key_start()
67 keys->micro->key_data = NULL; in micro_key_stop()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c769 struct wowlan_key_data key_data = { in iwl_mvm_wowlan_config_key_params() local
781 key_data.rsc_tsc = kzalloc(sizeof(*key_data.rsc_tsc), GFP_KERNEL); in iwl_mvm_wowlan_config_key_params()
782 if (!key_data.rsc_tsc) in iwl_mvm_wowlan_config_key_params()
798 &key_data); in iwl_mvm_wowlan_config_key_params()
800 if (key_data.error) { in iwl_mvm_wowlan_config_key_params()
805 if (key_data.use_rsc_tsc) { in iwl_mvm_wowlan_config_key_params()
812 size = sizeof(*key_data.rsc_tsc); in iwl_mvm_wowlan_config_key_params()
813 key_data.rsc_tsc->sta_id = in iwl_mvm_wowlan_config_key_params()
817 size = sizeof(key_data.rsc_tsc->params); in iwl_mvm_wowlan_config_key_params()
827 key_data.rsc_tsc); in iwl_mvm_wowlan_config_key_params()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/nfit/
Dintel.c196 const struct nvdimm_key_data *key_data) in intel_security_unlock() argument
216 memcpy(nd_cmd.cmd.passphrase, key_data->data, in intel_security_unlock()
237 const struct nvdimm_key_data *key_data) in intel_security_disable() argument
257 memcpy(nd_cmd.cmd.passphrase, key_data->data, in intel_security_disable()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dipsec.c215 unsigned char *key_data; in ixgbevf_ipsec_parse_proto_keys() local
230 key_data = &xs->aead->alg_key[0]; in ixgbevf_ipsec_parse_proto_keys()
245 *mysalt = ((u32 *)key_data)[4]; in ixgbevf_ipsec_parse_proto_keys()
252 memcpy(mykey, key_data, 16); in ixgbevf_ipsec_parse_proto_keys()
/kernel/linux/linux-5.10/security/keys/
Dkeyctl.c830 char *key_data = NULL; in keyctl_read_key() local
893 key_data = kvmalloc(key_data_len, GFP_KERNEL); in keyctl_read_key()
894 if (!key_data) { in keyctl_read_key()
900 ret = __keyctl_read_key(key, key_data, key_data_len); in keyctl_read_key()
916 if (unlikely(key_data)) in keyctl_read_key()
917 kvfree_sensitive(key_data, key_data_len); in keyctl_read_key()
922 if (copy_to_user(buffer, key_data, ret)) in keyctl_read_key()
926 kvfree_sensitive(key_data, key_data_len); in keyctl_read_key()
/kernel/linux/linux-5.10/net/mac80211/
Dkey.c533 const u8 *key_data, in ieee80211_key_alloc() argument
592 key_data, key_len, IEEE80211_CCMP_MIC_LEN); in ieee80211_key_alloc()
610 key_data, key_len, IEEE80211_CCMP_256_MIC_LEN); in ieee80211_key_alloc()
633 ieee80211_aes_cmac_key_setup(key_data, key_len); in ieee80211_key_alloc()
652 ieee80211_aes_gmac_key_setup(key_data, key_len); in ieee80211_key_alloc()
670 key->u.gcmp.tfm = ieee80211_aes_gcm_key_setup_encrypt(key_data, in ieee80211_key_alloc()
694 memcpy(key->conf.key, key_data, key_len); in ieee80211_key_alloc()
Dkey.h142 const u8 *key_data,
/kernel/linux/linux-5.10/include/linux/mfd/
Dipaq-micro.h120 void *key_data; member
/kernel/linux/linux-5.10/drivers/nvdimm/
Dsecurity.c27 static void *key_data(struct key *key) in key_data() function
87 return key_data(*key); in nvdimm_get_key_payload()
135 return key_data(*key); in nvdimm_get_user_key_payload()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c832 mt7603_mac_get_key_info(struct ieee80211_key_conf *key, u8 *key_data) in mt7603_mac_get_key_info() argument
834 memset(key_data, 0, 32); in mt7603_mac_get_key_info()
841 memcpy(key_data, key->key, key->keylen); in mt7603_mac_get_key_info()
850 memcpy(key_data + 16, key->key + 24, 8); in mt7603_mac_get_key_info()
851 memcpy(key_data + 24, key->key + 16, 8); in mt7603_mac_get_key_info()
865 u8 key_data[32]; in mt7603_wtbl_set_key() local
866 int key_len = sizeof(key_data); in mt7603_wtbl_set_key()
868 cipher = mt7603_mac_get_key_info(key, key_data); in mt7603_wtbl_set_key()
877 mt76_wr_copy(dev, addr, key_data, key_len); in mt7603_wtbl_set_key()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c431 unsigned char *key_data; in ixgbe_ipsec_parse_proto_keys() local
446 key_data = &xs->aead->alg_key[0]; in ixgbe_ipsec_parse_proto_keys()
461 *mysalt = ((u32 *)key_data)[4]; in ixgbe_ipsec_parse_proto_keys()
469 memcpy(mykey, key_data, 16); in ixgbe_ipsec_parse_proto_keys()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dhideep.c737 u8 key_data = keys[i * 2]; in hideep_parse_and_report() local
740 ts->key_codes[key_data & HIDEEP_KEY_IDX_MASK], in hideep_parse_and_report()
741 key_data & HIDEEP_KEY_PRESSED_MASK); in hideep_parse_and_report()
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_a0.c193 u32 key_data = cfg->is_rss ? in hw_atl_a0_hw_rss_hash_set() local
195 hw_atl_rpf_rss_key_wr_data_set(self, key_data); in hw_atl_a0_hw_rss_hash_set()
/kernel/linux/linux-5.10/drivers/mfd/
Dipaq-micro.c122 micro->key(micro->key_data, len, data); in micro_rx_msg()

12