Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tpm_buf_append_u16

Proto:static inline void tpm_buf_append_u16(struct tpm_buf *buf, const u16 value)

Type:void

Parameter:

TypeParameterName
struct tpm_buf *buf
const u16value
379  value2 = cpu_to_be16(value)
381  tpm_buf_append(buf, (u8 * ) & value2, 2)
Caller
NameDescribe
osapCreate an object specific authorisation protocol (OSAP) session
tpm2_buf_append_authpm_buf_append_auth() - append TPMS_AUTH_COMMAND to the buffer
tpm2_seal_trustedpm2_seal_trusted() - seal the payload of a trusted key*@chip: TPM chip to use*@payload: the key data in clear and encrypted form*@options: authentication values and other options* Return: < 0 on error and 0 on success.