]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
SecurityPkg: Add TCG Spec info to TCG related modules
[mirror_edk2.git] / SecurityPkg / Tcg / Tcg2Dxe / Tcg2Dxe.inf
1 ## @file
2 # Produces Tcg2 protocol and measure boot environment
3 #
4 # Spec Compliance Info:
5 # "TCG PC Client Platform Firmware Profile Specification for TPM Family 2.0 Level 00 Revision 00.21"
6 # along with
7 # "Errata for PC Client Specific Platform Firmware Profile Specification Version 1.0 Revision 0.21"
8 # "TCG EFI Protocol Specification" "Family 2.0" "Level 00 Revision 00.13"
9 #
10 # This module will produce Tcg2 protocol and measure boot environment.
11 #
12 # Caution: This module requires additional review when modified.
13 # This driver will have external input - PE/COFF image.
14 # This external input must be validated carefully to avoid security issue like
15 # buffer overflow, integer overflow.
16 #
17 # Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
18 # This program and the accompanying materials
19 # are licensed and made available under the terms and conditions of the BSD License
20 # which accompanies this distribution. The full text of the license may be found at
21 # http://opensource.org/licenses/bsd-license.php
22 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
23 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
24 #
25 ##
26
27 [Defines]
28 INF_VERSION = 0x00010005
29 BASE_NAME = Tcg2Dxe
30 MODULE_UNI_FILE = Tcg2Dxe.uni
31 FILE_GUID = FDFF263D-5F68-4591-87BA-B768F445A9AF
32 MODULE_TYPE = DXE_DRIVER
33 VERSION_STRING = 1.0
34 ENTRY_POINT = DriverEntry
35
36 #
37 # The following information is for reference only and not required by the build tools.
38 #
39 # VALID_ARCHITECTURES = IA32 X64 IPF
40 #
41
42 [Sources]
43 Tcg2Dxe.c
44 MeasureBootPeCoff.c
45
46 [Packages]
47 MdePkg/MdePkg.dec
48 MdeModulePkg/MdeModulePkg.dec
49 SecurityPkg/SecurityPkg.dec
50 CryptoPkg/CryptoPkg.dec
51
52 [LibraryClasses]
53 MemoryAllocationLib
54 BaseLib
55 UefiBootServicesTableLib
56 HobLib
57 UefiDriverEntryPoint
58 UefiRuntimeServicesTableLib
59 BaseMemoryLib
60 DebugLib
61 Tpm2CommandLib
62 PrintLib
63 UefiLib
64 Tpm2DeviceLib
65 HashLib
66 PerformanceLib
67 ReportStatusCodeLib
68 Tcg2PhysicalPresenceLib
69 PeCoffLib
70
71 [Guids]
72 ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"
73 ## SOMETIMES_CONSUMES ## Variable:L"PK"
74 ## SOMETIMES_CONSUMES ## Variable:L"KEK"
75 ## SOMETIMES_CONSUMES ## Variable:L"BootXXXX"
76 gEfiGlobalVariableGuid
77
78 ## SOMETIMES_CONSUMES ## Variable:L"db"
79 ## SOMETIMES_CONSUMES ## Variable:L"dbx"
80 gEfiImageSecurityDatabaseGuid
81
82 gTcgEventEntryHobGuid ## SOMETIMES_CONSUMES ## HOB
83 gTpmErrorHobGuid ## SOMETIMES_CONSUMES ## HOB
84 gEfiEventExitBootServicesGuid ## CONSUMES ## Event
85 gEventExitBootServicesFailedGuid ## SOMETIMES_CONSUMES ## Event
86 gEfiTpmDeviceInstanceNoneGuid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier
87 gEfiTpmDeviceInstanceTpm12Guid ## SOMETIMES_CONSUMES ## GUID # TPM device identifier
88
89 gTcgEvent2EntryHobGuid ## SOMETIMES_CONSUMES ## HOB
90 gTpm2StartupLocalityHobGuid ## SOMETIMES_CONSUMES ## HOB
91
92 [Protocols]
93 gEfiTcg2ProtocolGuid ## PRODUCES
94 gEfiTcg2FinalEventsTableGuid ## PRODUCES
95 gEfiAcpiTableProtocolGuid ## NOTIFY
96 gEfiMpServiceProtocolGuid ## SOMETIMES_CONSUMES
97 gEfiVariableWriteArchProtocolGuid ## NOTIFY
98
99 [Pcd]
100 gEfiSecurityPkgTokenSpaceGuid.PcdTpmPlatformClass ## SOMETIMES_CONSUMES
101 gEfiSecurityPkgTokenSpaceGuid.PcdFirmwareDebuggerInitialized ## SOMETIMES_CONSUMES
102 gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid ## CONSUMES
103 gEfiSecurityPkgTokenSpaceGuid.PcdTpmBaseAddress ## SOMETIMES_CONSUMES
104 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId ## SOMETIMES_CONSUMES
105 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId ## SOMETIMES_CONSUMES
106 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision ## SOMETIMES_CONSUMES
107 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId ## SOMETIMES_CONSUMES
108 gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision ## SOMETIMES_CONSUMES
109 gEfiSecurityPkgTokenSpaceGuid.PcdStatusCodeSubClassTpmDevice ## SOMETIMES_CONSUMES
110 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap ## CONSUMES
111 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2NumberOfPCRBanks ## CONSUMES
112 gEfiSecurityPkgTokenSpaceGuid.PcdTcgLogAreaMinLen ## CONSUMES
113 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2FinalLogAreaLen ## CONSUMES
114
115 [Depex]
116 TRUE
117
118 [UserExtensions.TianoCore."ExtraFiles"]
119 Tcg2DxeExtra.uni