函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\keys\user-type.h Create Date:2022-07-27 08:18:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:user_key_payload_locked

函数原型:static inline struct user_key_payload *user_key_payload_locked(const struct key *key)

返回类型:struct user_key_payload

参数:

类型参数名称
const struct key *key
54  返回:dereference_key_locked((structkey * )key)
调用者
名称描述
digsig_verify_rsaRSA公钥签名验证
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.