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