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