/linux-6.1.9/include/linux/ |
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 *type, in request_key() [all …]
|
D | key-type.h | 64 struct key_type { struct 164 extern struct key_type key_type_keyring; argument 166 extern int register_key_type(struct key_type *ktype); 167 extern void unregister_key_type(struct key_type *ktype);
|
/linux-6.1.9/include/crypto/ |
D | public_key.h | 56 struct key_type; 60 const struct key_type *type, 65 const struct key_type *type, 70 const struct key_type *type,
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
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()
|
/linux-6.1.9/security/keys/ |
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); 179 extern void key_gc_keytype(struct key_type *ktype); 211 extern struct key_type key_type_request_key_auth;
|
D | gc.c | 31 static struct key_type *key_gc_dead_keytype; 43 struct key_type key_type_dead = { 99 void key_gc_keytype(struct key_type *ktype) in key_gc_keytype()
|
/linux-6.1.9/drivers/staging/vt6656/ |
D | key.c | 35 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()
|
/linux-6.1.9/fs/ubifs/ |
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(c, &snod->key) == UBIFS_INO_KEY || in sort_nodes() [all …]
|
D | replay.c | 218 ubifs_assert(c, key_type(c, &rino->key) == UBIFS_INO_KEY); in inode_still_linked() 227 key_type(c, &r->key) == UBIFS_INO_KEY) in inode_still_linked() 258 switch (key_type(c, &r->key)) { in apply_replay_entry() 483 int key_type = key_type_flash(c, dent->key); in ubifs_validate_entry() local 489 (key_type == UBIFS_XENT_KEY && strnlen(dent->name, nlen) != nlen) || in ubifs_validate_entry() 491 ubifs_err(c, "bad %s node", key_type == UBIFS_DENT_KEY ? in ubifs_validate_entry() 496 if (key_type != UBIFS_DENT_KEY && key_type != UBIFS_XENT_KEY) { in ubifs_validate_entry() 497 ubifs_err(c, "bad key type %d", key_type); in ubifs_validate_entry()
|
D | tnc_misc.c | 327 switch (key_type(c, &zbr->key)) { in read_znode() 335 i, key_type(c, &zbr->key)); in read_znode() 343 type = key_type(c, &zbr->key); in read_znode() 464 int err, type = key_type(c, key); in ubifs_tnc_read_node()
|
/linux-6.1.9/include/keys/ |
D | system_keyring.h | 23 const struct key_type *type, 41 const struct key_type *type, 51 const struct key_type *type,
|
D | user-type.h | 33 extern struct key_type key_type_user; 34 extern struct key_type key_type_logon;
|
D | ceph-type.h | 7 extern struct key_type key_type_ceph;
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | crypto.c | 9 u32 key_type, u32 *p_key_id) in mlx5_create_encryption_key() argument 44 MLX5_SET(encryption_key_obj, obj, key_type, key_type); in mlx5_create_encryption_key()
|
/linux-6.1.9/crypto/asymmetric_keys/ |
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() 241 const struct key_type *type, in restrict_link_by_key_or_keyring() 269 const struct key_type *type, in restrict_link_by_key_or_keyring_chain()
|
/linux-6.1.9/fs/btrfs/ |
D | verity.c | 103 static int drop_verity_items(struct btrfs_inode *inode, u8 key_type) in drop_verity_items() argument 129 key.type = key_type; in drop_verity_items() 147 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in drop_verity_items() 211 static int write_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in write_key_bytes() argument 237 key.type = key_type; in write_key_bytes() 291 static int read_key_bytes(struct btrfs_inode *inode, u8 key_type, u64 offset, in read_key_bytes() argument 316 key.type = key_type; in read_key_bytes() 333 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in read_key_bytes()
|
/linux-6.1.9/drivers/staging/vt6655/ |
D | key.c | 18 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()
|
/linux-6.1.9/kernel/bpf/ |
D | local_storage.c | 358 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()
|
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 143 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()
|
/linux-6.1.9/drivers/crypto/cavium/cpt/ |
D | cptvf_algs.c | 122 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr() 250 ctx->key_type = AES_128_BIT; in cvm_xts_setkey() 253 ctx->key_type = AES_256_BIT; in cvm_xts_setkey() 268 ctx->key_type = AES_128_BIT; in cvm_validate_keylen() 271 ctx->key_type = AES_192_BIT; in cvm_validate_keylen() 274 ctx->key_type = AES_256_BIT; in cvm_validate_keylen() 281 ctx->key_type = 0; in cvm_validate_keylen()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 1531 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() 1615 if (!group_key || key_type == WEP40_ENCRYPTION || in rtl_op_set_key() 1616 key_type == WEP104_ENCRYPTION) { in rtl_op_set_key() [all …]
|
/linux-6.1.9/certs/ |
D | system_keyring.c | 42 const struct key_type *type, in restrict_link_by_builtin_trusted() 61 const struct key_type *type, in restrict_link_by_builtin_and_secondary_trusted() 121 const struct key_type *type, in restrict_link_by_builtin_secondary_and_machine()
|
/linux-6.1.9/net/bluetooth/ |
D | amp.c | 178 BT_DBG("conn %p key_type %d", conn, conn->key_type); in phylink_gen_key() 181 if (conn->key_type < 3) { in phylink_gen_key() 182 bt_dev_err(hdev, "legacy key type %u", conn->key_type); in phylink_gen_key() 186 *type = conn->key_type; in phylink_gen_key() 206 if (conn->key_type == HCI_LK_DEBUG_COMBINATION) { in phylink_gen_key() 453 &cp.key_type)) { in amp_create_phylink() 492 &cp.key_type)) { in amp_accept_phylink()
|
/linux-6.1.9/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptvf_algs.h | 123 u8 key_type; member 170 u8 key_type; member
|
/linux-6.1.9/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.h | 133 u8 key_type; member 179 u8 key_type; member
|