1TPM_IO_TPMESTABLISHED_GET(1) libtpms documentationTPM_IO_TPMESTABLISHED_GET(1)
2
3
4
6 TPM_IO_TpmEstablished_Get - get the value of the TPMEstablished flag
7
9 TPM library (libtpms, -ltpms)
10
12 #include <libtpms/tpm_types.h>
13
14 #include <libtpms/tpm_tis.h>
15
16 #include <libtpms/tpm_error.h>
17
18 TPM_RESULT TPM_IO_TpmEstablished_Get(TPM_BOOL *tpmEstablished);
19
20 TPM_RESULT TPM_IO_TpmEstablished_Reset(void);
21
23 The TPM_IO_TpmEstablished_Get() function returns the value of the
24 TPMEstablished flag of the TPM's permanent data.
25
26 The TPM_IO_TpmEstablished_Reset() function resets the TPMEstablished
27 flag.
28
30 TPM_SUCCESS
31 The function completed sucessfully.
32
33 TPM_FAIL
34 General failure.
35
36 TPM_BAD_LOCALITY
37 The locality used for resetting the flags is wrong.
38
39 For a complete list of TPM error codes please consult the include file
40 libtpms/tpm_error.h
41
43 TPMLIB_MainInit(3), TPMLIB_Terminate(3), TPMLIB_RegisterCallbacks(3),
44 TPMLIB_Process(3), TPM_IO_Hash_Start(3), TPM_IO_Hash_End(3),
45 TPM_IO_Hash_Data(3)
46
47
48
49libtpms-0.5.1 2011-02-17 TPM_IO_TPMESTABLISHED_GET(1)