TPMLIB_VolatileAll_Store man page

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

Library

TPM library (libtpms, -ltpms)

Synopsis

#include <libtpms/tpm_library.h>

#include <libtpms/tpm_error.h>

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

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 sucessfully.
TPM_FAIL
General failure.

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

See Also

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

Info

2011-03-09 libtpms-0.5.1 libtpms documentation