TPMLIB_VolatileAll_Store - store all volatile state of the TPM in a buffer
Contents
Description
The TPMLIB_VolatileAll_Store() function is used to get the volatile state of the TPM. The function will
allocate a buffer and return the number of bytes of state information in the buflen variable.
Errors
TPM_SUCCESS
The function completed successfully.
TPM_FAIL
General failure.
For a complete list of TPM error codes please consult the include file libtpms/tpm_error.h
Library
TPM library (libtpms, -ltpms)
Name
TPMLIB_VolatileAll_Store - store all volatile state of the TPM in a buffer
See Also
TPMLIB_MainInit(3), TPMLIB_Terminate(3), TPMLIB_RegisterCallbacks(3)
libtpms 2025-06-25 TPMLIB_VolatileAll_Store(3)
Synopsis
#include<libtpms/tpm_library.h>
#include<libtpms/tpm_error.h>
TPM_RESULTTPMLIB_VolatileAll_Store(unsignedchar**buffer,uint32_t*buflen);
