TianoCore EDK2 master
Loading...
Searching...
No Matches
Tpm12Support.h File Reference

Go to the source code of this file.

Functions

EFI_STATUS InternalTpm12Detect (VOID)
 

Detailed Description

Declare the InternalTpm12Detect() function, hiding the TPM-1.2 detection internals.

Copyright (C) 2020, Red Hat, Inc.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Tpm12Support.h.

Function Documentation

◆ InternalTpm12Detect()

EFI_STATUS InternalTpm12Detect ( VOID  )

Detect the presence of a TPM with interface version 1.2.

Return values
EFI_UNSUPPORTEDThe platform that includes this particular implementation of the function does not support TPM-1.2.
EFI_SUCCESSTPM-1.2 available. The Tpm12RequestUseTpm() and Tpm12SubmitCommand(TPM_ORD_GetTicks) operations (from the Tpm12DeviceLib class) have succeeded.
Returns
Error codes propagated from Tpm12RequestUseTpm() and Tpm12SubmitCommand().

Detect the presence of a TPM with interface version 1.2.

Return values
EFI_SUCCESSTPM-1.2 available. The Tpm12RequestUseTpm() and Tpm12SubmitCommand(TPM_ORD_GetTicks) operations (from the Tpm12DeviceLib class) have succeeded.
Returns
Error codes propagated from Tpm12RequestUseTpm() and Tpm12SubmitCommand().

Detect the presence of a TPM with interface version 1.2.

Return values
EFI_UNSUPPORTEDThe platform that includes this particular implementation of the function does not support TPM-1.2.

Definition at line 71 of file Tpm12Support.c.