Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\tpm.h Create Date:2022-07-28 18:29:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:tpm_buf_reset

Proto:static inline void tpm_buf_reset(struct tpm_buf *buf, u16 tag, unsigned int ordinal)

Type:void

Parameter:

TypeParameterName
struct tpm_buf *buf
u16tag
unsigned intordinal
314  head = data
316  tag = cpu_to_be16(tag)
317  length = cpu_to_be32( size of head )
318  ordinal = cpu_to_be32(ordinal)
Caller
NameDescribe
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