函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tpm_buf_reset

函数原型:static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, unsigned int ordinal)

返回类型:void

参数:

类型参数名称
struct tpm_buf *buf
u16tag
unsigned intordinal
314  head等于data
316  tag等于cpu_to_be16(tag)
317  length等于cpu_to_be32(head的长度)
318  ordinal等于cpu_to_be32(ordinal)
调用者
名称描述
osapCreate an object specific authorisation protocol (OSAP) session
oiapCreate an object independent authorisation protocol (oiap) 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
tpm_buf_init