SecurityPkg/Library/Tpm2CommandLib/Tpm2Test.c File Reference


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.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.


Function Documentation

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] FullTest YES if full test to be performed NO if only test of untested functions required
Return values:
EFI_SUCCESS Operation completed successfully.
EFI_DEVICE_ERROR Unexpected device behavior.

References EFI_STATUS(), and Tpm2SubmitCommand().

Referenced by PeimEntryMA().


Generated on Thu Sep 24 23:44:24 2015 for SecurityPkg[ALL] by  doxygen 1.5.7.1