/security/keys/ |
D | key.c | 38 void __key_check(const struct key *key) in __key_check() 133 static inline void key_alloc_serial(struct key *key) in key_alloc_serial() 230 struct key *key; in key_alloc() local 369 int key_payload_reserve(struct key *key, size_t datalen) in key_payload_reserve() 406 static void mark_key_instantiated(struct key *key, int reject_error) in mark_key_instantiated() 421 static int __key_instantiate_and_link(struct key *key, in __key_instantiate_and_link() 494 int key_instantiate_and_link(struct key *key, in key_instantiate_and_link() 569 int key_reject_and_link(struct key *key, in key_reject_and_link() 641 void key_put(struct key *key) in key_put() 658 struct key *key; in key_lookup() local [all …]
|
D | request_key.c | 25 struct key *key = current->cached_requested_key; in check_cached_key() local 36 static void cache_requested_key(struct key *key) in cache_requested_key() 59 struct key *key = rka->target_key; in complete_request_key() local 121 struct key *key = rka->target_key, *keyring, *session, *user_session; in call_sbin_request_key() local 223 static int construct_key(struct key *key, const void *callout_info, in construct_key() 373 struct key *key; in construct_alloc_key() local 481 struct key *key; in construct_key_and_link() local 580 struct key *key; in request_key_and_link() local 660 int wait_for_key_construction(struct key *key, bool intr) in wait_for_key_construction() 695 struct key *key; in request_key_tag() local [all …]
|
D | user_defined.c | 101 int user_update(struct key *key, struct key_preparsed_payload *prep) in user_update() 128 void user_revoke(struct key *key) in user_revoke() 146 void user_destroy(struct key *key) in user_destroy() 158 void user_describe(const struct key *key, struct seq_file *m) in user_describe() 171 long user_read(const struct key *key, char __user *buffer, size_t buflen) in user_read()
|
D | keyring.c | 45 static inline void *keyring_key_to_ptr(struct key *key) in keyring_key_to_ptr() 305 const struct key *key = keyring_ptr_to_key(object); in keyring_get_object_key_chunk() local 312 const struct key *key = keyring_ptr_to_key(object); in keyring_compare_object() local 461 const struct key *key = keyring_ptr_to_key(object); in keyring_read_iterator() local 569 bool key_default_cmp(const struct key *key, in key_default_cmp() 581 const struct key *key = keyring_ptr_to_key(object); in keyring_search_iterator() local 679 struct key *key; in search_nested_keyrings() local 956 key_ref_t key; in keyring_search() local 1103 struct key *keyring, *key; in find_key_to_update() local 1195 const struct key *key = keyring_ptr_to_key(object); in keyring_detect_cycle_iterator() local [all …]
|
D | request_key_auth.c | 54 static int request_key_auth_instantiate(struct key *key, in request_key_auth_instantiate() 64 static void request_key_auth_describe(const struct key *key, in request_key_auth_describe() 82 static long request_key_auth_read(const struct key *key, in request_key_auth_read() 135 static void request_key_auth_revoke(struct key *key) in request_key_auth_revoke() 147 static void request_key_auth_destroy(struct key *key) in request_key_auth_destroy()
|
D | permission.c | 29 struct key *key; in key_task_permission() local 85 int key_validate(const struct key *key) in key_validate()
|
D | proc.c | 70 struct key *key = rb_entry(n, struct key, serial_node); in key_serial_next() local 85 struct key *key = rb_entry(n, struct key, serial_node); in find_ge_key() local 116 struct key *key; in proc_keys_start() local 131 struct key *key = rb_entry(n, struct key, serial_node); in key_node_serial() local 154 struct key *key = rb_entry(_p, struct key, serial_node); in proc_keys_show() local
|
D | big_key.c | 100 static int big_key_crypt(enum big_key_op op, struct big_key_buf *buf, size_t datalen, u8 *key) in big_key_crypt() 307 void big_key_revoke(struct key *key) in big_key_revoke() 321 void big_key_destroy(struct key *key) in big_key_destroy() 339 void big_key_describe(const struct key *key, struct seq_file *m) in big_key_describe() 355 long big_key_read(const struct key *key, char __user *buffer, size_t buflen) in big_key_read()
|
D | keyctl.c | 174 struct key *key; in SYSCALL_DEFINE4() local 383 struct key *key; in keyctl_revoke_key() local 424 struct key *key; in keyctl_invalidate_key() local 555 struct key *keyring, *key; in keyctl_keyring_unlink() local 648 struct key *key, *instkey; in keyctl_describe_key() local 812 struct key *key; in keyctl_read_key() local 883 struct key *key; in keyctl_chown_key() local 999 struct key *key; in keyctl_setperm_key() local 1073 static int keyctl_change_reqkey_auth(struct key *key) in keyctl_change_reqkey_auth() 1386 struct key *key, *instkey; in keyctl_set_timeout() local [all …]
|
D | trusted.c | 75 static int TSS_rawhmac(unsigned char *digest, const unsigned char *key, in TSS_rawhmac() 122 int TSS_authhmac(unsigned char *digest, const unsigned char *key, in TSS_authhmac() 180 const unsigned char *key, in TSS_checkhmac1() 399 const unsigned char *key, uint16_t type, uint32_t handle) in osap() 943 static struct trusted_key_payload *trusted_payload_alloc(struct key *key) in trusted_payload_alloc() 966 static int trusted_instantiate(struct key *key, in trusted_instantiate() 1068 static int trusted_update(struct key *key, struct key_preparsed_payload *prep) in trusted_update() 1147 static long trusted_read(const struct key *key, char __user *buffer, in trusted_read() 1179 static void trusted_destroy(struct key *key) in trusted_destroy()
|
D | gc.c | 125 struct key *key = in key_gc_unused_keys() local 181 struct key *key; in key_garbage_collector() local
|
D | internal.h | 204 static inline bool key_is_dead(const struct key *key, time64_t limit) in key_is_dead() 340 static inline void key_check(const struct key *key) in key_check() 348 #define key_check(key) do {} while(0) argument
|
D | process_keys.c | 587 bool lookup_user_key_possessed(const struct key *key, in lookup_user_key_possessed() 621 struct key *key, *user_session; in lookup_user_key() local
|
/security/selinux/ss/ |
D | policydb.c | 185 static int perm_destroy(void *key, void *datum, void *p) in perm_destroy() 192 static int common_destroy(void *key, void *datum, void *p) in common_destroy() 219 static int cls_destroy(void *key, void *datum, void *p) in cls_destroy() 261 static int role_destroy(void *key, void *datum, void *p) in role_destroy() 275 static int type_destroy(void *key, void *datum, void *p) in type_destroy() 282 static int user_destroy(void *key, void *datum, void *p) in user_destroy() 298 static int sens_destroy(void *key, void *datum, void *p) in sens_destroy() 313 static int cat_destroy(void *key, void *datum, void *p) in cat_destroy() 332 static int filenametr_destroy(void *key, void *datum, void *p) in filenametr_destroy() 343 static int range_tr_destroy(void *key, void *datum, void *p) in range_tr_destroy() [all …]
|
D | hashtab.c | 15 struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key), in hashtab_create() 42 int hashtab_insert(struct hashtab *h, void *key, void *datum) in hashtab_insert() 80 void *hashtab_search(struct hashtab *h, const void *key) in hashtab_search()
|
D | avtab.c | 71 struct avtab_key *key, struct avtab_datum *datum) in avtab_insert_node() 106 static int avtab_insert(struct avtab *h, struct avtab_key *key, struct avtab_datum *datum) in avtab_insert() 151 avtab_insert_nonunique(struct avtab *h, struct avtab_key *key, struct avtab_datum *datum) in avtab_insert_nonunique() 181 struct avtab_datum *avtab_search(struct avtab *h, struct avtab_key *key) in avtab_search() 217 avtab_search_node(struct avtab *h, struct avtab_key *key) in avtab_search_node() 395 struct avtab_key key; in avtab_read_item() local
|
D | conditional.c | 185 int cond_destroy_bool(void *key, void *datum, void *p) in cond_destroy_bool() 192 int cond_index_bool(void *key, void *datum, void *datap) in cond_index_bool() 218 char *key = NULL; in cond_read_bool() local 491 char *key = vkey; in cond_write_bool() local 613 void cond_compute_xperms(struct avtab *ctab, struct avtab_key *key, in cond_compute_xperms() 632 void cond_compute_av(struct avtab *ctab, struct avtab_key *key, in cond_compute_av()
|
D | symtab.c | 12 static unsigned int symhash(struct hashtab *h, const void *key) in symhash()
|
D | hashtab.h | 17 void *key; member
|
/security/integrity/ |
D | digsig_asymmetric.c | 26 struct key *key; in request_asymmetric_key() local 83 struct key *key; in asymmetric_verify() local
|
D | digsig.c | 150 key_ref_t key; in integrity_add_key() local
|
/security/keys/encrypted-keys/ |
D | encrypted.c | 339 static int calc_hmac(u8 *digest, const u8 *key, unsigned int keylen, in calc_hmac() 389 static struct skcipher_request *init_skcipher_req(const u8 *key, in init_skcipher_req() 607 static struct encrypted_key_payload *encrypted_key_alloc(struct key *key, in encrypted_key_alloc() 793 static int encrypted_instantiate(struct key *key, in encrypted_instantiate() 854 static int encrypted_update(struct key *key, struct key_preparsed_payload *prep) in encrypted_update() 912 static long encrypted_read(const struct key *key, char __user *buffer, in encrypted_read() 975 static void encrypted_destroy(struct key *key) in encrypted_destroy()
|
/security/integrity/ima/ |
D | ima_queue.c | 54 unsigned int key; in ima_lookup_digest_entry() local 98 unsigned int key; in ima_add_digest_entry() local
|
/security/tomoyo/ |
D | securityfs_if.c | 134 const int key = ((u8 *) file_inode(file)->i_private) in tomoyo_open() local 224 struct dentry *parent, const u8 key) in tomoyo_create_entry()
|
/security/apparmor/ |
D | policy_unpack.c | 652 const char * const *key = data; in strhash() local 660 const char * const *key = arg->key; in datacmp() local 678 char *key = NULL; in unpack_profile() local
|