Home
last modified time | relevance | path

Searched refs:key (Results 751 – 775 of 5260) sorted by relevance

1...<<31323334353637383940>>...211

/openbmc/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_skcipher.c166 int aes_keylen, const u8 *key, in nitrox_skcipher_setkey() argument
192 memcpy(fctx->crypto.u.key, key, keylen); in nitrox_skcipher_setkey()
205 return nitrox_skcipher_setkey(cipher, aes_keylen, key, keylen); in nitrox_aes_setkey()
321 const u8 *key, unsigned int keylen) in nitrox_3des_setkey() argument
323 return verify_skcipher_des3_key(cipher, key) ?: in nitrox_3des_setkey()
324 nitrox_skcipher_setkey(cipher, 0, key, keylen); in nitrox_3des_setkey()
338 const u8 *key, unsigned int keylen) in nitrox_aes_xts_setkey() argument
344 ret = xts_verify_key(cipher, key, keylen); in nitrox_aes_xts_setkey()
356 memcpy(fctx->auth.u.key2, (key + keylen), keylen); in nitrox_aes_xts_setkey()
358 return nitrox_skcipher_setkey(cipher, aes_keylen, key, keylen); in nitrox_aes_xts_setkey()
[all …]
/openbmc/openbmc-test-automation/ipmi/dcmi/
H A Dtest_dcmi_get_temperature_reading.robot86 FOR ${key} ${value} IN &{config_file_response}
93 Set To Dictionary ${dcmi_sensor_uri} ${key} ${tmp}
98 [Arguments] ${ipmi_resp} ${key} ${instance}
102 # key Entity ID description i.e inlet, cpu, baseboard.
105 ${dbus_uris}= Get From Dictionary ${dcmi_sensor_uri} ${key}
125 [Arguments] ${key} ${instance} ${dcmi_reading_value}
128 # key Entity ID description i.e inlet, cpu, baseboard.
131 ${dbus_uris}= Get From Dictionary ${dcmi_sensor_uri} ${key}
152 [Arguments] ${ipmi_resp} ${instance} ${key}
179 [Arguments] ${key} ${instance}
[all …]
/openbmc/phosphor-host-ipmid/user_channel/
H A Dpasswd_mgr.cpp145 bool doEncrypt, const EVP_CIPHER* cipher, uint8_t* key, size_t keyLen, in encryptDecryptData() argument
149 if (cipher == NULL || key == NULL || iv == NULL || inBytes == NULL || in encryptDecryptData()
191 int retval = EVP_CipherInit_ex(ctx.get(), cipher, NULL, key, iv, in encryptDecryptData()
326 std::array<uint8_t, EVP_MAX_KEY_LENGTH> key; in readPasswdFileData() local
327 auto keyLen = key.size(); in readPasswdFileData()
330 key.data(), reinterpret_cast<unsigned int*>(&keyLen))) in readPasswdFileData()
357 OPENSSL_cleanse(key.data(), keyLen); in readPasswdFileData()
492 std::array<uint8_t, EVP_MAX_KEY_LENGTH> key; in updatePasswdSpecialFile() local
493 size_t keyLen = key.size(); in updatePasswdSpecialFile()
506 key.data(), reinterpret_cast<unsigned int*>(&keyLen))) in updatePasswdSpecialFile()
[all …]
/openbmc/webui-vue/src/components/Mixins/
H A DTableSortMixin.js5 sortStatus(a, b, key) { argument
6 return STATUS.indexOf(a[key]) - STATUS.indexOf(b[key]);
H A DTableFilterMixin.js11 for (const { key, values } of filters) { field in TableFilterMixin.methods.getFilteredTableData.AnonymousClassfe95bb0b0101
13 selectedValues[key] = values;
20 for (const [key, values] of Object.entries(selectedValues)) {
21 const rowProperty = row[key];
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dcmsg.c199 const u8 *key, u8 *out_key, u8 *out_value, in nfp_bpf_ctrl_op_cache_get() argument
231 if (memcmp(cached_key, key, map->key_size)) in nfp_bpf_ctrl_op_cache_get()
327 if (key) in nfp_bpf_ctrl_entry_op()
328 memcpy(nfp_bpf_ctrl_req_key(bpf, req, 0), key, map->key_size); in nfp_bpf_ctrl_entry_op()
384 void *key, void *value, u64 flags) in nfp_bpf_ctrl_update_entry() argument
387 key, value, flags, NULL, NULL); in nfp_bpf_ctrl_update_entry()
393 key, NULL, 0, NULL, NULL); in nfp_bpf_ctrl_del_entry()
397 void *key, void *value) in nfp_bpf_ctrl_lookup_entry() argument
400 key, NULL, 0, NULL, value); in nfp_bpf_ctrl_lookup_entry()
411 void *key, void *next_key) in nfp_bpf_ctrl_getnext_entry() argument
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pidgin/pidgin-sipe/
H A D0001-Migrate-to-use-g_memdup2.patch101 SIGNKEY(exported_session_key, TRUE, key);
102 - *client_sign_key = g_memdup(key, 16);
103 + *client_sign_key = g_memdup2(key, 16);
105 - *server_sign_key = g_memdup(key, 16);
106 + *server_sign_key = g_memdup2(key, 16);
108 - *client_seal_key = g_memdup(key, 16);
109 + *client_seal_key = g_memdup2(key, 16);
111 - *server_seal_key = g_memdup(key, 16);
112 + *server_seal_key = g_memdup2(key, 16);
121 /* copy key pair */
[all …]
/openbmc/webui-vue/src/views/HardwareStatus/Inventory/
H A DInventoryTableDimmSlot.vue224 key: 'expandRow',
229 key: 'id',
234 key: 'health',
240 key: 'statusState',
246 key: 'locationNumber',
251 key: 'identifyLed',
279 sortCompare(a, b, key) {
280 if (key === 'health') {
282 } else if (key === 'statusState') {
311 sortStatusState(a, b, key) {
[all …]
/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tee.c73 reg_shm = tee_shm_register_kernel_buf(pvt_data.ctx, p->key, in trusted_tee_seal()
74 sizeof(p->key) + sizeof(p->blob)); in trusted_tee_seal()
91 param[1].u.memref.shm_offs = sizeof(p->key); in trusted_tee_seal()
120 reg_shm = tee_shm_register_kernel_buf(pvt_data.ctx, p->key, in trusted_tee_unseal()
121 sizeof(p->key) + sizeof(p->blob)); in trusted_tee_unseal()
134 param[0].u.memref.shm_offs = sizeof(p->key); in trusted_tee_unseal()
137 param[1].u.memref.size = sizeof(p->key); in trusted_tee_unseal()
157 static int trusted_tee_get_random(unsigned char *key, size_t key_len) in trusted_tee_get_random() argument
167 reg_shm = tee_shm_register_kernel_buf(pvt_data.ctx, key, key_len); in trusted_tee_get_random()
/openbmc/linux/block/
H A Dblk-crypto.c91 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key, in bio_crypt_set_ctx() argument
104 bc->bc_key = key; in bio_crypt_set_ctx()
395 const struct blk_crypto_key *key) in blk_crypto_start_using_key() argument
397 if (blk_crypto_config_supported_natively(bdev, &key->crypto_cfg)) in blk_crypto_start_using_key()
399 return blk_crypto_fallback_start_using_mode(key->crypto_cfg.crypto_mode); in blk_crypto_start_using_key()
418 const struct blk_crypto_key *key) in blk_crypto_evict_key() argument
423 if (blk_crypto_config_supported_natively(bdev, &key->crypto_cfg)) in blk_crypto_evict_key()
424 err = __blk_crypto_evict_key(q->crypto_profile, key); in blk_crypto_evict_key()
426 err = blk_crypto_fallback_evict_key(key); in blk_crypto_evict_key()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dremotedata.py26 def __getitem__(self, key): argument
29 return self.datastores[key]
52 for key, val in self.datastores.items():
54 idx = key
/openbmc/linux/drivers/comedi/drivers/ni_routing/tools/
H A Dcsv_collection.py25 key = self.source_column_name
32 r[key]:{f:strip(c) for f,c in r.items()
33 if f != key and f[:1] not in ['', C] and
35 for r in dR if r[key][:1] not in ['', C]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_hashmap_lookup.c23 u32 __attribute__((__aligned__(8))) key[NR_CPUS]; variable
32 key[0] = i + 1; in patch_key()
34 key[0] = __builtin_bswap32(i + 1); in patch_key()
42 return bpf_map_lookup_elem(&hash_map_bench, key) ? 0 : 1; in lookup_callback()
H A Dcpumask_common.h21 __type(key, int);
87 u32 key = 0; in cpumask_map_value_lookup() local
89 return bpf_map_lookup_elem(&__cpumask_map, &key); in cpumask_map_value_lookup()
97 u32 key = 0; in cpumask_map_insert() local
100 status = bpf_map_update_elem(&__cpumask_map, &key, &local, 0); in cpumask_map_insert()
106 v = bpf_map_lookup_elem(&__cpumask_map, &key); in cpumask_map_insert()
/openbmc/linux/include/linux/
H A Dmbcache.h43 int mb_cache_entry_create(struct mb_cache *cache, gfp_t mask, u32 key,
62 u32 key, u64 value);
63 struct mb_cache_entry *mb_cache_entry_get(struct mb_cache *cache, u32 key,
66 u32 key);
/openbmc/linux/fs/btrfs/
H A Dctree.h515 const struct btrfs_key *key, int *slot);
528 struct btrfs_key *key, int lowest_level,
566 const struct btrfs_key *key, struct btrfs_path *p,
571 const struct btrfs_key *key,
620 const struct btrfs_key *key,
623 const struct btrfs_key *key, void *data, u32 data_size);
632 const struct btrfs_key *key, in btrfs_insert_empty_item() argument
637 batch.keys = key; in btrfs_insert_empty_item()
648 int btrfs_search_backwards(struct btrfs_root *root, struct btrfs_key *key,
673 #define btrfs_for_each_slot(root, key, found_key, path, iter_ret) \ argument
[all …]
/openbmc/qemu/python/qemu/qmp/
H A Dmessage.py83 def __getitem__(self, key: str) -> object:
84 return self._object[key]
86 def __setitem__(self, key: str, value: object) -> None:
87 self._object[key] = value
90 def __delitem__(self, key: str) -> None:
91 del self._object[key]
/openbmc/linux/drivers/input/keyboard/
H A Ddlink-dir685-touchkeys.c33 unsigned long key; in dir685_tk_irq_thread() local
45 key = be16_to_cpup((__be16 *) &buf[4]); in dir685_tk_irq_thread()
48 changed = tk->cur_key ^ key; in dir685_tk_irq_thread()
51 test_bit(i, &key) ? "down" : "up"); in dir685_tk_irq_thread()
52 input_report_key(tk->input, tk->codes[i], test_bit(i, &key)); in dir685_tk_irq_thread()
56 tk->cur_key = key; in dir685_tk_irq_thread()
H A Dipaq-micro-keys.c44 int key, down; in micro_key_receive() local
47 key = 0x7f & msg[0]; in micro_key_receive()
49 if (key < ARRAY_SIZE(micro_keycodes)) { in micro_key_receive()
50 input_report_key(keys->input, keys->codes[key], down); in micro_key_receive()
58 keys->micro->key = micro_key_receive; in micro_key_start()
66 keys->micro->key = NULL; in micro_key_stop()
/openbmc/qemu/crypto/
H A Dpbkdf.c91 const uint8_t *key; member
104 const uint8_t *key = iters_data->key; in threaded_qcrypto_pbkdf2_count_iters() local
121 key, nkey, in threaded_qcrypto_pbkdf2_count_iters()
157 const uint8_t *key, size_t nkey, in qcrypto_pbkdf2_count_iters() argument
163 hash, key, nkey, salt, nsalt, nout, 0, errp in qcrypto_pbkdf2_count_iters()
/openbmc/linux/net/openvswitch/
H A Dflow_table.c648 static u32 flow_hash(const struct sw_flow_key *key, in flow_hash() argument
661 if (key->tun_proto) in flow_key_start()
684 const struct sw_flow_key *key, in flow_cmp_masked_key() argument
687 return cmp_key(&flow->key, key, range->start, range->end); in flow_cmp_masked_key()
693 struct sw_flow_key *key = match->key; in ovs_flow_cmp_unmasked_key() local
694 int key_start = flow_key_start(key); in ovs_flow_cmp_unmasked_key()
733 const struct sw_flow_key *key, in flow_lookup() argument
787 const struct sw_flow_key *key, in ovs_flow_tbl_lookup_stats() argument
813 if (key->recirc_id) in ovs_flow_tbl_lookup_stats()
851 const struct sw_flow_key *key) in ovs_flow_tbl_lookup() argument
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-appleir.c142 int key = (data >> 1) & KEY_MASK; in get_key() local
146 key = -key; in get_key()
148 return key; in get_key()
151 static void key_up(struct hid_device *hid, struct appleir *appleir, int key) in key_up() argument
153 input_report_key(appleir->input_dev, key, 0); in key_up()
157 static void key_down(struct hid_device *hid, struct appleir *appleir, int key) in key_down() argument
159 input_report_key(appleir->input_dev, key, 1); in key_down()
/openbmc/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_bpf_hashmap_lookup.c56 static error_t parse_arg(int key, char *arg, struct argp_state *state) in parse_arg() argument
60 switch (key) { in parse_arg()
141 static inline void patch_key(u32 i, u32 *key) in patch_key() argument
144 *key = i + 1; in patch_key()
146 *key = __builtin_bswap32(i + 1); in patch_key()
176 ctx.skel->bss->key[i] = 2654435761 * i; in setup()
189 patch_key(i, ctx.skel->bss->key); in setup()
190 bpf_map_update_elem(map_fd, ctx.skel->bss->key, &i, BPF_ANY); in setup()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_vxlan.c34 be16_to_cpu(enc_ports.key->dst))) { in mlx5e_tc_tun_check_udp_dport_vxlan()
39 be16_to_cpu(enc_ports.key->dst)); in mlx5e_tc_tun_check_udp_dport_vxlan()
66 int dst_port = be16_to_cpu(e->tun_info->key.tp_dst); in mlx5e_tc_tun_init_encap_attr_vxlan()
87 const struct ip_tunnel_key *tun_key = &e->tun_info->key; in mlx5e_gen_ip_tunnel_header_vxlan()
128 if (enc_opts.key->dst_opt_type != TUNNEL_VXLAN_OPT) { in mlx5e_tc_tun_parse_vxlan_gbp_option()
133 if (enc_opts.key->len != sizeof(*gbp) || in mlx5e_tc_tun_parse_vxlan_gbp_option()
139 gbp = (u32 *)&enc_opts.key->data[0]; in mlx5e_tc_tun_parse_vxlan_gbp_option()
201 be32_to_cpu(enc_keyid.key->keyid)); in mlx5e_tc_tun_parse_vxlan()
/openbmc/linux/drivers/crypto/marvell/cesa/
H A Dcipher.c21 u8 key[DES_KEY_SIZE]; member
26 u8 key[DES3_EDE_KEY_SIZE]; member
292 memcpy(ctx->key, key, DES_KEY_SIZE); in mv_cesa_des_setkey()
298 const u8 *key, unsigned int len) in mv_cesa_des3_ede_setkey() argument
307 memcpy(ctx->key, key, DES3_EDE_KEY_SIZE); in mv_cesa_des3_ede_setkey()
485 memcpy(tmpl->ctx.skcipher.key, ctx->key, DES_KEY_SIZE); in mv_cesa_des_op()
592 memcpy(tmpl->ctx.skcipher.key, ctx->key, DES3_EDE_KEY_SIZE); in mv_cesa_des3_op()
701 u32 *key; in mv_cesa_aes_op() local
707 key = ctx->aes.key_dec; in mv_cesa_aes_op()
709 key = ctx->aes.key_enc; in mv_cesa_aes_op()
[all …]

1...<<31323334353637383940>>...211