1TPMLIB_VolatileAll_Store(3) TPMLIB_VolatileAll_Store(3)
2
3
4
6 TPMLIB_VolatileAll_Store - store all volatile state of the TPM in a
7 buffer
8
10 TPM library (libtpms, -ltpms)
11
13 #include <libtpms/tpm_library.h>
14
15 #include <libtpms/tpm_error.h>
16
17 TPM_RESULT TPMLIB_VolatileAll_Store(unsigned char **buffer,
18 uint32_t *buflen);
19
21 The TPMLIB_VolatileAll_Store() function is used to get the volatile
22 state of the TPM. The function will allocate a buffer and return the
23 number of bytes of state information in the buflen variable.
24
26 TPM_SUCCESS
27 The function completed sucessfully.
28
29 TPM_FAIL
30 General failure.
31
32 For a complete list of TPM error codes please consult the include file
33 libtpms/tpm_error.h
34
36 TPMLIB_MainInit(3), TPMLIB_Terminate(3), TPMLIB_RegisterCallbacks(3)
37
38
39
40libtpms 2021-06-01 TPMLIB_VolatileAll_Store(3)