Home
last modified time | relevance | path

Searched refs:make_key_ref (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/security/keys/
Dprocess_keys.c102 uid_keyring_r = keyring_search(make_key_ref(reg_keyring, true), in look_up_user_keyrings()
124 session_keyring_r = keyring_search(make_key_ref(reg_keyring, true), in look_up_user_keyrings()
208 session_keyring_r = keyring_search_rcu(make_key_ref(reg_keyring, true), in get_user_session_keyring_rcu()
442 make_key_ref(cred->thread_keyring, 1), ctx); in search_cred_keyrings_rcu()
460 make_key_ref(cred->process_keyring, 1), ctx); in search_cred_keyrings_rcu()
481 make_key_ref(cred->session_keyring, 1), ctx); in search_cred_keyrings_rcu()
501 key_ref = keyring_search_rcu(make_key_ref(user_session, 1), in search_cred_keyrings_rcu()
645 key_ref = make_key_ref(key, 1); in lookup_user_key()
663 key_ref = make_key_ref(key, 1); in lookup_user_key()
693 key_ref = make_key_ref(key, 1); in lookup_user_key()
[all …]
Dpersistent.c51 reg_ref = make_key_ref(ns->persistent_keyring_register, true); in key_create_persistent()
66 return make_key_ref(persistent, true); in key_create_persistent()
90 reg_ref = make_key_ref(ns->persistent_keyring_register, true); in key_get_persistent()
Dproc.c175 key_ref = make_key_ref(key, 0); in proc_keys_show()
186 key_ref = make_key_ref(key, 1); in proc_keys_show()
Dkeyring.c616 key_task_permission(make_key_ref(key, ctx->possessed), in keyring_search_iterator()
633 ctx->result = make_key_ref(key, ctx->possessed); in keyring_search_iterator()
793 key_task_permission(make_key_ref(key, ctx->possessed), in search_nested_keyrings()
1127 return make_key_ref(key, is_key_possessed(keyring_ref)); in find_key_to_update()
1169 if (key_permission(make_key_ref(keyring, 0), in find_keyring_by_name()
Drequest_key.c345 ret = key_permission(make_key_ref(dest_keyring, 1), in construct_get_dest_keyring()
Dkey.c949 key_ref = make_key_ref(key, is_key_possessed(keyring_ref)); in key_create_or_update()
/kernel/linux/linux-5.10/certs/
Dblacklist.c93 key = key_create_or_update(make_key_ref(blacklist_keyring, true), in mark_hash_blacklisted()
132 kref = keyring_search(make_key_ref(blacklist_keyring, true), in is_hash_blacklisted()
163 key = key_create_or_update(make_key_ref(blacklist_keyring, true), in add_key_to_revocation_list()
Dcommon.c31 key = key_create_or_update(make_key_ref(keyring, 1), in load_certificate_list()
/kernel/linux/linux-5.10/security/integrity/
Ddigsig_asymmetric.c35 kref = keyring_search(make_key_ref(key, 1), in request_asymmetric_key()
47 kref = keyring_search(make_key_ref(keyring, 1), in request_asymmetric_key()
Ddigsig.c159 key = key_create_or_update(make_key_ref(keyring[id], 1), "asymmetric", in integrity_add_key()
/kernel/linux/linux-5.10/include/linux/
Dkey.h149 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref() function
499 #define make_key_ref(k, p) NULL macro
/kernel/linux/linux-5.10/net/rxrpc/
Dsecurity.c143 kref = keyring_search(make_key_ref(rx->securities, 1UL), in rxrpc_look_up_server_security()
/kernel/linux/linux-5.10/lib/
Ddigsig.c220 kref = keyring_search(make_key_ref(keyring, 1UL), in digsig_verify()
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
Dasymmetric_type.c85 ref = keyring_search(make_key_ref(keyring, 1), in find_asymmetric_key()
/kernel/linux/linux-5.10/fs/crypto/
Dkeyring.c354 keyref = keyring_search(make_key_ref(mk->mk_users, true /*possessed*/), in find_master_key_user()
/kernel/linux/linux-5.10/net/wireless/
Dreg.c742 key = key_create_or_update(make_key_ref(builtin_regdb_keys, 1), in load_keys_from_buffer()
/kernel/linux/linux-5.10/Documentation/security/keys/
Dcore.rst1128 key_ref_t make_key_ref(const struct key *key, bool possession);