Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/security/keys/
A Drequest_key.c90 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()
434 key_put(key); in construct_alloc_key()
452 key_put(key); in construct_alloc_key()
460 key_put(key); in construct_alloc_key()
521 key_put(key); in construct_key_and_link()
620 key_put(key); in request_key_and_link()
707 key_put(key); in request_key_tag()
[all …]
A 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()
894 key_put(keyring); in join_session_keyring()
899 key_put(keyring); in join_session_keyring()
A 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()
A 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()
1222 key_put(dest_keyring); in keyctl_instantiate_key_common()
1466 key_put(instkey); in keyctl_set_timeout()
1488 key_put(key); in keyctl_set_timeout()
1541 key_put(authkey); in keyctl_assume_authority()
1575 key_put(instkey); in keyctl_get_security()
[all …]
A 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()
A Dkey.c647 void key_put(struct key *key) in key_put() function
656 EXPORT_SYMBOL(key_put);
786 key_put(key); in __key_update()
932 key_put(key); in __key_create_or_update()
/linux-6.3-rc2/kernel/
A Dcred.c116 key_put(cred->session_keyring); in put_cred_rcu()
117 key_put(cred->process_keyring); in put_cred_rcu()
118 key_put(cred->thread_keyring); in put_cred_rcu()
119 key_put(cred->request_key_auth); in put_cred_rcu()
181 key_put(tsk->cached_requested_key); in exit_creds()
317 key_put(new->thread_keyring); in prepare_exec_creds()
321 key_put(new->process_keyring); in prepare_exec_creds()
382 key_put(new->thread_keyring); in copy_creds()
392 key_put(new->process_keyring); in copy_creds()
/linux-6.3-rc2/fs/afs/
A Dfile.c86 key_put(wbk->key); in afs_put_wb_key()
171 key_put(key); in afs_open()
205 key_put(af->key); in afs_release()
234 key_put(req->key); in afs_put_read()
388 key_put(rreq->netfs_priv); in afs_free_request()
A 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()
/linux-6.3-rc2/include/linux/
A Dkey.h302 extern void key_put(struct key *key);
319 key_put(key_ref_to_ptr(key_ref)); in key_ref_put()
511 #define key_put(k) do { } while(0) macro
A Dresume_user_mode.h53 key_put(current->cached_requested_key); in resume_user_mode_work()
/linux-6.3-rc2/crypto/asymmetric_keys/
A Drestrict.c107 key_put(key); in restrict_link_by_signature()
218 key_put(key); in key_or_keyring_common()
A Dselftest.c222 key_put(keyring); in fips_signature_selftest()
A Dpkcs7_trust.c116 key_put(key); in pkcs7_validate_trust_one()
/linux-6.3-rc2/fs/crypto/
A Dkeyring.c77 key_put(mk->mk_users); in fscrypt_put_master_key()
383 key_put(mk_user); in add_master_key_user()
402 key_put(mk_user); in remove_master_key_user()
470 key_put(mk_user); in add_existing_master_key()
835 key_put(mk_user); in fscrypt_verify_key_added()
1167 key_put(mk_user); in fscrypt_ioctl_get_key_status()
A Dkeysetup_v1.c140 key_put(key); in find_and_lock_process_key()
319 key_put(key); in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
/linux-6.3-rc2/drivers/nvdimm/
A 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()
/linux-6.3-rc2/fs/ecryptfs/
A Dkeystore.c530 key_put(walker->global_auth_tok_key); in ecryptfs_find_global_auth_tok_for_sig()
848 key_put(auth_tok_key); in ecryptfs_write_tag_70_packet()
1090 key_put(auth_tok_key); in ecryptfs_parse_tag_70_packet()
1630 key_put(*auth_tok_key); in ecryptfs_keyring_auth_tok_for_sig()
1903 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1911 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1916 key_put(auth_tok_key); in ecryptfs_parse_packet_set()
1978 key_put(auth_tok_key); in pki_encrypt_session_key()
2042 key_put(auth_tok_key); in write_tag_1_packet()
2440 key_put(auth_tok_key); in ecryptfs_generate_key_packet_set()
[all …]
/linux-6.3-rc2/fs/verity/
A Dsignature.c148 key_put(ring); in fsverity_init_signature()
/linux-6.3-rc2/drivers/md/
A Ddm-verity-verify-sig.c62 key_put(key); in verity_verify_get_sig_from_key()
/linux-6.3-rc2/net/dns_resolver/
A Ddns_query.c167 key_put(rkey); in dns_query()
/linux-6.3-rc2/security/integrity/
A Ddigsig_asymmetric.c131 key_put(key); in asymmetric_verify()
/linux-6.3-rc2/security/keys/encrypted-keys/
A Dencrypted.c322 key_put(ukey); in request_user_key()
733 key_put(mkey); in encrypted_key_decrypt()
978 key_put(mkey); in encrypted_read()
987 key_put(mkey); in encrypted_read()
/linux-6.3-rc2/fs/nfs/
A 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()
/linux-6.3-rc2/fs/cifs/
A Dcifs_spnego.c223 key_put(keyring); in init_cifs_spnego()

Completed in 39 milliseconds

123