函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\keys\encrypted-keys\encrypted.c Create Date:2022-07-27 20:07:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:quest_user_key - request the user key* Use a user provided key to encrypt/decrypt an encrypted-key.

函数原型:static struct key *request_user_key(const char *master_desc, const u8 **master_key, size_t *master_keylen)

返回类型:struct key

参数:

类型参数名称
const char *master_desc
const u8 **master_key
size_t *master_keylen
307  ukey等于quest_key - Request a key and wait for construction*@type: Type of key.*@description: The searchable description of the key.*@callout_info: The data to pass to the instantiation upcall (or NULL).
308  如果是错误则转到:error
311  lock for reading
312  upayload等于user_key_payload_locked(ukey)
313  如果非upayload
315  lease a read lock
316  key_put - Discard a reference to a key.*@key: The key to discard a reference from.* Discard a reference to a key, and when all the references are gone, we* schedule the cleanup task to come and pull it out of the tree in process
317  ukey等于错误号
318  转到:error
320  master_key等于actual data
321  master_keylen等于length of this data
322  error :
323  返回:ukey
调用者
名称描述
request_master_key