% tpm2_selftest(1) tpm2-tools | General Commands Manual
NAME
tpm2_selftest(1) - Run TPM's self-test internal routines
SYNOPSIS
tpm2_selftest [OPTIONS]
DESCRIPTION
tpm2_selftest(1) - Cause the TPM to execute self-test of its capabilities.
Self-test can be executed in two modes :
- Simple test - TPM will test functions that require testing
- Full test - TPM will test all functions regardless of what has already been tested
Once the TPM receives this request, the TPM will return TPM_RC_TESTING for any command that requires a test. If a test fails, the TPM will return TPM_RC_FAILURE for any command other than TPM2_GetTestResult() and TPM2_GetCapability() during this time. The TPM will remain in failure mode until the next TPM initialization.
OPTIONS
- -f, --fulltest : Run self-test in full mode
References
common options collection of common options that provide information many users may expect.
common tcti options collection of options used to configure the various known TCTI modules.
EXAMPLES
Perform a simple TPM self-test
tpm2_selftest
Perform a complete TPM self-test
tpm2_selftest -f