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