tpm2_rc_decode man page

tpm2_rc_decode(1) — Decode TPM2 error codes to human readable format.

Synopsis

tpm2_rc_decode [Options] RC_CODE

Description

tpm2_rc_decode(1) converts RC_CODE originating from the SAPI and TCTI into human readable errors. Analogous to strerror(3), but for the tpm2 stack.

Options

This tool takes no tool specific options.

Common Options

This collection of options are common to many programs and provide information that many users may expect.

This collection of environment variables that may be used to configure the various TCTI modules available.

The values passed through these variables can be overridden on a per-command basis using the available command line options, see the TCTI_OPTIONS section.

The variables respected depend on how the software was configured.

Tcti Options

This collection of options are used to configure the varous TCTI modules available. They override any environment variables.

Examples

tpm2_rc_decode 0x100

Returns

0 on success or 1 on failure.

Bugs

Github Issues (https://github.com/01org/tpm2-tools/issues)

Help

See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)

Info

SEPTEMBER 2017 tpm2-tools General Commands Manual