]>
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 |
289b714b | 18 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
c1d93242 JY |
19 | #\r |
20 | ##\r | |
21 | \r | |
22 | [Defines]\r | |
23 | INF_VERSION = 0x00010005\r | |
24 | BASE_NAME = DxeTpm2MeasureBootLib\r | |
60c944c7 | 25 | MODULE_UNI_FILE = DxeTpm2MeasureBootLib.uni\r |
c1d93242 JY |
26 | FILE_GUID = 778CE4F4-36BD-4ae7-B8F0-10B420B0D174\r |
27 | MODULE_TYPE = DXE_DRIVER\r | |
28 | VERSION_STRING = 1.0\r | |
4cecd19a | 29 | LIBRARY_CLASS = NULL|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER\r |
c1d93242 JY |
30 | CONSTRUCTOR = DxeTpm2MeasureBootLibConstructor\r |
31 | \r | |
32 | #\r | |
33 | # The following information is for reference only and not required by the build tools.\r | |
34 | #\r | |
4cecd19a | 35 | # VALID_ARCHITECTURES = IA32 X64 EBC\r |
c1d93242 JY |
36 | #\r |
37 | \r | |
38 | [Sources]\r | |
39 | DxeTpm2MeasureBootLib.c\r | |
40 | \r | |
41 | [Packages]\r | |
42 | MdePkg/MdePkg.dec\r | |
43 | MdeModulePkg/MdeModulePkg.dec\r | |
44 | SecurityPkg/SecurityPkg.dec\r | |
45 | CryptoPkg/CryptoPkg.dec\r | |
46 | \r | |
47 | [LibraryClasses]\r | |
48 | BaseMemoryLib\r | |
49 | DebugLib\r | |
50 | MemoryAllocationLib\r | |
51 | DevicePathLib\r | |
52 | UefiBootServicesTableLib\r | |
53 | BaseCryptLib\r | |
54 | PeCoffLib\r | |
55 | BaseLib\r | |
56 | SecurityManagementLib\r | |
57 | HobLib\r | |
58 | \r | |
59 | [Guids]\r | |
60c944c7 | 60 | gMeasuredFvHobGuid ## SOMETIMES_CONSUMES ## HOB\r |
c1d93242 JY |
61 | \r |
62 | [Protocols]\r | |
1abfa4ce | 63 | gEfiTcg2ProtocolGuid ## SOMETIMES_CONSUMES\r |
60c944c7 DG |
64 | gEfiFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES\r |
65 | gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES\r | |
66 | gEfiDiskIoProtocolGuid ## SOMETIMES_CONSUMES\r | |
c1d93242 | 67 | \r |