Home
last modified time | relevance | path

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

12

/linux/drivers/accessibility/speakup/
H A Dgenmap.c21 static unsigned char key_data[MAXKEYVAL][16], *kp; variable
58 bzero(key_data, sizeof(key_data)); in main()
109 if (key_data[value][i]) { in main()
115 key_data[value][i] = (char)this->value; in main()
130 kp = key_data[lc]; in main()
131 if (!memcmp(key_data[0], kp, 16)) in main()
151 kp = key_data[lc]; in main()
152 if (!memcmp(key_data[0], kp, 16)) in main()
H A 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/drivers/cxl/
H A Dsecurity.c95 const struct nvdimm_key_data *key_data, in __cxl_pmem_security_disable() argument
108 memcpy(dis_pass.pass, key_data->data, NVDIMM_PASSPHRASE_LEN); in __cxl_pmem_security_disable()
120 const struct nvdimm_key_data *key_data) in cxl_pmem_security_disable() argument
122 return __cxl_pmem_security_disable(nvdimm, key_data, NVDIMM_USER); in cxl_pmem_security_disable()
126 const struct nvdimm_key_data *key_data) in cxl_pmem_security_disable_master() argument
128 return __cxl_pmem_security_disable(nvdimm, key_data, NVDIMM_MASTER); in cxl_pmem_security_disable_master()
144 const struct nvdimm_key_data *key_data) in cxl_pmem_security_unlock() argument
153 memcpy(pass, key_data->data, NVDIMM_PASSPHRASE_LEN); in cxl_pmem_security_unlock()
/linux/drivers/net/wireless/mediatek/mt7601u/
H A 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/include/linux/
H A 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/arch/m68k/atari/
H A 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/drivers/net/wireless/intel/iwlwifi/dvm/
H A 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/drivers/net/wireless/mediatek/mt76/
H A 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/drivers/net/wireless/silabs/wfx/
H A 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()
H A 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/drivers/input/keyboard/
H A Dipaq-micro-keys.c60 keys->micro->key_data = keys; in micro_key_start()
68 keys->micro->key_data = NULL; in micro_key_stop()
/linux/drivers/acpi/nfit/
H A 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/security/keys/
H A 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/drivers/net/ethernet/intel/ixgbevf/
H A 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/tools/testing/selftests/drivers/net/hw/
H A Drss_ctx.py347 key_data = _rss_key_rand(len(data['rss-hash-key']))
348 key = _rss_key_str(key_data)
350 key_data = []
387 ksft_eq(data['hkey'], bytes(key_data), "ctx2 - key mismatch")
/linux/crypto/
H A 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/include/linux/mfd/
H A Dipaq-micro.h120 void *key_data; member
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A 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/net/mac80211/
H A Dkey.c588 const u8 *key_data, in ieee80211_key_alloc() argument
647 key_data, key_len, IEEE80211_CCMP_MIC_LEN); in ieee80211_key_alloc()
665 key_data, key_len, IEEE80211_CCMP_256_MIC_LEN); in ieee80211_key_alloc()
688 ieee80211_aes_cmac_key_setup(key_data, key_len); in ieee80211_key_alloc()
707 ieee80211_aes_gmac_key_setup(key_data, key_len); in ieee80211_key_alloc()
725 key->u.gcmp.tfm = ieee80211_aes_gcm_key_setup_encrypt(key_data, in ieee80211_key_alloc()
734 memcpy(key->conf.key, key_data, key_len); in ieee80211_key_alloc()
H A Dkey.h141 const u8 *key_data,
/linux/drivers/nvdimm/
H A 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/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c1007 struct wowlan_key_reprogram_data key_data = {}; in iwl_mvm_wowlan_config_key_params() local
1026 &key_data); in iwl_mvm_wowlan_config_key_params()
1028 if (key_data.error) in iwl_mvm_wowlan_config_key_params()
1916 struct iwl_multicast_key_data *key_data) in iwl_mvm_d3_update_igtk_bigtk() argument
1918 if (status->num_of_gtk_rekeys && key_data->len) { in iwl_mvm_d3_update_igtk_bigtk()
1924 iwl_mvm_d3_set_igtk_bigtk_ipn(key_data, in iwl_mvm_d3_update_igtk_bigtk()
2228 struct iwl_multicast_key_data *key_data) in iwl_mvm_d3_igtk_bigtk_rekey_add() argument
2236 .conf.keyidx = key_data->id, in iwl_mvm_d3_igtk_bigtk_rekey_add()
2241 if (!key_data->len) in iwl_mvm_d3_igtk_bigtk_rekey_add()
2244 iwl_mvm_d3_set_igtk_bigtk_ipn(key_data, &seq, conf.conf.cipher); in iwl_mvm_d3_igtk_bigtk_rekey_add()
[all …]
/linux/drivers/crypto/tegra/
H A Dtegra-se-key.c76 cpuvaddr[i++] = se_host1x_opcode_incr_w(se->hw->regs->key_data); in tegra_key_prep_ins_cmd()
/linux/drivers/net/ethernet/intel/ixgbe/
H A 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/drivers/input/touchscreen/
H A 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()

12