TPMLIB_VolatileAll_Store(3)

TPMLIB_VolatileAll_Store3

Store all volatile state of the tpm in a buffer

Usage

#include <libtpms/tpm_library.h>

#include <libtpms/tpm_error.h>

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

Library

TPM library (libtpms, -ltpms)

Overview

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

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

From libtpms 0.10.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.