TianoCore EDK2 master
|
#include <IndustryStandard/UefiTcgPlatform.h>
#include <Library/Tpm2CommandLib.h>
#include <Library/Tpm2DeviceLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
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) |
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.
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.
[in] | FullTest | YES if full test to be performed NO if only test of untested functions required |
EFI_SUCCESS | Operation completed successfully. |
EFI_DEVICE_ERROR | Unexpected device behavior. |
Definition at line 42 of file Tpm2Test.c.