/linux/include/linux/ |
H A D | key.h | 143 * NOTE! key_ref_t is a typedef'd pointer to a type that is not actually 148 * the key_ref_t has been made a separate type so that the compiler can reject 153 typedef struct __key_reference_with_attributes *key_ref_t; typedef 155 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref() 158 return (key_ref_t) ((unsigned long) key | possession); in make_key_ref() 161 static inline struct key *key_ref_to_ptr(const key_ref_t key_ref) in key_ref_to_ptr() 166 static inline bool is_key_possessed(const key_ref_t key_ref) in is_key_possessed() 318 static inline void key_ref_put(key_ref_t key_ref) in key_ref_put() 390 extern key_ref_t key_create(key_ref_t keyrin [all...] |
/linux/security/keys/ |
H A D | internal.h | 109 extern key_ref_t find_key_to_update(key_ref_t keyring_ref, 130 key_ref_t result; 136 extern key_ref_t keyring_search_rcu(key_ref_t keyring_ref, 139 extern key_ref_t search_cred_keyrings_rcu(struct keyring_search_context *ctx); 140 extern key_ref_t search_process_keyrings_rcu(struct keyring_search_context *ctx); 175 extern int key_task_permission(const key_ref_t key_ref, 199 static inline int key_permission(const key_ref_t key_ref, in key_permission()
|
H A D | persistent.c | 40 static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, in key_create_persistent() 44 key_ref_t reg_ref, persistent_ref; in key_create_persistent() 74 key_ref_t dest_ref) in key_get_persistent() 78 key_ref_t reg_ref, persistent_ref; in key_get_persistent() 132 key_ref_t dest_ref; in keyctl_get_persistent()
|
H A D | keyctl.c | 80 key_ref_t keyring_ref, key_ref; in SYSCALL_DEFINE5() 174 key_ref_t dest_ref; in SYSCALL_DEFINE4() 260 key_ref_t key_ref; in keyctl_get_keyring_ID() 329 key_ref_t key_ref; in keyctl_update_key() 381 key_ref_t key_ref; in keyctl_revoke_key() 422 key_ref_t key_ref; in keyctl_invalidate_key() 469 key_ref_t keyring_ref; in keyctl_keyring_clear() 517 key_ref_t keyring_ref, key_ref; in keyctl_keyring_link() 554 key_ref_t keyring_ref, key_ref; in keyctl_keyring_unlink() 598 key_ref_t key_re in keyctl_keyring_move() [all...] |
H A D | process_keys.c | 81 key_ref_t uid_keyring_r, session_keyring_r; in look_up_user_keyrings() 188 key_ref_t session_keyring_r; in get_user_session_keyring_rcu() 422 key_ref_t search_cred_keyrings_rcu(struct keyring_search_context *ctx) in search_cred_keyrings_rcu() 425 key_ref_t key_ref, ret, err; in search_cred_keyrings_rcu() 539 key_ref_t search_process_keyrings_rcu(struct keyring_search_context *ctx) in search_process_keyrings_rcu() 542 key_ref_t key_ref, ret = ERR_PTR(-EACCES), err; in search_process_keyrings_rcu() 611 key_ref_t lookup_user_key(key_serial_t id, unsigned long lflags, in lookup_user_key() 622 key_ref_t key_ref, skey_ref; in lookup_user_key()
|
H A D | key.c | 765 static inline key_ref_t __key_update(key_ref_t key_ref, in __key_update() 806 static key_ref_t __key_create_or_update(key_ref_t keyring_ref, in __key_create_or_update() 822 key_ref_t key_ref; in __key_create_or_update() 1013 key_ref_t key_create_or_update(key_ref_t keyring_ref, in key_create_or_update() 1050 key_ref_t key_create(key_ref_t keyring_ref, in key_create() 1076 int key_update(key_ref_t key_re [all...] |
H A D | keyring.c | 902 key_ref_t keyring_search_rcu(key_ref_t keyring_ref, in keyring_search_rcu() 940 key_ref_t keyring_search(key_ref_t keyring, in keyring_search() 955 key_ref_t key; in keyring_search() 1024 int keyring_restrict(key_ref_t keyring_ref, const char *type, in keyring_restrict() 1101 key_ref_t find_key_to_update(key_ref_t keyring_ref, in find_key_to_update()
|
H A D | permission.c | 26 int key_task_permission(const key_ref_t key_ref, const struct cred *cred, in key_task_permission()
|
H A D | request_key.c | 378 key_ref_t key_ref; in construct_alloc_key() 597 key_ref_t key_ref; in request_key_and_link() 799 key_ref_t key_ref; in request_key_rcu()
|
H A D | request_key_auth.c | 260 key_ref_t authkey_ref; in key_get_instantiation_authkey()
|
H A D | keyctl_pkey.c | 82 key_ref_t key_ref; in keyctl_pkey_params_get()
|
H A D | dh.c | 21 key_ref_t key_ref; in dh_data_from_key()
|
H A D | proc.c | 158 key_ref_t key_ref, skey_ref; in proc_keys_show()
|
/linux/security/integrity/ |
H A D | digsig_asymmetric.c | 33 key_ref_t kref; in request_asymmetric_key() 45 key_ref_t kref; in request_asymmetric_key()
|
H A D | digsig.c | 171 key_ref_t key; in integrity_add_key()
|
/linux/certs/ |
H A D | blacklist.c | 184 key_ref_t key; in mark_raw_hash_blacklisted() 227 key_ref_t kref; in is_hash_blacklisted() 264 key_ref_t key; in add_key_to_revocation_list()
|
/linux/kernel/ |
H A D | crash_dump_dm_crypt.c | 64 key_ref_t keyring_ref) in add_key_to_keyring() 66 key_ref_t key_ref; in add_key_to_keyring() 105 key_ref_t keyring_ref; in restore_dm_crypt_keys_to_thread_keyring()
|
/linux/crypto/asymmetric_keys/ |
H A D | x509_loader.c | 11 key_ref_t key; in x509_load_certificate_list()
|
/linux/drivers/nvme/common/ |
H A D | keyring.c | 97 key_ref_t keyref; in nvme_tls_psk_lookup() 151 key_ref_t keyref; in nvme_tls_psk_refresh()
|
/linux/drivers/platform/cznic/ |
H A D | turris-signing-key.c | 139 key_ref_t kref; in devm_turris_signing_key_create()
|
/linux/net/rxrpc/ |
H A D | security.c | 168 key_ref_t kref = NULL; in rxrpc_look_up_server_security()
|
H A D | rxperf.c | 558 key_ref_t kref; in rxperf_add_rxkad_key() 589 key_ref_t kref; in rxperf_add_yfs_rxgk_key()
|
/linux/lib/ |
H A D | digsig.c | 219 key_ref_t kref; in digsig_verify()
|
/linux/fs/afs/ |
H A D | cm_security.c | 124 key_ref_t key; in afs_create_token_key()
|
/linux/net/handshake/ |
H A D | tlshd.c | 114 key_ref_t process_keyring_ref, keyring_ref; in tls_handshake_private_keyring()
|