Home
last modified time | relevance | path

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

1234567

/openbmc/phosphor-dbus-monitor/src/test/
H A Dpropertywatchgentest.cpp19 {Index::key_type{0, 0, 0}, 0},
20 {Index::key_type{0, 1, 0}, 1},
21 {Index::key_type{1, 0, 0}, 2},
22 {Index::key_type{1, 1, 0}, 3},
23 {Index::key_type{2, 0, 0}, 4},
24 {Index::key_type{2, 1, 0}, 5},
25 {Index::key_type{3, 0, 0}, 6},
26 {Index::key_type{3, 1, 0}, 7},
29 {Index::key_type{2, 2, 1}, 8},
30 {Index::key_type{2, 2, 2}, 9},
[all …]
H A Dpropertywatchtest.cpp34 {PropertyIndex::key_type{paths[0], interfaces[0], properties[0]},
36 {PropertyIndex::key_type{paths[0], interfaces[1], properties[1]},
38 {PropertyIndex::key_type{paths[1], interfaces[0], properties[0]},
40 {PropertyIndex::key_type{paths[1], interfaces[1], properties[1]},
42 {PropertyIndex::key_type{paths[2], interfaces[0], properties[0]},
44 {PropertyIndex::key_type{paths[2], interfaces[1], properties[1]},
46 {PropertyIndex::key_type{paths[3], interfaces[0], properties[0]},
48 {PropertyIndex::key_type{paths[3], interfaces[1], properties[1]},
/openbmc/linux/include/crypto/
H A Dpublic_key.h58 struct key_type;
62 const struct key_type *type,
67 const struct key_type *type,
72 const struct key_type *type,
78 const struct key_type *type,
82 const struct key_type *type,
87 const struct key_type *type, in restrict_link_by_ca()
95 const struct key_type *type, in restrict_link_by_digsig()
/openbmc/qemu/tests/unit/
H A Dtest-crypto-akcipher.c664 QCryptoAkCipherKeyType key_type; member
695 .key_type = QCRYPTO_AKCIPHER_KEY_TYPE_PUBLIC,
703 .key_type = QCRYPTO_AKCIPHER_KEY_TYPE_PRIVATE,
711 .key_type = QCRYPTO_AKCIPHER_KEY_TYPE_PUBLIC,
719 .key_type = QCRYPTO_AKCIPHER_KEY_TYPE_PRIVATE,
727 .key_type = QCRYPTO_AKCIPHER_KEY_TYPE_PUBLIC,
734 .key_type = QCRYPTO_AKCIPHER_KEY_TYPE_PRIVATE,
741 .key_type = QCRYPTO_AKCIPHER_KEY_TYPE_PUBLIC,
755 .key_type = QCRYPTO_AKCIPHER_KEY_TYPE_PUBLIC,
769 .key_type = QCRYPTO_AKCIPHER_KEY_TYPE_PUBLIC,
[all …]
/openbmc/linux/include/linux/
H A Dkey.h102 struct key_type;
129 struct key_type *type;
172 const struct key_type *type,
179 struct key_type *keytype;
250 struct key_type *type; /* type of key */
283 extern struct key *key_alloc(struct key_type *type,
322 extern struct key *request_key_tag(struct key_type *type,
327 extern struct key *request_key_rcu(struct key_type *type,
346 static inline struct key *request_key(struct key_type *type, in request_key()
428 const struct key_type *type,
[all …]
H A Dkey-type.h64 struct key_type { struct
165 extern struct key_type key_type_keyring; argument
167 extern int register_key_type(struct key_type *ktype);
168 extern void unregister_key_type(struct key_type *ktype);
/openbmc/linux/include/keys/
H A Dsystem_keyring.h23 const struct key_type *type,
27 const struct key_type *type,
46 const struct key_type *type,
50 const struct key_type *type,
65 const struct key_type *type,
H A Duser-type.h33 extern struct key_type key_type_user;
34 extern struct key_type key_type_logon;
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dlinked_maps2.c9 typedef struct my_key { long x; } key_type; typedef
14 __type(key, key_type);
43 key_type key_struct = { .x = 2 }; in BPF_PROG()
58 key_type key_struct = { .x = 1 }; in BPF_PROG()
/openbmc/linux/security/keys/
H A Dinternal.h41 extern struct key_type key_type_dead;
42 extern struct key_type key_type_user;
43 extern struct key_type key_type_logon;
92 extern struct key_type *key_type_lookup(const char *type);
93 extern void key_type_put(struct key_type *ktype);
157 extern struct key *request_key_and_link(struct key_type *type,
176 struct key_type *dead_type);
180 extern void key_gc_keytype(struct key_type *ktype);
212 extern struct key_type key_type_request_key_auth;
/openbmc/phosphor-hwmon/
H A Dsensor.hpp20 using TimedoutMap = std::map<SensorSet::key_type, std::future<int64_t>>;
62 explicit Sensor(const SensorSet::key_type& sensor,
185 SensorSet::key_type _sensor;
243 SensorValueType asyncRead(const SensorSet::key_type& sensorSetKey,
H A Denv.hpp58 inline std::string getEnv(const char* prefix, const SensorSet::key_type& sensor, in getEnv()
83 SensorSet::key_type sensor{type, id}; in getEnv()
98 const SensorSet::key_type& sensor) in getIndirectID()
H A Dmainloop.hpp89 using SensorState = std::map<SensorSet::key_type, mapped_type>;
126 std::map<SensorSet::key_type, std::unique_ptr<sensor::Sensor>>
134 std::map<SensorSet::key_type, SensorSet::mapped_type> _rmSensors;
H A Dsensorset.hpp26 using key_type = container_t::key_type; typedef in SensorSet
/openbmc/linux/crypto/asymmetric_keys/
H A Drestrict.c71 const struct key_type *type, in restrict_link_by_signature()
127 const struct key_type *type, in restrict_link_by_ca()
168 const struct key_type *type, in restrict_link_by_digsig()
203 const struct key_type *type, in key_or_keyring_common()
325 const struct key_type *type, in restrict_link_by_key_or_keyring()
353 const struct key_type *type, in restrict_link_by_key_or_keyring_chain()
/openbmc/linux/drivers/staging/vt6656/
H A Dkey.c35 struct ieee80211_key_conf *key, u32 key_type, in vnt_set_keymode() argument
51 if (key_type != VNT_KEY_DEFAULTKEY) { in vnt_set_keymode()
63 switch (key_type) { in vnt_set_keymode()
83 key_mode |= key_type; in vnt_set_keymode()
/openbmc/u-boot/fs/ubifs/
H A Dgc.c128 ubifs_assert(key_type(c, &sa->key) == UBIFS_DATA_KEY); in data_nodes_cmp()
129 ubifs_assert(key_type(c, &sb->key) == UBIFS_DATA_KEY); in data_nodes_cmp()
172 ubifs_assert(key_type(c, &sa->key) != UBIFS_DATA_KEY && in nondata_nodes_cmp()
173 key_type(c, &sb->key) != UBIFS_DATA_KEY); in nondata_nodes_cmp()
187 key_type(c, &sa->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp()
189 key_type(c, &sb->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp()
264 key_type(c, &snod->key) == UBIFS_INO_KEY || in sort_nodes()
265 key_type(c, &snod->key) == UBIFS_DENT_KEY || in sort_nodes()
266 key_type(c, &snod->key) == UBIFS_XENT_KEY); in sort_nodes()
283 if (key_type(c, &snod->key) != UBIFS_DATA_KEY) in sort_nodes()
[all …]
/openbmc/linux/fs/ubifs/
H A Dgc.c119 ubifs_assert(c, key_type(c, &sa->key) == UBIFS_DATA_KEY); in data_nodes_cmp()
120 ubifs_assert(c, key_type(c, &sb->key) == UBIFS_DATA_KEY); in data_nodes_cmp()
163 ubifs_assert(c, key_type(c, &sa->key) != UBIFS_DATA_KEY && in nondata_nodes_cmp()
164 key_type(c, &sb->key) != UBIFS_DATA_KEY); in nondata_nodes_cmp()
178 key_type(c, &sa->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp()
180 key_type(c, &sb->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp()
256 key_type(c, &snod->key) == UBIFS_INO_KEY || in sort_nodes()
257 key_type(c, &snod->key) == UBIFS_DENT_KEY || in sort_nodes()
258 key_type(c, &snod->key) == UBIFS_XENT_KEY); in sort_nodes()
275 if (key_type(c, &snod->key) != UBIFS_DATA_KEY) in sort_nodes()
[all …]
/openbmc/linux/certs/
H A Dsystem_keyring.c46 const struct key_type *type, in restrict_link_by_builtin_trusted()
66 const struct key_type *type, in restrict_link_by_digsig_builtin()
89 const struct key_type *type, in restrict_link_by_builtin_and_secondary_trusted()
118 const struct key_type *type, in restrict_link_by_digsig_builtin_and_secondary()
208 const struct key_type *type, in restrict_link_by_builtin_secondary_and_machine()
/openbmc/linux/fs/btrfs/
H A Dverity.c109 static int drop_verity_items(struct btrfs_inode *inode, u8 key_type) in drop_verity_items() argument
135 key.type = key_type; in drop_verity_items()
153 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in drop_verity_items()
217 static int write_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in write_key_bytes() argument
243 key.type = key_type; in write_key_bytes()
297 static int read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in read_key_bytes() argument
322 key.type = key_type; in read_key_bytes()
339 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in read_key_bytes()
/openbmc/linux/drivers/staging/vt6655/
H A Dkey.c18 struct ieee80211_key_conf *key, u32 key_type, in vnt_set_keymode() argument
34 if (key_type != VNT_KEY_DEFAULTKEY) { in vnt_set_keymode()
46 switch (key_type) { in vnt_set_keymode()
/openbmc/linux/kernel/bpf/
H A Dlocal_storage.c358 const struct btf_type *key_type, in cgroup_storage_check_btf() argument
376 if (BTF_INFO_KIND(key_type->info) != BTF_KIND_STRUCT || in cgroup_storage_check_btf()
377 BTF_INFO_VLEN(key_type->info) != 2) in cgroup_storage_check_btf()
383 m = (struct btf_member *)(key_type + 1); in cgroup_storage_check_btf()
385 if (!btf_member_is_reg_int(btf, key_type, m, 0, size)) in cgroup_storage_check_btf()
394 if (!btf_member_is_reg_int(btf, key_type, m, offset, size)) in cgroup_storage_check_btf()
403 if (BTF_INFO_KIND(key_type->info) != BTF_KIND_INT) in cgroup_storage_check_btf()
406 int_data = *(u32 *)(key_type + 1); in cgroup_storage_check_btf()
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Drecv_linux.c143 enum nl80211_key_type key_type = 0; in rtw_handle_tkip_mic_err() local
165 key_type |= NL80211_KEYTYPE_GROUP; in rtw_handle_tkip_mic_err()
167 key_type |= NL80211_KEYTYPE_PAIRWISE; in rtw_handle_tkip_mic_err()
170 cfg80211_michael_mic_failure(padapter->pnetdev, (u8 *)&pmlmepriv->assoc_bssid[0], key_type, -1, in rtw_handle_tkip_mic_err()
/openbmc/linux/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.c122 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr()
249 ctx->key_type = AES_128_BIT; in cvm_xts_setkey()
252 ctx->key_type = AES_256_BIT; in cvm_xts_setkey()
267 ctx->key_type = AES_128_BIT; in cvm_validate_keylen()
270 ctx->key_type = AES_192_BIT; in cvm_validate_keylen()
273 ctx->key_type = AES_256_BIT; in cvm_validate_keylen()
280 ctx->key_type = 0; in cvm_validate_keylen()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcore.c1531 u8 key_type = NO_ENCRYPTION; in rtl_op_set_key() local
1562 key_type = WEP40_ENCRYPTION; in rtl_op_set_key()
1567 key_type = WEP104_ENCRYPTION; in rtl_op_set_key()
1570 key_type = TKIP_ENCRYPTION; in rtl_op_set_key()
1574 key_type = AESCCMP_ENCRYPTION; in rtl_op_set_key()
1581 key_type = AESCMAC_ENCRYPTION; in rtl_op_set_key()
1591 if (key_type == WEP40_ENCRYPTION || in rtl_op_set_key()
1592 key_type == WEP104_ENCRYPTION || in rtl_op_set_key()
1616 key_type == WEP104_ENCRYPTION) { in rtl_op_set_key()
1632 key_type); in rtl_op_set_key()
[all …]

1234567