/kernel/linux/linux-6.6/include/crypto/ |
H A D | public_key.h | 58 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()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | key.h | 96 struct key_type; 123 struct key_type *type; 166 const struct key_type *type, 173 struct key_type *keytype; 244 struct key_type *type; /* type of key */ 277 extern struct key *key_alloc(struct key_type *type, 316 extern struct key *request_key_tag(struct key_type *type, 321 extern struct key *request_key_rcu(struct key_type *type, 325 extern struct key *request_key_with_auxdata(struct key_type *type, 340 static inline struct key *request_key(struct key_type *typ [all...] |
H A D | key-type.h | 63 struct key_type { struct 164 extern struct key_type key_type_keyring; 166 extern int register_key_type(struct key_type *ktype); 167 extern void unregister_key_type(struct key_type *ktype);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | key.h | 102 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, 331 extern struct key *request_key_with_auxdata(struct key_type *type, 346 static inline struct key *request_key(struct key_type *typ [all...] |
H A D | key-type.h | 64 struct key_type { struct 165 extern struct key_type key_type_keyring; 167 extern int register_key_type(struct key_type *ktype); 168 extern void unregister_key_type(struct key_type *ktype);
|
/kernel/linux/linux-6.6/include/keys/ |
H A D | system_keyring.h | 23 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 D | user-type.h | 33 extern struct key_type key_type_user; 34 extern struct key_type key_type_logon;
|
/kernel/linux/linux-5.10/include/crypto/ |
H A D | public_key.h | 57 struct key_type; 61 const struct key_type *type, 66 const struct key_type *type, 71 const struct key_type *type,
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | linked_maps2.c | 9 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()
|
/kernel/linux/linux-5.10/security/keys/ |
H A D | internal.h | 41 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, 178 struct key_type *dead_type); 182 extern void key_gc_keytype(struct key_type *ktype); 214 extern struct key_type key_type_request_key_auth;
|
/kernel/linux/linux-6.6/security/keys/ |
H A D | internal.h | 41 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;
|
/kernel/linux/linux-6.6/crypto/asymmetric_keys/ |
H A D | restrict.c | 71 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()
|
/kernel/linux/linux-5.10/drivers/staging/vt6656/ |
H A D | key.c | 37 struct ieee80211_key_conf *key, u32 key_type, in vnt_set_keymode() 53 if (key_type != VNT_KEY_DEFAULTKEY) { in vnt_set_keymode() 65 switch (key_type) { in vnt_set_keymode() 85 key_mode |= key_type; in vnt_set_keymode() 36 vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, struct ieee80211_key_conf *key, u32 key_type, u32 mode) vnt_set_keymode() argument
|
/kernel/linux/linux-6.6/drivers/staging/vt6656/ |
H A D | key.c | 35 struct ieee80211_key_conf *key, u32 key_type, in vnt_set_keymode() 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() 34 vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, struct ieee80211_key_conf *key, u32 key_type, u32 mode) vnt_set_keymode() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | crypto.c | 9 u32 key_type, u32 *p_key_id) in mlx5_create_encryption_key() 44 MLX5_SET(encryption_key_obj, obj, key_type, key_type); in mlx5_create_encryption_key() 7 mlx5_create_encryption_key(struct mlx5_core_dev *mdev, void *key, u32 sz_bytes, u32 key_type, u32 *p_key_id) mlx5_create_encryption_key() argument
|
/kernel/linux/linux-6.6/certs/ |
H A D | system_keyring.c | 46 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()
|
/kernel/linux/linux-5.10/crypto/asymmetric_keys/ |
H A D | restrict.c | 71 const struct key_type *type, in restrict_link_by_signature() 119 const struct key_type *type, in key_or_keyring_common() 231 const struct key_type *type, in restrict_link_by_key_or_keyring() 258 const struct key_type *type, in restrict_link_by_key_or_keyring_chain()
|
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | gc.c | 119 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() 177 ubifs_assert(c, key_type(c, &sa->key) == UBIFS_DENT_KEY || in nondata_nodes_cmp() 178 key_type(c, &sa->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp() 179 ubifs_assert(c, key_type(c, &sb->key) == UBIFS_DENT_KEY || in nondata_nodes_cmp() 180 key_type(c, &sb->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp() 255 ubifs_assert(c, key_type(c, &snod->key) == UBIFS_DATA_KEY || in sort_nodes() 256 key_type( in sort_nodes() [all...] |
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | gc.c | 119 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() 177 ubifs_assert(c, key_type(c, &sa->key) == UBIFS_DENT_KEY || in nondata_nodes_cmp() 178 key_type(c, &sa->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp() 179 ubifs_assert(c, key_type(c, &sb->key) == UBIFS_DENT_KEY || in nondata_nodes_cmp() 180 key_type(c, &sb->key) == UBIFS_XENT_KEY); in nondata_nodes_cmp() 255 ubifs_assert(c, key_type(c, &snod->key) == UBIFS_DATA_KEY || in sort_nodes() 256 key_type( in sort_nodes() [all...] |
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | local_storage.c | 360 const struct btf_type *key_type, in cgroup_storage_check_btf() 378 if (BTF_INFO_KIND(key_type->info) != BTF_KIND_STRUCT || in cgroup_storage_check_btf() 379 BTF_INFO_VLEN(key_type->info) != 2) in cgroup_storage_check_btf() 385 m = (struct btf_member *)(key_type + 1); in cgroup_storage_check_btf() 387 if (!btf_member_is_reg_int(btf, key_type, m, 0, size)) in cgroup_storage_check_btf() 396 if (!btf_member_is_reg_int(btf, key_type, m, offset, size)) in cgroup_storage_check_btf() 405 if (BTF_INFO_KIND(key_type->info) != BTF_KIND_INT) in cgroup_storage_check_btf() 408 int_data = *(u32 *)(key_type + 1); in cgroup_storage_check_btf() 358 cgroup_storage_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) cgroup_storage_check_btf() argument
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | verity.c | 98 * Drop all the items for this inode with this key_type. 101 * @key_type: type of items to drop (BTRFS_VERITY_DESC_ITEM or 109 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() 206 * @key_type: key type to insert 212 * The inserted items will have key (ino, key_type, offset + off) where off is 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() 279 * @key_type 297 read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, char *dest, u64 len, struct page *dest_page) read_key_bytes() argument [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | local_storage.c | 358 const struct btf_type *key_type, in cgroup_storage_check_btf() 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() 356 cgroup_storage_check_btf(const struct bpf_map *map, const struct btf *btf, const struct btf_type *key_type, const struct btf_type *value_type) cgroup_storage_check_btf() argument
|
/kernel/linux/linux-5.10/include/keys/ |
H A D | user-type.h | 33 extern struct key_type key_type_user; 34 extern struct key_type key_type_logon;
|
/kernel/linux/linux-5.10/drivers/staging/vt6655/ |
H A D | key.c | 21 struct ieee80211_key_conf *key, u32 key_type, in vnt_set_keymode() 37 if (key_type != VNT_KEY_DEFAULTKEY) { in vnt_set_keymode() 49 switch (key_type) { in vnt_set_keymode() 20 vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, struct ieee80211_key_conf *key, u32 key_type, u32 mode, bool onfly_latch) vnt_set_keymode() argument
|
/kernel/linux/linux-6.6/drivers/staging/vt6655/ |
H A D | key.c | 18 struct ieee80211_key_conf *key, u32 key_type, in vnt_set_keymode() 34 if (key_type != VNT_KEY_DEFAULTKEY) { in vnt_set_keymode() 46 switch (key_type) { in vnt_set_keymode() 17 vnt_set_keymode(struct ieee80211_hw *hw, u8 *mac_addr, struct ieee80211_key_conf *key, u32 key_type, u32 mode, bool onfly_latch) vnt_set_keymode() argument
|