函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trusted_options_alloc

函数原型:static struct trusted_key_options *trusted_options_alloc(void)

返回类型:struct trusted_key_options

参数:

914  tpm2等于tpm_is_tpm2(chip)
915  如果tpm2小于0则返回:NULL
918  options等于分配内存并置零
919  如果options
921  keytype等于SRK_keytype
923  如果非tpm2keyhandle等于Other constants
926  返回:options
调用者
名称描述
trusted_instantiaterusted_instantiate - create a new trusted key* Unseal an existing trusted blob or, for a new key, get a* random key, then seal and create a trusted key-type key,* adding it to the specified keyring.* On success, return 0. Otherwise return errno.
trusted_updaterusted_update - reseal an existing key with new PCR values