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 the TPMEstablished flag πŸ”
  • TPM_IO_TpmEstablished_Reset β€” reset the TPMEstablished flag πŸ”„

πŸ“š 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 πŸ‘€


Signed, sealed, and delivered by libtpms, dated 2026-01-02 β€” TPM_IO_TpmEstablished_Get(3) out. πŸ’œπŸ¦‹

πŸ“¦ where this page comes from