TPM_IO_TpmEstablished_Get(3)
Okay bestie, welcome to the TPM_IO_TpmEstablished_Get(3) page π
β this is a libtpms situation, and weβre talking about the TPMEstablished flag. Buckle up, itβs short but iconic. β¨
π NAME π
TPM_IO_TpmEstablished_Getβ get the value of theTPMEstablishedflag πTPM_IO_TpmEstablished_Resetβ reset theTPMEstablishedflag π
π LIBRARY π
TPM library (libtpms, -ltpms) π«Ά
π» SYNOPSIS π»
#include <libtpms/tpm_types.h>
#include <libtpms/tpm_tis.h>
#include <libtpms/tpm_error.h>
TPM_RESULT TPM_IO_TpmEstablished_Get(TPM_BOOL *tpmEstablished);
TPM_RESULT TPM_IO_TpmEstablished_Reset(void);
πΈ DESCRIPTION πΈ
The TPM_IO_TpmEstablished_Get() function returns the value of the TPMEstablished flag of the TPMβs permanent data. Literally just hands you that flag value, no cap. π
The TPM_IO_TpmEstablished_Reset() function resets the TPMEstablished flag. Boom, reset, slay. β¨
π ERRORS π
TPM_SUCCESSβ The function completed successfully. We love a happy ending. πTPM_FAILβ General failure. πTPM_BAD_LOCALITYβ The locality used for resetting the flags is wrong. π¨
For a complete list of TPM error codes please consult the include file libtpms/tpm_error.h π
π SEE ALSO π
TPMLIB_MainInit(3)TPMLIB_Terminate(3)TPMLIB_RegisterCallbacks(3)TPMLIB_Process(3)TPM_IO_Hash_Start(3)TPM_IO_Hash_End(3)TPM_IO_Hash_Data(3)
Signed, sealed, and delivered by libtpms, dated 2026-01-02 β TPM_IO_TpmEstablished_Get(3) out. ππ¦
π¦ where this page comes from
- alpine 3.24: libtpms-doc 0.10.2-r0 Β· BSD-3-Clause
- arch rolling: libtpms 0.10.2-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms