Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\keys\user-type.h Create Date:2022-07-28 07:19:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:user_key_payload_locked

Proto:static inline struct user_key_payload *user_key_payload_locked(const struct key *key)

Type:struct user_key_payload

Parameter:

TypeParameterName
const struct key *key
54  Return dereference_key_locked((structkey * )key)
Caller
NameDescribe
digsig_verify_rsaRSA Signature verification with public key
user_revokedispose of the links from a revoked keyring* - called with the key sem write-locked
user_readad the key data* - the key's semaphore is read-locked
dh_data_from_key
request_user_keyquest_user_key - request the user key* Use a user provided key to encrypt/decrypt an encrypted-key.
find_and_lock_process_keySearch the current task's subscribed keyrings for a "logon" key with* description prefix:descriptor, and if found acquire a read lock on it and* return a pointer to its validated payload in *payload_ret.