]>
Commit | Line | Data |
---|---|---|
c1d93242 | 1 | ## @file\r |
60c944c7 DG |
2 | # Provides security service for TPM 2.0 measured boot\r |
3 | #\r | |
6d92ae11 | 4 | # Spec Compliance Info:\r |
3cc9af5c ZC |
5 | # "TCG PC Client Platform Firmware Profile Specification for TPM Family 2.0 Level 00 Revision 1.03 v51"\r |
6 | # along with\r | |
7 | # "Errata for PC Client Specific Platform Firmware Profile Specification Version 1.0 Revision 1.03"\r | |
6d92ae11 | 8 | #\r |
b3548d32 | 9 | # This library instance hooks LoadImage() API to measure every image that\r |
60c944c7 | 10 | # is not measured in PEI phase. And, it will also measure GPT partition.\r |
c1d93242 JY |
11 | #\r |
12 | # Caution: This module requires additional review when modified.\r | |
13 | # This library will have external input - PE/COFF image and GPT partition.\r | |
b3548d32 | 14 | # This external input must be validated carefully to avoid security issues such\r |
60c944c7 | 15 | # as buffer overflow or integer overflow.\r |
c1d93242 | 16 | #\r |
b3548d32 | 17 | # Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>\r |
c1d93242 JY |
18 | # This program and the accompanying materials\r |
19 | # are licensed and made available under the terms and conditions of the BSD License\r | |
20 | # which accompanies this distribution. The full text of the license may be found at\r | |
21 | # http://opensource.org/licenses/bsd-license.php\r | |
22 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
23 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
24 | #\r | |
25 | ##\r | |
26 | \r | |
27 | [Defines]\r | |
28 | INF_VERSION = 0x00010005\r | |
29 | BASE_NAME = DxeTpm2MeasureBootLib\r | |
60c944c7 | 30 | MODULE_UNI_FILE = DxeTpm2MeasureBootLib.uni\r |
c1d93242 JY |
31 | FILE_GUID = 778CE4F4-36BD-4ae7-B8F0-10B420B0D174\r |
32 | MODULE_TYPE = DXE_DRIVER\r | |
33 | VERSION_STRING = 1.0\r | |
4cecd19a | 34 | LIBRARY_CLASS = NULL|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER\r |
c1d93242 JY |
35 | CONSTRUCTOR = DxeTpm2MeasureBootLibConstructor\r |
36 | \r | |
37 | #\r | |
38 | # The following information is for reference only and not required by the build tools.\r | |
39 | #\r | |
4cecd19a | 40 | # VALID_ARCHITECTURES = IA32 X64 EBC\r |
c1d93242 JY |
41 | #\r |
42 | \r | |
43 | [Sources]\r | |
44 | DxeTpm2MeasureBootLib.c\r | |
45 | \r | |
46 | [Packages]\r | |
47 | MdePkg/MdePkg.dec\r | |
48 | MdeModulePkg/MdeModulePkg.dec\r | |
49 | SecurityPkg/SecurityPkg.dec\r | |
50 | CryptoPkg/CryptoPkg.dec\r | |
51 | \r | |
52 | [LibraryClasses]\r | |
53 | BaseMemoryLib\r | |
54 | DebugLib\r | |
55 | MemoryAllocationLib\r | |
56 | DevicePathLib\r | |
57 | UefiBootServicesTableLib\r | |
58 | BaseCryptLib\r | |
59 | PeCoffLib\r | |
60 | BaseLib\r | |
61 | SecurityManagementLib\r | |
62 | HobLib\r | |
63 | \r | |
64 | [Guids]\r | |
60c944c7 | 65 | gMeasuredFvHobGuid ## SOMETIMES_CONSUMES ## HOB\r |
c1d93242 JY |
66 | \r |
67 | [Protocols]\r | |
1abfa4ce | 68 | gEfiTcg2ProtocolGuid ## SOMETIMES_CONSUMES\r |
60c944c7 DG |
69 | gEfiFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES\r |
70 | gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES\r | |
71 | gEfiDiskIoProtocolGuid ## SOMETIMES_CONSUMES\r | |
c1d93242 | 72 | \r |