/security/keys/ |
D | key.c | 39 void __key_check(const struct key *key) in __key_check() 134 static inline void key_alloc_serial(struct key *key) in key_alloc_serial() 231 struct key *key; in key_alloc() local 373 int key_payload_reserve(struct key *key, size_t datalen) in key_payload_reserve() 410 static void mark_key_instantiated(struct key *key, int reject_error) in mark_key_instantiated() 425 static int __key_instantiate_and_link(struct key *key, in __key_instantiate_and_link() 496 int key_instantiate_and_link(struct key *key, in key_instantiate_and_link() 572 int key_reject_and_link(struct key *key, in key_reject_and_link() 644 void key_put(struct key *key) in key_put() 661 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() 62 struct key *key = rka->target_key; in complete_request_key() local 124 struct key *key = rka->target_key, *keyring, *session, *user_session; in call_sbin_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 [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 *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 565 bool key_default_cmp(const struct key *key, in key_default_cmp() 577 const struct key *key = keyring_ptr_to_key(object); in keyring_search_iterator() local 675 struct key *key; in search_nested_keyrings() local 952 key_ref_t key; in keyring_search() local 1101 struct key *keyring, *key; in find_key_to_update() local 1193 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() 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()
|
D | big_key.c | 163 void big_key_revoke(struct key *key) in big_key_revoke() 177 void big_key_destroy(struct key *key) in big_key_destroy() 195 int big_key_update(struct key *key, struct key_preparsed_payload *prep) in big_key_update() 212 void big_key_describe(const struct key *key, struct seq_file *m) in big_key_describe() 228 long big_key_read(const struct key *key, char *buffer, size_t buflen) in big_key_read()
|
D | permission.c | 29 struct key *key; in key_task_permission() local 102 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 156 struct key *key = rb_entry(_p, struct key, serial_node); in proc_keys_show() local
|
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 803 static long __keyctl_read_key(struct key *key, char *buffer, size_t buflen) in __keyctl_read_key() 827 struct key *key; in keyctl_read_key() local 952 struct key *key; in keyctl_chown_key() local 1074 struct key *key; in keyctl_setperm_key() local 1149 static int keyctl_change_reqkey_auth(struct key *key) in keyctl_change_reqkey_auth() [all …]
|
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 198 struct key *key; in key_garbage_collector() local
|
D | internal.h | 188 static inline void notify_key(struct key *key, in notify_key() 226 static inline bool key_is_dead(const struct key *key, time64_t limit) in key_is_dead() 374 static inline void key_check(const struct key *key) in key_check() 382 #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 | 184 static int perm_destroy(void *key, void *datum, void *p) in perm_destroy() 191 static int common_destroy(void *key, void *datum, void *p) in common_destroy() 218 static int cls_destroy(void *key, void *datum, void *p) in cls_destroy() 260 static int role_destroy(void *key, void *datum, void *p) in role_destroy() 274 static int type_destroy(void *key, void *datum, void *p) in type_destroy() 281 static int user_destroy(void *key, void *datum, void *p) in user_destroy() 297 static int sens_destroy(void *key, void *datum, void *p) in sens_destroy() 312 static int cat_destroy(void *key, void *datum, void *p) in cat_destroy() 331 static int filenametr_destroy(void *key, void *datum, void *p) in filenametr_destroy() 348 static int range_tr_destroy(void *key, void *datum, void *p) in range_tr_destroy() [all …]
|
D | hashtab.h | 27 void *key; member 61 static inline int hashtab_insert(struct hashtab *h, void *key, void *datum, in hashtab_insert() 96 static inline void *hashtab_search(struct hashtab *h, const void *key, in hashtab_search()
|
D | conditional.c | 177 int cond_destroy_bool(void *key, void *datum, void *p) in cond_destroy_bool() 184 int cond_index_bool(void *key, void *datum, void *datap) in cond_index_bool() 210 char *key = NULL; in cond_read_bool() local 451 char *key = vkey; in cond_write_bool() local 557 void cond_compute_xperms(struct avtab *ctab, struct avtab_key *key, in cond_compute_xperms() 576 void cond_compute_av(struct avtab *ctab, struct avtab_key *key, in cond_compute_av() 681 static int cond_bools_destroy(void *key, void *datum, void *args) in cond_bools_destroy() 702 static int cond_bools_index(void *key, void *datum, void *args) in cond_bools_index()
|
D | avtab.c | 71 const struct avtab_key *key, const struct avtab_datum *datum) in avtab_insert_node() 106 static int avtab_insert(struct avtab *h, const struct avtab_key *key, in avtab_insert() 152 const struct avtab_key *key, in avtab_insert_nonunique() 183 struct avtab_datum *avtab_search(struct avtab *h, const struct avtab_key *key) in avtab_search() 219 const struct avtab_key *key) in avtab_search_node() 408 struct avtab_key key; in avtab_read_item() local
|
D | symtab.c | 12 static unsigned int symhash(const void *key) in symhash()
|
/security/keys/trusted-keys/ |
D | trusted_core.c | 116 static struct trusted_key_payload *trusted_payload_alloc(struct key *key) in trusted_payload_alloc() 142 static int trusted_instantiate(struct key *key, in trusted_instantiate() 222 static int trusted_update(struct key *key, struct key_preparsed_payload *prep) in trusted_update() 282 static long trusted_read(const struct key *key, char *buffer, in trusted_read() 304 static void trusted_destroy(struct key *key) in trusted_destroy() 319 static int kernel_get_random(unsigned char *key, size_t key_len) in kernel_get_random()
|
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() 392 const unsigned char *key, uint16_t type, uint32_t handle) in osap() 976 static int trusted_tpm_get_random(unsigned char *key, size_t key_len) in trusted_tpm_get_random()
|
/security/integrity/ |
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/ |
D | encrypted.c | 326 static int calc_hmac(u8 *digest, const u8 *key, unsigned int keylen, in calc_hmac() 377 static struct skcipher_request *init_skcipher_req(const u8 *key, in init_skcipher_req() 595 static struct encrypted_key_payload *encrypted_key_alloc(struct key *key, in encrypted_key_alloc() 781 static int encrypted_instantiate(struct key *key, in encrypted_instantiate() 842 static int encrypted_update(struct key *key, struct key_preparsed_payload *prep) in encrypted_update() 900 static long encrypted_read(const struct key *key, char *buffer, in encrypted_read() 962 static void encrypted_destroy(struct key *key) in encrypted_destroy()
|
/security/integrity/ima/ |
D | ima_queue.c | 52 unsigned int key; in ima_lookup_digest_entry() local 97 unsigned int key; in ima_add_digest_entry() local
|
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()
|
/security/tomoyo/ |
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/integrity/platform_certs/ |
D | load_powerpc.c | 21 static __init void *get_cert_list(u8 *key, unsigned long keylen, uint64_t *size) in get_cert_list()
|