TianoCore EDK2 master
Loading...
Searching...
No Matches
Tpm2Test.c File Reference

Go to the source code of this file.

Data Structures

struct  TPM2_SELF_TEST_COMMAND
 
struct  TPM2_SELF_TEST_RESPONSE
 

Functions

EFI_STATUS EFIAPI Tpm2SelfTest (IN TPMI_YES_NO FullTest)
 

Detailed Description

Implement TPM2 Test related command.

Copyright (c) 2013, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Tpm2Test.c.

Function Documentation

◆ Tpm2SelfTest()

EFI_STATUS EFIAPI Tpm2SelfTest ( IN TPMI_YES_NO  FullTest)

This command causes the TPM to perform a test of its capabilities. If the fullTest is YES, the TPM will test all functions. If fullTest = NO, the TPM will only test those functions that have not previously been tested.

Parameters
[in]FullTestYES if full test to be performed NO if only test of untested functions required
Return values
EFI_SUCCESSOperation completed successfully.
EFI_DEVICE_ERRORUnexpected device behavior.

Definition at line 42 of file Tpm2Test.c.