函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tpm_get_random

函数原型:static inline int tpm_get_random(struct tpm_chip *chip, u8 *data, size_t max)

返回类型:int

参数:

类型参数名称
struct tpm_chip *chip
u8 *data
size_tmax
431  返回:负ENODEV
调用者
名称描述
osapCreate an object specific authorisation protocol (OSAP) session
tpm_sealHave the TPM seal(encrypt) the trusted key, possibly based on* Platform Configuration Registers (PCRs). AUTH1 for sealing key.
tpm_unsealse the AUTH2_COMMAND form of unseal, to authorize both key and blob
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.