Home
last modified time | relevance | path

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

/linux-6.12.1/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()
796 key_task_permission(make_key_ref(key, ctx->possessed), in search_nested_keyrings()
1130 return make_key_ref(key, is_key_possessed(keyring_ref)); in find_key_to_update()
1172 if (key_permission(make_key_ref(keyring, 0), in find_keyring_by_name()
Drequest_key.c348 ret = key_permission(make_key_ref(dest_keyring, 1), in construct_get_dest_keyring()
Dkey.c948 key_ref = make_key_ref(key, is_key_possessed(keyring_ref)); in __key_create_or_update()
/linux-6.12.1/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.c177 key = key_create_or_update(make_key_ref(keyring[id], 1), "asymmetric", in integrity_add_key()
/linux-6.12.1/certs/
Dblacklist.c186 key = key_create(make_key_ref(blacklist_keyring, true), in mark_raw_hash_blacklisted()
234 kref = keyring_search(make_key_ref(blacklist_keyring, true), in is_hash_blacklisted()
266 key = key_create_or_update(make_key_ref(blacklist_keyring, true), in add_key_to_revocation_list()
Dsystem_keyring.c172 key = key_create_or_update(make_key_ref(secondary_trusted_keys, 1), in add_to_secondary_keyring()
/linux-6.12.1/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.12.1/include/linux/
Dkey.h155 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref() function
507 #define make_key_ref(k, p) NULL macro
/linux-6.12.1/arch/s390/kernel/
Dcert_store.c357 cs_keyring_ref = keyring_search(make_key_ref(get_user_session_keyring(), true), in find_cs_keyring()
466 make_key_ref(keyring, true), CERT_STORE_KEY_TYPE_NAME, in create_key_from_vce()
642 rc = keyring_restrict(make_key_ref(keyring, true), NULL, NULL); in add_certificates_to_keyring()
/linux-6.12.1/net/rxrpc/
Dsecurity.c188 kref = keyring_search(make_key_ref(rx->securities, 1UL), in rxrpc_look_up_server_security()
Drxperf.c544 kref = key_create_or_update(make_key_ref(keyring, true), in rxperf_add_key()
/linux-6.12.1/drivers/nvme/common/
Dkeyring.c113 keyref = keyring_search(make_key_ref(keyring, true), in nvme_tls_psk_lookup()
/linux-6.12.1/lib/
Ddigsig.c220 kref = keyring_search(make_key_ref(keyring, 1UL), in digsig_verify()
/linux-6.12.1/fs/crypto/
Dkeyring.c370 keyref = keyring_search(make_key_ref(mk->mk_users, true /*possessed*/), in find_master_key_user()
/linux-6.12.1/block/
Dsed-opal.c288 kr = key_create_or_update(make_key_ref(sed_opal_keyring, true), "user", in update_sed_opal_key()
313 kref = keyring_search(make_key_ref(sed_opal_keyring, true), in read_sed_opal_key()
/linux-6.12.1/Documentation/security/keys/
Dcore.rst1128 key_ref_t make_key_ref(const struct key *key, bool possession);