/security/keys/ |
D | user_defined.c | 61 int user_instantiate(struct key *key, struct key_preparsed_payload *prep) in user_instantiate() 96 int user_update(struct key *key, struct key_preparsed_payload *prep) in user_update() 139 int user_match(const struct key *key, const void *description) in user_match() 150 void user_revoke(struct key *key) in user_revoke() 168 void user_destroy(struct key *key) in user_destroy() 180 void user_describe(const struct key *key, struct seq_file *m) in user_describe() 193 long user_read(const struct key *key, char __user *buffer, size_t buflen) in user_read()
|
D | key.c | 42 void __key_check(const struct key *key) in __key_check() 137 static inline void key_alloc_serial(struct key *key) in key_alloc_serial() 229 struct key *key; in key_alloc() local 367 int key_payload_reserve(struct key *key, size_t datalen) in key_payload_reserve() 407 static int __key_instantiate_and_link(struct key *key, in __key_instantiate_and_link() 471 int key_instantiate_and_link(struct key *key, in key_instantiate_and_link() 534 int key_reject_and_link(struct key *key, in key_reject_and_link() 602 void key_put(struct key *key) in key_put() 619 struct key *key; in key_lookup() local 681 void key_set_timeout(struct key *key, unsigned timeout) in key_set_timeout() [all …]
|
D | request_key_auth.c | 45 static int request_key_auth_instantiate(struct key *key, in request_key_auth_instantiate() 55 static void request_key_auth_describe(const struct key *key, in request_key_auth_describe() 70 static long request_key_auth_read(const struct key *key, in request_key_auth_read() 97 static void request_key_auth_revoke(struct key *key) in request_key_auth_revoke() 112 static void request_key_auth_destroy(struct key *key) in request_key_auth_destroy() 227 static int key_get_instantiation_authkey_match(const struct key *key, in key_get_instantiation_authkey_match()
|
D | request_key.c | 118 struct key *key = cons->key, *authkey = cons->authkey, *keyring, in call_sbin_request_key() local 221 static int construct_key(struct key *key, const void *callout_info, in construct_key() 357 struct key *key; in construct_alloc_key() local 456 struct key *key; in construct_key_and_link() local 533 struct key *key; in request_key_and_link() local 586 int wait_for_key_construction(struct key *key, bool intr) in wait_for_key_construction() 619 struct key *key; in request_key() local 658 struct key *key; in request_key_with_auxdata() local
|
D | keyring.c | 211 struct key *key; in keyring_read() local 333 struct key *keyring, *key; in keyring_search_aux() local 546 struct key *keyring, *key; in __keyring_search_one() local 658 struct key *subtree, *key; in keyring_detect_cycle() local 784 struct key *key = rcu_deref_link_locked(klist, loop, in __key_link_begin() local 881 int __key_link_check_live_key(struct key *keyring, struct key *key) in __key_link_check_live_key() 898 void __key_link(struct key *keyring, struct key *key, in __key_link() 1001 int key_link(struct key *keyring, struct key *key) in key_link() 1038 int key_unlink(struct key *keyring, struct key *key) in key_unlink() 1196 struct key *key; in keyring_gc() local
|
D | permission.c | 33 struct key *key; in key_task_permission() local 89 int key_validate(const struct key *key) in key_validate()
|
D | proc.c | 97 struct key *key = rb_entry(n, struct key, serial_node); in key_serial_next() local 117 struct key *key = rb_entry(n, struct key, serial_node); in find_ge_key() local 148 struct key *key; in proc_keys_start() local 163 struct key *key = rb_entry(n, struct key, serial_node); in key_node_serial() local 187 struct key *key = rb_entry(_p, struct key, serial_node); in proc_keys_show() local
|
D | gc.c | 159 struct key *key = rcu_dereference(klist->keys[loop]); in key_gc_keyring() local 183 struct key *key = in key_gc_unused_keys() local 241 struct key *key; in key_garbage_collector() local
|
D | keyctl.c | 164 struct key *key; in SYSCALL_DEFINE4() local 546 struct key *key, *instkey; in keyctl_describe_key() local 716 struct key *key; in keyctl_read_key() local 783 struct key *key; in keyctl_chown_key() local 899 struct key *key; in keyctl_setperm_key() local 973 static int keyctl_change_reqkey_auth(struct key *key) in keyctl_change_reqkey_auth() 1313 struct key *key, *instkey; in keyctl_set_timeout() local 1416 struct key *key, *instkey; in keyctl_get_security() local
|
D | trusted.c | 76 static int TSS_rawhmac(unsigned char *digest, const unsigned char *key, in TSS_rawhmac() 123 static int TSS_authhmac(unsigned char *digest, const unsigned char *key, in TSS_authhmac() 177 const unsigned char *key, in TSS_checkhmac1() 394 const unsigned char *key, uint16_t type, uint32_t handle) in osap() 875 static struct trusted_key_payload *trusted_payload_alloc(struct key *key) in trusted_payload_alloc() 898 static int trusted_instantiate(struct key *key, in trusted_instantiate() 985 static int trusted_update(struct key *key, struct key_preparsed_payload *prep) in trusted_update() 1054 static long trusted_read(const struct key *key, char __user *buffer, in trusted_read() 1085 static void trusted_destroy(struct key *key) in trusted_destroy()
|
D | internal.h | 205 static inline bool key_is_dead(struct key *key, time_t limit) in key_is_dead() 254 static inline void key_check(const struct key *key) in key_check() 262 #define key_check(key) do {} while(0) argument
|
D | process_keys.c | 499 int lookup_user_key_possessed(const struct key *key, const void *target) in lookup_user_key_possessed() 527 struct key *key; in lookup_user_key() local
|
/security/selinux/ss/ |
D | policydb.c | 177 char *key = NULL; in roles_init() local 246 const struct range_trans *key = k; in rangetr_hash() local 327 static int common_index(void *key, void *datum, void *datap) in common_index() 345 static int class_index(void *key, void *datum, void *datap) in class_index() 363 static int role_index(void *key, void *datum, void *datap) in role_index() 384 static int type_index(void *key, void *datum, void *datap) in type_index() 412 static int user_index(void *key, void *datum, void *datap) in user_index() 433 static int sens_index(void *key, void *datum, void *datap) in sens_index() 455 static int cat_index(void *key, void *datum, void *datap) in cat_index() 605 static int perm_destroy(void *key, void *datum, void *p) in perm_destroy() [all …]
|
D | hashtab.c | 11 struct hashtab *hashtab_create(u32 (*hash_value)(struct hashtab *h, const void *key), in hashtab_create() 38 int hashtab_insert(struct hashtab *h, void *key, void *datum) in hashtab_insert() 74 void *hashtab_search(struct hashtab *h, const void *key) in hashtab_search()
|
D | avtab.c | 38 struct avtab_key *key, struct avtab_datum *datum) in avtab_insert_node() 71 static int avtab_insert(struct avtab *h, struct avtab_key *key, struct avtab_datum *datum) in avtab_insert() 116 avtab_insert_nonunique(struct avtab *h, struct avtab_key *key, struct avtab_datum *datum) in avtab_insert_nonunique() 146 struct avtab_datum *avtab_search(struct avtab *h, struct avtab_key *key) in avtab_search() 181 avtab_search_node(struct avtab *h, struct avtab_key *key) in avtab_search_node() 384 struct avtab_key key; in avtab_read_item() local
|
D | conditional.c | 186 int cond_destroy_bool(void *key, void *datum, void *p) in cond_destroy_bool() 193 int cond_index_bool(void *key, void *datum, void *datap) in cond_index_bool() 223 char *key = NULL; in cond_read_bool() local 500 char *key = vkey; in cond_write_bool() local 622 void cond_compute_xperms(struct avtab *ctab, struct avtab_key *key, in cond_compute_xperms() 641 void cond_compute_av(struct avtab *ctab, struct avtab_key *key, in cond_compute_av()
|
D | symtab.c | 11 static unsigned int symhash(struct hashtab *h, const void *key) in symhash()
|
D | hashtab.h | 16 void *key; member
|
D | avtab.h | 80 struct avtab_key key; member
|
/security/integrity/ima/ |
D | ima_queue.c | 47 unsigned int key; in ima_lookup_digest_entry() local 71 unsigned int key; in ima_add_digest_entry() local
|
D | ima_policy.c | 405 static void ima_log_string(struct audit_buffer *ab, char *key, char *value) in ima_log_string()
|
/security/integrity/ |
D | digsig_asymmetric.c | 38 struct key *key; in request_asymmetric_key() local 82 struct key *key; in asymmetric_verify() local
|
/security/keys/encrypted-keys/ |
D | encrypted.c | 338 static int calc_hmac(u8 *digest, const u8 *key, unsigned int keylen, in calc_hmac() 404 static int init_blkcipher_desc(struct blkcipher_desc *desc, const u8 *key, in init_blkcipher_desc() 598 static struct encrypted_key_payload *encrypted_key_alloc(struct key *key, in encrypted_key_alloc() 776 static int encrypted_instantiate(struct key *key, in encrypted_instantiate() 838 static int encrypted_update(struct key *key, struct key_preparsed_payload *prep) in encrypted_update() 894 static long encrypted_read(const struct key *key, char __user *buffer, in encrypted_read() 958 static void encrypted_destroy(struct key *key) in encrypted_destroy()
|
/security/tomoyo/ |
D | securityfs_if.c | 138 const int key = ((u8 *) file_inode(file)->i_private) in tomoyo_open() local 228 struct dentry *parent, const u8 key) in tomoyo_create_entry()
|
/security/ |
D | capability.c | 869 static int cap_key_alloc(struct key *key, const struct cred *cred, in cap_key_alloc() 875 static void cap_key_free(struct key *key) in cap_key_free() 885 static int cap_key_getsecurity(struct key *key, char **_buffer) in cap_key_getsecurity()
|