| /security/keys/ |
| A D | key.c | 38 void __key_check(const struct key *key) in __key_check() 230 struct key *key; in key_alloc() local 499 int key_instantiate_and_link(struct key *key, in key_instantiate_and_link() 575 int key_reject_and_link(struct key *key, in key_reject_and_link() 647 void key_put(struct key *key) in key_put() 676 struct key *key; in key_lookup() local 768 struct key *key = key_ref_to_ptr(key_ref); in __key_update() local 821 struct key *keyring, *key = NULL; in __key_create_or_update() local 1079 struct key *key = key_ref_to_ptr(key_ref); in key_update() local 1131 void key_revoke(struct key *key) in key_revoke() [all …]
|
| A 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() 62 struct key *key = rka->target_key; in complete_request_key() local 226 static int construct_key(struct key *key, const void *callout_info, in construct_key() 376 struct key *key; in construct_alloc_key() local 497 struct key *key; in construct_key_and_link() local 596 struct key *key; in request_key_and_link() local 676 int wait_for_key_construction(struct key *key, bool intr) in wait_for_key_construction() 711 struct key *key; in request_key_tag() local 753 struct key *key; in request_key_with_auxdata() local [all …]
|
| A 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 *buffer, size_t buflen) in user_read()
|
| A 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 565 bool key_default_cmp(const struct key *key, in key_default_cmp() 675 struct key *key; in search_nested_keyrings() local 955 key_ref_t key; in keyring_search() local 1104 struct key *keyring, *key; in find_key_to_update() local 1438 int key_link(struct key *keyring, struct key *key) in key_link() 1521 static void __key_unlink_end(struct key *keyring, in __key_unlink_end() 1593 int key_move(struct key *key, in key_move() [all …]
|
| A 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() 134 static void request_key_auth_revoke(struct key *key) in request_key_auth_revoke() 146 static void request_key_auth_destroy(struct key *key) in request_key_auth_destroy()
|
| A D | big_key.c | 165 void big_key_revoke(struct key *key) in big_key_revoke() 178 void big_key_destroy(struct key *key) in big_key_destroy() 194 int big_key_update(struct key *key, struct key_preparsed_payload *prep) in big_key_update() 211 void big_key_describe(const struct key *key, struct seq_file *m) in big_key_describe() 227 long big_key_read(const struct key *key, char *buffer, size_t buflen) in big_key_read()
|
| A D | permission.c | 29 struct key *key; in key_task_permission() local 102 int key_validate(const struct key *key) in key_validate()
|
| A 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 156 struct key *key = rb_entry(_p, struct key, serial_node); in proc_keys_show() local
|
| A D | keyctl.c | 173 struct key *key; in SYSCALL_DEFINE4() local 382 struct key *key; in keyctl_revoke_key() local 423 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 827 struct key *key; in keyctl_read_key() local 952 struct key *key; in keyctl_chown_key() local 1075 struct key *key; in keyctl_setperm_key() local 1459 struct key *key, *instkey; in keyctl_set_timeout() local 1565 struct key *key, *instkey; in keyctl_get_security() local [all …]
|
| A D | gc.c | 72 void key_set_expiry(struct key *key, time64_t expiry) in key_set_expiry() 138 struct key *key = in key_gc_unused_keys() local 190 struct key *key; in key_garbage_collector() local
|
| A D | internal.h | 179 static inline void notify_key(struct key *key, in notify_key() 217 static inline bool key_is_dead(const struct key *key, time64_t limit) in key_is_dead() 365 static inline void key_check(const struct key *key) in key_check() 373 #define key_check(key) do {} while(0) argument
|
| /security/selinux/ss/ |
| A D | policydb.c | 389 char *key = NULL; in roles_init() local 1128 char *key = NULL; in perm_read() local 1161 char *key = NULL; in common_read() local 1326 char *key = NULL; in class_read() local 1423 char *key = NULL; in role_read() local 1480 char *key = NULL; in type_read() local 1554 char *key = NULL; in user_read() local 1605 char *key = NULL; in sens_read() local 1641 char *key = NULL; in cat_read() local 2828 char *key = vkey; in sens_write() local [all …]
|
| A D | conditional.c | 178 int cond_destroy_bool(void *key, void *datum, void *p) in cond_destroy_bool() 185 int cond_index_bool(void *key, void *datum, void *datap) in cond_index_bool() 211 char *key = NULL; in cond_read_bool() local 447 char *key = vkey; in cond_write_bool() local 553 void cond_compute_xperms(struct avtab *ctab, struct avtab_key *key, in cond_compute_xperms() 570 void cond_compute_av(struct avtab *ctab, struct avtab_key *key, in cond_compute_av() 674 static int cond_bools_destroy(void *key, void *datum, void *args) in cond_bools_destroy() 696 static int cond_bools_index(void *key, void *datum, void *args) in cond_bools_index()
|
| A D | hashtab.h | 27 void *key; member 62 static inline int hashtab_insert(struct hashtab *h, void *key, void *datum, in hashtab_insert() 97 static inline void *hashtab_search(struct hashtab *h, const void *key, in hashtab_search()
|
| A D | avtab.c | 69 const struct avtab_key *key, in avtab_insert_node() 120 static int avtab_insert(struct avtab *h, const struct avtab_key *key, in avtab_insert() 154 const struct avtab_key *key, in avtab_insert_nonunique() 178 const struct avtab_key *key) in avtab_search_node() 347 struct avtab_key key; in avtab_read_item() local
|
| A D | symtab.c | 13 static unsigned int symhash(const void *key) in symhash()
|
| /security/keys/trusted-keys/ |
| A D | trusted_core.c | 124 static struct trusted_key_payload *trusted_payload_alloc(struct key *key) in trusted_payload_alloc() 150 static int trusted_instantiate(struct key *key, in trusted_instantiate() 230 static int trusted_update(struct key *key, struct key_preparsed_payload *prep) in trusted_update() 290 static long trusted_read(const struct key *key, char *buffer, in trusted_read() 312 static void trusted_destroy(struct key *key) in trusted_destroy() 327 static int kernel_get_random(unsigned char *key, size_t key_len) in kernel_get_random()
|
| A D | trusted_tpm1.c | 68 static int TSS_rawhmac(unsigned char *digest, const unsigned char *key, in TSS_rawhmac() 115 int TSS_authhmac(unsigned char *digest, const unsigned char *key, in TSS_authhmac() 173 const unsigned char *key, in TSS_checkhmac1() 403 const unsigned char *key, uint16_t type, uint32_t handle) in osap() 987 static int trusted_tpm_get_random(unsigned char *key, size_t key_len) in trusted_tpm_get_random()
|
| /security/integrity/ |
| A D | digsig_asymmetric.c | 24 struct key *key; in request_asymmetric_key() local 88 struct key *key; in asymmetric_verify() local
|
| /security/keys/encrypted-keys/ |
| A D | encrypted.c | 332 static int calc_hmac(u8 *digest, const u8 *key, unsigned int keylen, in calc_hmac() 383 static struct skcipher_request *init_skcipher_req(const u8 *key, in init_skcipher_req() 601 static struct encrypted_key_payload *encrypted_key_alloc(struct key *key, in encrypted_key_alloc() 813 static int encrypted_instantiate(struct key *key, in encrypted_instantiate() 875 static int encrypted_update(struct key *key, struct key_preparsed_payload *prep) in encrypted_update() 933 static long encrypted_read(const struct key *key, char *buffer, in encrypted_read() 995 static void encrypted_destroy(struct key *key) in encrypted_destroy()
|
| /security/integrity/ima/ |
| A D | ima_asymmetric_keys.c | 29 void ima_post_key_create_or_update(struct key *keyring, struct key *key, in ima_post_key_create_or_update()
|
| A D | ima_queue.c | 59 unsigned int key; in ima_lookup_digest_entry() local 104 unsigned int key; in ima_add_digest_entry() local
|
| /security/tomoyo/ |
| A D | securityfs_if.c | 134 const u8 key = (uintptr_t) file_inode(file)->i_private; in tomoyo_open() local 225 struct dentry *parent, const u8 key) in tomoyo_create_entry()
|
| /security/landlock/ |
| A D | ruleset.h | 79 union landlock_key key; member 101 union landlock_key key; member
|
| /security/integrity/platform_certs/ |
| A D | load_powerpc.c | 29 static __init void *get_cert_list(u8 *key, unsigned long keylen, u64 *size) in get_cert_list()
|