/openbmc/linux/security/keys/ |
H A D | keyctl.c | 397 key = key_ref_to_ptr(key_ref); in keyctl_revoke_key() 447 key = key_ref_to_ptr(key_ref); in keyctl_invalidate_key() 532 ret = key_link(key_ref_to_ptr(keyring_ref), key_ref_to_ptr(key_ref)); in keyctl_keyring_link() 571 key = key_ref_to_ptr(key_ref); in keyctl_keyring_unlink() 620 ret = key_move(key_ref_to_ptr(key_ref), key_ref_to_ptr(from_ref), in keyctl_keyring_move() 675 key = key_ref_to_ptr(key_ref); in keyctl_describe_key() 779 ret = key_link(key_ref_to_ptr(dest_ref), key_ref_to_ptr(key_ref)); in keyctl_keyring_search() 840 key = key_ref_to_ptr(key_ref); in keyctl_read_key() 977 key = key_ref_to_ptr(key_ref); in keyctl_chown_key() 1089 key = key_ref_to_ptr(key_ref); in keyctl_setperm_key() [all …]
|
H A D | persistent.c | 113 persistent = key_ref_to_ptr(persistent_ref); in key_get_persistent() 114 ret = key_link(key_ref_to_ptr(dest_ref), persistent); in key_get_persistent() 157 if (key_ref_to_ptr(dest_ref)->type != &key_type_keyring) { in keyctl_get_persistent()
|
H A D | permission.c | 51 key = key_ref_to_ptr(key_ref); in key_task_permission()
|
H A D | request_key.c | 447 key = key_ref_to_ptr(key_ref); in construct_alloc_key() 632 key = key_ref_to_ptr(key_ref); in request_key_and_link() 814 key = key_ref_to_ptr(key_ref); in request_key_rcu()
|
H A D | key.c | 753 struct key *key = key_ref_to_ptr(key_ref); in __key_update() 824 keyring = key_ref_to_ptr(keyring_ref); in __key_create_or_update() 954 key = key_ref_to_ptr(key_ref); in __key_create_or_update() 1065 struct key *key = key_ref_to_ptr(key_ref); in key_update()
|
H A D | keyring.c | 856 key = key_ref_to_ptr(ctx->result); in search_nested_keyrings() 912 keyring = key_ref_to_ptr(keyring_ref); in keyring_search_rcu() 926 __key_get(key_ref_to_ptr(ctx->result)); in keyring_search_rcu() 1032 keyring = key_ref_to_ptr(keyring_ref); in keyring_restrict() 1107 keyring = key_ref_to_ptr(keyring_ref); in find_key_to_update()
|
H A D | process_keys.c | 119 uid_keyring = key_ref_to_ptr(uid_keyring_r); in look_up_user_keyrings() 155 session_keyring = key_ref_to_ptr(session_keyring_r); in look_up_user_keyrings() 212 return key_ref_to_ptr(session_keyring_r); in get_user_session_keyring_rcu()
|
H A D | request_key_auth.c | 275 authkey = key_ref_to_ptr(authkey_ref); in key_get_instantiation_authkey()
|
H A D | keyctl_pkey.c | 101 params->key = key_ref_to_ptr(key_ref); in keyctl_pkey_params_get()
|
H A D | dh.c | 31 key = key_ref_to_ptr(key_ref); in dh_data_from_key()
|
/openbmc/linux/include/linux/ |
H A D | key.h | 161 static inline struct key *key_ref_to_ptr(const key_ref_t key_ref) in key_ref_to_ptr() function 319 key_put(key_ref_to_ptr(key_ref)); in key_ref_put() 511 #define key_ref_to_ptr(k) NULL macro
|
/openbmc/linux/crypto/asymmetric_keys/ |
H A D | x509_loader.c | 46 key_ref_to_ptr(key)->description); in x509_load_certificate_list()
|
H A D | asymmetric_type.c | 116 key = key_ref_to_ptr(ref); in find_asymmetric_key()
|
/openbmc/linux/security/integrity/ |
H A D | digsig_asymmetric.c | 52 key = key_ref_to_ptr(kref); in request_asymmetric_key()
|
H A D | digsig.c | 185 key_ref_to_ptr(key)->description); in integrity_add_key()
|
/openbmc/linux/net/handshake/ |
H A D | tlshd.c | 135 ret = key_link(key_ref_to_ptr(process_keyring_ref), in tls_handshake_private_keyring() 136 key_ref_to_ptr(keyring_ref)); in tls_handshake_private_keyring()
|
/openbmc/linux/net/rxrpc/ |
H A D | security.c | 195 key = key_ref_to_ptr(kref); in rxrpc_look_up_server_security()
|
H A D | rxperf.c | 558 ret = key_link(keyring, key_ref_to_ptr(kref)); in rxperf_add_key()
|
/openbmc/linux/lib/ |
H A D | digsig.c | 225 key = key_ref_to_ptr(kref); in digsig_verify()
|
/openbmc/linux/certs/ |
H A D | system_keyring.c | 182 pr_notice("Loaded X.509 cert '%s'\n", key_ref_to_ptr(key)->description); in add_to_secondary_keyring()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | cert_store.c | 310 return key_ref_to_ptr(us_keyring_ref); in get_user_session_keyring() 360 cs_keyring = key_ref_to_ptr(cs_keyring_ref); in find_cs_keyring()
|
/openbmc/linux/fs/crypto/ |
H A D | keyring.c | 363 return key_ref_to_ptr(keyref); in find_master_key_user() 640 key = key_ref_to_ptr(ref); in get_keyring_key()
|
/openbmc/linux/drivers/nvdimm/ |
H A D | security.c | 102 key = key_ref_to_ptr(keyref); in nvdimm_lookup_user_key()
|
/openbmc/linux/crypto/ |
H A D | af_alg.c | 283 return key_ref_to_ptr(key_ref); in lookup_key()
|
/openbmc/linux/kernel/trace/ |
H A D | bpf_trace.c | 1304 key_put(key_ref_to_ptr(key_ref)); in bpf_lookup_user_key() 1308 bkey->key = key_ref_to_ptr(key_ref); in bpf_lookup_user_key()
|