Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/accessibility/speakup/
Dgenmap.c22 static unsigned char key_data[MAXKEYVAL][16], *kp; variable
59 bzero(key_data, sizeof(key_data)); in main()
110 if (key_data[value][i]) { in main()
116 key_data[value][i] = (char)this->value; in main()
131 kp = key_data[lc]; in main()
132 if (!memcmp(key_data[0], kp, 16)) in main()
152 kp = key_data[lc]; in main()
153 if (!memcmp(key_data[0], kp, 16)) in main()
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()
/linux-6.6.21/drivers/cxl/
Dsecurity.c94 const struct nvdimm_key_data *key_data, in __cxl_pmem_security_disable() argument
107 memcpy(dis_pass.pass, key_data->data, NVDIMM_PASSPHRASE_LEN); in __cxl_pmem_security_disable()
119 const struct nvdimm_key_data *key_data) in cxl_pmem_security_disable() argument
121 return __cxl_pmem_security_disable(nvdimm, key_data, NVDIMM_USER); in cxl_pmem_security_disable()
125 const struct nvdimm_key_data *key_data) in cxl_pmem_security_disable_master() argument
127 return __cxl_pmem_security_disable(nvdimm, key_data, NVDIMM_MASTER); in cxl_pmem_security_disable_master()
143 const struct nvdimm_key_data *key_data) in cxl_pmem_security_unlock() argument
152 memcpy(pass, key_data->data, NVDIMM_PASSPHRASE_LEN); in cxl_pmem_security_unlock()
/linux-6.6.21/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()
/linux-6.6.21/include/linux/
Dlibnvdimm.h185 const struct nvdimm_key_data *key_data);
187 const struct nvdimm_key_data *key_data);
189 const struct nvdimm_key_data *key_data,
192 const struct nvdimm_key_data *key_data);
195 const struct nvdimm_key_data *key_data);
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/
Dlib.c1049 struct wowlan_key_data key_data = { in iwlagn_suspend() local
1059 key_data.rsc_tsc = kzalloc(sizeof(*key_data.rsc_tsc), GFP_KERNEL); in iwlagn_suspend()
1060 if (!key_data.rsc_tsc) in iwlagn_suspend()
1149 &key_data); in iwlagn_suspend()
1151 if (key_data.error) { in iwlagn_suspend()
1156 if (key_data.use_rsc_tsc) { in iwlagn_suspend()
1159 .data[0] = key_data.rsc_tsc, in iwlagn_suspend()
1161 .len[0] = sizeof(*key_data.rsc_tsc), in iwlagn_suspend()
1169 if (key_data.use_tkip) { in iwlagn_suspend()
1208 kfree(key_data.rsc_tsc); in iwlagn_suspend()
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/net/wireless/silabs/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
/linux-6.6.21/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()
/linux-6.6.21/drivers/acpi/nfit/
Dintel.c195 const struct nvdimm_key_data *key_data) in intel_security_unlock() argument
215 memcpy(nd_cmd.cmd.passphrase, key_data->data, in intel_security_unlock()
233 const struct nvdimm_key_data *key_data) in intel_security_disable() argument
253 memcpy(nd_cmd.cmd.passphrase, key_data->data, in intel_security_disable()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/include/linux/mfd/
Dipaq-micro.h120 void *key_data; member
/linux-6.6.21/crypto/
Daf_alg.c290 u8 *key_data = NULL; in alg_setkey_by_key_serial() local
327 key_data = sock_kmalloc(&ask->sk, key_datalen, GFP_KERNEL); in alg_setkey_by_key_serial()
328 if (!key_data) { in alg_setkey_by_key_serial()
334 memcpy(key_data, ret, key_datalen); in alg_setkey_by_key_serial()
339 err = type->setkey(ask->private, key_data, key_datalen); in alg_setkey_by_key_serial()
341 sock_kzfree_s(&ask->sk, key_data, key_datalen); in alg_setkey_by_key_serial()
/linux-6.6.21/net/mac80211/
Dkey.c592 const u8 *key_data, in ieee80211_key_alloc() argument
651 key_data, key_len, IEEE80211_CCMP_MIC_LEN); in ieee80211_key_alloc()
669 key_data, key_len, IEEE80211_CCMP_256_MIC_LEN); in ieee80211_key_alloc()
692 ieee80211_aes_cmac_key_setup(key_data, key_len); in ieee80211_key_alloc()
711 ieee80211_aes_gmac_key_setup(key_data, key_len); in ieee80211_key_alloc()
729 key->u.gcmp.tfm = ieee80211_aes_gcm_key_setup_encrypt(key_data, in ieee80211_key_alloc()
738 memcpy(key->conf.key, key_data, key_len); in ieee80211_key_alloc()
Dkey.h141 const u8 *key_data,
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c861 mt7603_mac_get_key_info(struct ieee80211_key_conf *key, u8 *key_data) in mt7603_mac_get_key_info() argument
863 memset(key_data, 0, 32); in mt7603_mac_get_key_info()
870 memcpy(key_data, key->key, key->keylen); in mt7603_mac_get_key_info()
879 memcpy(key_data + 16, key->key + 24, 8); in mt7603_mac_get_key_info()
880 memcpy(key_data + 24, key->key + 16, 8); in mt7603_mac_get_key_info()
894 u8 key_data[32]; in mt7603_wtbl_set_key() local
895 int key_len = sizeof(key_data); in mt7603_wtbl_set_key()
897 cipher = mt7603_mac_get_key_info(key, key_data); in mt7603_wtbl_set_key()
906 mt76_wr_copy(dev, addr, key_data, key_len); in mt7603_wtbl_set_key()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c994 struct wowlan_key_reprogram_data key_data = {}; in iwl_mvm_wowlan_config_key_params() local
1013 &key_data); in iwl_mvm_wowlan_config_key_params()
1015 if (key_data.error) in iwl_mvm_wowlan_config_key_params()
1975 struct iwl_multicast_key_data *key_data) in iwl_mvm_d3_igtk_bigtk_rekey_add() argument
1983 .conf.keyidx = key_data->id, in iwl_mvm_d3_igtk_bigtk_rekey_add()
1987 if (!key_data->len) in iwl_mvm_d3_igtk_bigtk_rekey_add()
1990 iwl_mvm_d3_set_igtk_bigtk_ipn(key_data, &seq, conf.conf.cipher); in iwl_mvm_d3_igtk_bigtk_rekey_add()
2008 BUILD_BUG_ON(sizeof(conf.key) < sizeof(key_data->key)); in iwl_mvm_d3_igtk_bigtk_rekey_add()
2009 memcpy(conf.conf.key, key_data->key, conf.conf.keylen); in iwl_mvm_d3_igtk_bigtk_rekey_add()
/linux-6.6.21/drivers/input/touchscreen/
Dhideep.c743 u8 key_data = keys[i * 2]; in hideep_parse_and_report() local
746 ts->key_codes[key_data & HIDEEP_KEY_IDX_MASK], in hideep_parse_and_report()
747 key_data & HIDEEP_KEY_PRESSED_MASK); in hideep_parse_and_report()
/linux-6.6.21/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()

12