Home
last modified time | relevance | path

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

/linux/security/keys/
H A Dprocess_keys.c442 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()
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()
700 key_ref = make_key_ref(key, 1); in lookup_user_key()
707 key_ref = make_key_ref(key, 1); in lookup_user_key()
721 key_ref = make_key_ref(key, 1); in lookup_user_key()
741 key_ref = make_key_ref(key, 1); in lookup_user_key()
[all …]
H A 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()
H A 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()
H A 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()
H A Drequest_key.c348 ret = key_permission(make_key_ref(dest_keyring, 1), in construct_get_dest_keyring()
H A Dkey.c948 key_ref = make_key_ref(key, is_key_possessed(keyring_ref)); in __key_create_or_update()
/linux/security/integrity/
H A 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()
H A Ddigsig.c177 key = key_create_or_update(make_key_ref(keyring[id], 1), "asymmetric", in integrity_add_key()
/linux/certs/
H A 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()
H A Dsystem_keyring.c172 key = key_create_or_update(make_key_ref(secondary_trusted_keys, 1), in add_to_secondary_keyring()
/linux/crypto/asymmetric_keys/
H A Dx509_loader.c31 key = key_create_or_update(make_key_ref(keyring, 1), in x509_load_certificate_list()
H A Dasymmetric_type.c97 ref = keyring_search(make_key_ref(keyring, 1), in find_asymmetric_key()
/linux/include/linux/
H A Dkey.h155 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref() function
510 #define make_key_ref(k, p) NULL macro
/linux/arch/s390/kernel/
H A 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/drivers/nvme/common/
H A Dkeyring.c93 keyref = keyring_search(make_key_ref(keyring, true), in nvme_tls_psk_lookup()
/linux/net/rxrpc/
H A Dsecurity.c188 kref = keyring_search(make_key_ref(rx->securities, 1UL), in rxrpc_look_up_server_security()
H A Drxperf.c544 kref = key_create_or_update(make_key_ref(keyring, true), in rxperf_add_key()
/linux/lib/
H A Ddigsig.c220 kref = keyring_search(make_key_ref(keyring, 1UL), in digsig_verify()
/linux/fs/crypto/
H A Dkeyring.c370 keyref = keyring_search(make_key_ref(mk->mk_users, true /*possessed*/), in find_master_key_user()
/linux/block/
H A 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/Documentation/security/keys/
H A Dcore.rst1128 key_ref_t make_key_ref(const struct key *key, bool possession);