]>
Commit | Line | Data |
---|---|---|
0c18794e | 1 | ## @file\r |
60c944c7 DG |
2 | # Provides security service for TPM 1.2 measured boot\r |
3 | #\r | |
b3548d32 | 4 | # This library instance hooks LoadImage() API to measure every image that\r |
60c944c7 | 5 | # is not measured in PEI phase. And, it will also measure GPT partition.\r |
0c18794e | 6 | #\r |
dc204d5a JY |
7 | # Caution: This module requires additional review when modified.\r |
8 | # This library will have external input - PE/COFF image and GPT partition.\r | |
b3548d32 | 9 | # This external input must be validated carefully to avoid security issues such\r |
60c944c7 | 10 | # as buffer overflow or integer overflow.\r |
dc204d5a | 11 | #\r |
b3548d32 | 12 | # Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r |
289b714b | 13 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
0c18794e | 14 | #\r |
15 | ##\r | |
16 | \r | |
17 | [Defines]\r | |
18 | INF_VERSION = 0x00010005\r | |
19 | BASE_NAME = DxeTpmMeasureBootLib\r | |
60c944c7 | 20 | MODULE_UNI_FILE = DxeTpmMeasureBootLib.uni\r |
0c18794e | 21 | FILE_GUID = 6C60C7D0-922A-4b7c-87D7-E503EDD73BBF\r |
22 | MODULE_TYPE = DXE_DRIVER\r | |
23 | VERSION_STRING = 1.0\r | |
4cecd19a | 24 | LIBRARY_CLASS = NULL|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r |
0c18794e | 25 | CONSTRUCTOR = DxeTpmMeasureBootLibConstructor\r |
26 | \r | |
27 | #\r | |
28 | # The following information is for reference only and not required by the build tools.\r | |
29 | #\r | |
4cecd19a | 30 | # VALID_ARCHITECTURES = IA32 X64 EBC\r |
0c18794e | 31 | #\r |
32 | \r | |
33 | [Sources]\r | |
34 | DxeTpmMeasureBootLib.c\r | |
35 | \r | |
36 | [Packages]\r | |
37 | MdePkg/MdePkg.dec\r | |
38 | MdeModulePkg/MdeModulePkg.dec\r | |
39 | SecurityPkg/SecurityPkg.dec\r | |
40 | CryptoPkg/CryptoPkg.dec\r | |
41 | \r | |
42 | [LibraryClasses]\r | |
43 | BaseMemoryLib\r | |
44 | DebugLib\r | |
45 | MemoryAllocationLib\r | |
46 | DevicePathLib\r | |
47 | UefiBootServicesTableLib\r | |
48 | BaseCryptLib\r | |
49 | PeCoffLib\r | |
50 | BaseLib\r | |
51 | SecurityManagementLib\r | |
2aadc920 | 52 | HobLib\r |
53 | \r | |
54 | [Guids]\r | |
60c944c7 | 55 | gMeasuredFvHobGuid ## SOMETIMES_CONSUMES ## HOB\r |
0c18794e | 56 | \r |
57 | [Protocols]\r | |
60c944c7 DG |
58 | gEfiTcgProtocolGuid ## SOMETIMES_CONSUMES\r |
59 | gEfiFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES\r | |
60 | gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES\r | |
61 | gEfiDiskIoProtocolGuid ## SOMETIMES_CONSUMES\r | |
863986b3 | 62 | \r |