2 # Produces Tcg2 protocol and measure boot environment
4 # Spec Compliance Info:
5 # "TCG PC Client Platform Firmware Profile Specification for TPM Family 2.0 Level 00 Revision 1.03 v51"
7 # "Errata for PC Client Specific Platform Firmware Profile Specification Version 1.0 Revision 1.03"
8 # "TCG EFI Protocol Specification" "Family 2.0" "Level 00 Revision 00.13"
10 # "Errata Version 0.5 for TCG EFI Protocol Specification"
12 # This module will produce Tcg2 protocol and measure boot environment.
14 # Caution: This module requires additional review when modified.
15 # This driver will have external input - PE/COFF image.
16 # This external input must be validated carefully to avoid security issue like
17 # buffer overflow, integer overflow.
19 # Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>
20 # This program and the accompanying materials
21 # are licensed and made available under the terms and conditions of the BSD License
22 # which accompanies this distribution. The full text of the license may be found at
23 # http://opensource.org/licenses/bsd-license.php
24 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
25 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
30 INF_VERSION = 0x00010005
32 MODULE_UNI_FILE = Tcg2Dxe.uni
33 FILE_GUID = FDFF263D-5F68-4591-87BA-B768F445A9AF
34 MODULE_TYPE = DXE_DRIVER
36 ENTRY_POINT = DriverEntry
39 # The following information is for reference only and not required by the build tools.
41 # VALID_ARCHITECTURES = IA32 X64
50 MdeModulePkg/MdeModulePkg.dec
51 SecurityPkg/SecurityPkg.dec
52 CryptoPkg/CryptoPkg.dec
57 UefiBootServicesTableLib
60 UefiRuntimeServicesTableLib
70 Tcg2PhysicalPresenceLib
74 ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"
75 ## SOMETIMES_CONSUMES ## Variable:L"PK"
76 ## SOMETIMES_CONSUMES ## Variable:L"KEK"
77 ## SOMETIMES_CONSUMES ## Variable:L"BootXXXX"
78 gEfiGlobalVariableGuid
80 ## SOMETIMES_CONSUMES ## Variable:L"db"
81 ## SOMETIMES_CONSUMES ## Variable:L"dbx"
82 gEfiImageSecurityDatabaseGuid
84 gTcgEventEntryHobGuid ## SOMETIMES_CONSUMES ## HOB
85 gTpmErrorHobGuid ## SOMETIMES_CONSUMES ## HOB
86 gEfiEventExitBootServicesGuid ## CONSUMES ## Event
87 gEventExitBootServicesFailedGuid ## SOMETIMES_CONSUMES ## Event
88 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier
89 gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier
91 gTcgEvent2EntryHobGuid ## SOMETIMES_CONSUMES ## HOB
92 gTpm2StartupLocalityHobGuid ## SOMETIMES_CONSUMES ## HOB
95 gEfiTcg2ProtocolGuid ## PRODUCES
96 gEfiTcg2FinalEventsTableGuid ## PRODUCES
97 gEfiMpServiceProtocolGuid ## SOMETIMES_CONSUMES
98 gEfiVariableWriteArchProtocolGuid ## NOTIFY
99 gEfiResetNotificationProtocolGuid ## CONSUMES
102 gEfiSecurityPkgTokenSpaceGuid.PcdTpmPlatformClass ## SOMETIMES_CONSUMES
103 gEfiSecurityPkgTokenSpaceGuid.PcdFirmwareDebuggerInitialized ## SOMETIMES_CONSUMES
104 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES
105 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES
106 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap ## CONSUMES
107 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2NumberOfPCRBanks ## CONSUMES
108 gEfiSecurityPkgTokenSpaceGuid.PcdTcgLogAreaMinLen ## CONSUMES
109 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2FinalLogAreaLen ## CONSUMES
114 [UserExtensions.TianoCore."ExtraFiles"]