TPM_IO_TpmEstablished_Get(3)

TPM_IO_TpmEstablished_Get3

Get the value of the tpmestablished flag tpm_io_tpmestablished_reset - reset the tpmestablished flag

Usage

#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);

Library

TPM library (libtpms, -ltpms)

Overview

The TPM_IO_TpmEstablished_Get() function returns the value of the TPMEstablished flag of the TPM's permanent data.

The TPM_IO_TpmEstablished_Reset() function resets the TPMEstablished flag.

Errors

TPM_SUCCESS

The function completed successfully.

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

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

From libtpms 0.10.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.