Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
TPM_IO_TpmEstablished_Get(3)			    TPM_IO_TpmEstablished_Get(3)

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 TPMEstab-
     lished 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

SEE ALSO
     TPMLIB_MainInit(3), TPMLIB_Terminate(3), TPMLIB_RegisterCallbacks(3), TPM-
     LIB_Process(3), TPM_IO_Hash_Start(3), TPM_IO_Hash_End(3),
     TPM_IO_Hash_Data(3)

libtpms 			   2026-01-02	    TPM_IO_TpmEstablished_Get(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=TPM_IO_TpmEstablished_Reset&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help