函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:quest_trusted_key - request the trusted key* Trusted keys are sealed to PCRs and other metadata. Although userspace* manages both trusted/encrypted key-types, like the encrypted key type* data, trusted key type data is not visible decrypted from userspace.

函数原型:struct key *request_trusted_key(const char *trusted_desc, const u8 **master_key, size_t *master_keylen)

返回类型:struct key

参数:

类型参数名称
const char *trusted_desc
const u8 **master_key
size_t *master_keylen
33  tkey等于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).
34  如果是错误则转到:error
37  lock for reading
38  tpayload等于data[0]
39  master_key等于key
40  master_keylen等于key_len
41  error :
42  返回:tkey