TPMLIB_VolatileAll_Store(3) TPMLIB_VolatileAll_Store(3)

TPMLIB_VolatileAll_Store - store all volatile state of the TPM in a buffer

TPM library (libtpms, -ltpms)

#include <libtpms/tpm_library.h>

#include <libtpms/tpm_error.h>

TPM_RESULT TPMLIB_VolatileAll_Store(unsigned char **buffer,
uint32_t *buflen);

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.

The function completed successfully.
General failure.

For a complete list of TPM error codes please consult the include file libtpms/tpm_error.h

TPMLIB_MainInit(3), TPMLIB_Terminate(3), TPMLIB_RegisterCallbacks(3)

2023-05-07 libtpms