Home
last modified time | relevance | path

Searched refs:key_put (Results 1 – 25 of 54) sorted by relevance

123

/kernel/linux/linux-5.10/security/keys/
Drequest_key.c41 key_put(t->cached_requested_key); in cache_requested_key()
90 key_put(keyring); in umh_keys_cleanup()
208 key_put(keyring); in call_sbin_request_key()
211 key_put(user_session); in call_sbin_request_key()
251 key_put(authkey); in construct_key()
348 key_put(dest_keyring); in construct_get_dest_keyring()
434 key_put(key); in construct_alloc_key()
452 key_put(key); in construct_alloc_key()
460 key_put(key); in construct_alloc_key()
515 key_put(dest_keyring); in construct_key_and_link()
[all …]
Dprocess_keys.c163 key_put(session_keyring); in look_up_user_keyrings()
167 key_put(uid_keyring); in look_up_user_keyrings()
172 key_put(session_keyring); in look_up_user_keyrings()
174 key_put(uid_keyring); in look_up_user_keyrings()
344 key_put(old); in install_session_keyring_to_cred()
503 key_put(user_session); in search_cred_keyrings_rcu()
678 key_put(user_session); in lookup_user_key()
767 key_put(key); in lookup_user_key()
893 key_put(keyring); in join_session_keyring()
898 key_put(keyring); in join_session_keyring()
Drequest_key_auth.c110 key_put(rka->target_key); in free_request_key_auth()
111 key_put(rka->dest_keyring); in free_request_key_auth()
234 key_put(authkey); in request_key_auth_new()
277 key_put(authkey); in key_get_instantiation_authkey()
Dkeyctl.c238 key_put(key); in SYSCALL_DEFINE4()
661 key_put(instkey); in keyctl_describe_key()
929 key_put(key); in keyctl_read_key()
1047 key_put(key); in keyctl_chown_key()
1098 key_put(key); in keyctl_setperm_key()
1152 key_put(new->request_key_auth); in keyctl_change_reqkey_auth()
1222 key_put(dest_keyring); in keyctl_instantiate_key_common()
1370 key_put(dest_keyring); in keyctl_reject_key()
1466 key_put(instkey); in keyctl_set_timeout()
1488 key_put(key); in keyctl_set_timeout()
[all …]
Dkeyring.c63 key_put(ns->user_keyring_register); in key_free_user_ns()
65 key_put(ns->persistent_keyring_register); in key_free_user_ns()
389 key_put(keyring_ptr_to_key(object)); in keyring_free_object()
427 key_put(keyres->key); in keyring_destroy()
531 key_put(keyring); in keyring_alloc()
1072 key_put(restrict_link->key); in keyring_restrict()
1787 key_put(keyres->key); in keyring_restriction_gc()
Dkey.c646 void key_put(struct key *key) in key_put() function
655 EXPORT_SYMBOL(key_put);
785 key_put(key); in __key_update()
941 key_put(key); in key_create_or_update()
/kernel/linux/linux-5.10/kernel/
Dcred.c115 key_put(cred->session_keyring); in put_cred_rcu()
116 key_put(cred->process_keyring); in put_cred_rcu()
117 key_put(cred->thread_keyring); in put_cred_rcu()
118 key_put(cred->request_key_auth); in put_cred_rcu()
178 key_put(tsk->cached_requested_key); in exit_creds()
310 key_put(new->thread_keyring); in prepare_exec_creds()
314 key_put(new->process_keyring); in prepare_exec_creds()
372 key_put(new->thread_keyring); in copy_creds()
382 key_put(new->process_keyring); in copy_creds()
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
Drestrict.c107 key_put(key); in restrict_link_by_signature()
208 key_put(key); in key_or_keyring_common()
Dpkcs7_trust.c116 key_put(key); in pkcs7_validate_trust_one()
/kernel/linux/linux-5.10/include/linux/
Dkey.h296 extern void key_put(struct key *key);
313 key_put(key_ref_to_ptr(key_ref)); in key_ref_put()
497 #define key_put(k) do { } while(0) macro
Dtracehook.h192 key_put(current->cached_requested_key); in tracehook_notify_resume()
/kernel/linux/linux-5.10/fs/crypto/
Dkeyring.c77 key_put(mk->mk_users); in fscrypt_put_master_key()
385 key_put(mk_user); in add_master_key_user()
404 key_put(mk_user); in remove_master_key_user()
473 key_put(mk_user); in add_existing_master_key()
806 key_put(mk_user); in fscrypt_verify_key_added()
1138 key_put(mk_user); in fscrypt_ioctl_get_key_status()
Dkeysetup_v1.c140 key_put(key); in find_and_lock_process_key()
317 key_put(key); in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dsecurity.c42 key_put(key); in nvdimm_put_key()
72 key_put(key); in nvdimm_request_key()
104 key_put(key); in nvdimm_lookup_user_key()
114 key_put(key); in nvdimm_lookup_user_key()
/kernel/linux/linux-5.10/fs/afs/
Dsecurity.c87 key_put(permits->permits[i].key); in afs_permits_rcu()
468 key_put(key); in afs_permission()
475 key_put(key); in afs_permission()
Dfile.c73 key_put(wbk->key); in afs_put_wb_key()
156 key_put(key); in afs_open()
179 key_put(af->key); in afs_release()
407 key_put(key); in afs_readpage()
/kernel/linux/linux-5.10/fs/ecryptfs/
Dkeystore.c530 key_put(walker->global_auth_tok_key); in ecryptfs_find_global_auth_tok_for_sig()
847 key_put(auth_tok_key); in ecryptfs_write_tag_70_packet()
1089 key_put(auth_tok_key); in ecryptfs_parse_tag_70_packet()
1629 key_put(*auth_tok_key); in ecryptfs_keyring_auth_tok_for_sig()
1902 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1910 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1915 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1977 key_put(auth_tok_key); in pki_encrypt_session_key()
2041 key_put(auth_tok_key); in write_tag_1_packet()
2439 key_put(auth_tok_key); in ecryptfs_generate_key_packet_set()
[all …]
/kernel/linux/linux-5.10/net/dns_resolver/
Ddns_query.c167 key_put(rkey); in dns_query()
/kernel/linux/linux-5.10/drivers/md/
Ddm-verity-verify-sig.c62 key_put(key); in verity_verify_get_sig_from_key()
/kernel/linux/linux-5.10/fs/fscache/
Dobject-list.c332 key_put(key); in fscache_objlist_config()
356 key_put(key); in fscache_objlist_config()
/kernel/linux/linux-5.10/fs/verity/
Dsignature.c158 key_put(ring); in fsverity_init_signature()
/kernel/linux/linux-5.10/security/integrity/
Ddigsig_asymmetric.c130 key_put(key); in asymmetric_verify()
/kernel/linux/linux-5.10/security/keys/encrypted-keys/
Dencrypted.c316 key_put(ukey); in request_user_key()
707 key_put(mkey); in encrypted_key_decrypt()
945 key_put(mkey); in encrypted_read()
954 key_put(mkey); in encrypted_read()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4idmap.c237 key_put(keyring); in nfs_idmap_init()
344 key_put(rkey); in nfs_idmap_get_key()
568 key_put(data->authkey); in nfs_idmap_complete_pipe_upcall()
/kernel/linux/linux-5.10/net/rxrpc/
Dconn_object.c366 key_put(conn->params.key); in rxrpc_destroy_connection()
367 key_put(conn->server_key); in rxrpc_destroy_connection()

123