Home
last modified time | relevance | path

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

/linux-6.1.9/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.c951 key_ref = make_key_ref(key, is_key_possessed(keyring_ref)); in key_create_or_update()
/linux-6.1.9/certs/
Dblacklist.c186 key = key_create_or_update(make_key_ref(blacklist_keyring, true), in mark_raw_hash_blacklisted()
231 kref = keyring_search(make_key_ref(blacklist_keyring, true), in is_hash_blacklisted()
263 key = key_create_or_update(make_key_ref(blacklist_keyring, true), in add_key_to_revocation_list()
/linux-6.1.9/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.c173 key = key_create_or_update(make_key_ref(keyring[id], 1), "asymmetric", in integrity_add_key()
/linux-6.1.9/crypto/asymmetric_keys/
Dx509_loader.c31 key = key_create_or_update(make_key_ref(keyring, 1), in x509_load_certificate_list()
Dasymmetric_type.c98 ref = keyring_search(make_key_ref(keyring, 1), in find_asymmetric_key()
/linux-6.1.9/include/linux/
Dkey.h155 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref() function
505 #define make_key_ref(k, p) NULL macro
/linux-6.1.9/net/rxrpc/
Dsecurity.c171 kref = keyring_search(make_key_ref(rx->securities, 1UL), in rxrpc_look_up_server_security()
/linux-6.1.9/lib/
Ddigsig.c220 kref = keyring_search(make_key_ref(keyring, 1UL), in digsig_verify()
/linux-6.1.9/fs/crypto/
Dkeyring.c357 keyref = keyring_search(make_key_ref(mk->mk_users, true /*possessed*/), in find_master_key_user()
/linux-6.1.9/net/wireless/
Dreg.c762 key = key_create_or_update(make_key_ref(builtin_regdb_keys, 1), in load_keys_from_buffer()
/linux-6.1.9/Documentation/security/keys/
Dcore.rst1128 key_ref_t make_key_ref(const struct key *key, bool possession);