2 # Provides security service for TPM 1.2 measured boot
4 # This library instance hooks LoadImage() API to measure every image that
5 # is not measured in PEI phase. And, it will also measure GPT partition.
7 # Caution: This module requires additional review when modified.
8 # This library will have external input - PE/COFF image and GPT partition.
9 # This external input must be validated carefully to avoid security issues such
10 # as buffer overflow or integer overflow.
12 # Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
13 # SPDX-License-Identifier: BSD-2-Clause-Patent
18 INF_VERSION = 0x00010005
19 BASE_NAME = DxeTpmMeasureBootLib
20 MODULE_UNI_FILE = DxeTpmMeasureBootLib.uni
21 FILE_GUID = 6C60C7D0-922A-4b7c-87D7-E503EDD73BBF
22 MODULE_TYPE = DXE_DRIVER
24 LIBRARY_CLASS = NULL|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
25 CONSTRUCTOR = DxeTpmMeasureBootLibConstructor
28 # The following information is for reference only and not required by the build tools.
30 # VALID_ARCHITECTURES = IA32 X64 EBC
34 DxeTpmMeasureBootLib.c
38 MdeModulePkg/MdeModulePkg.dec
39 SecurityPkg/SecurityPkg.dec
40 CryptoPkg/CryptoPkg.dec
47 UefiBootServicesTableLib
55 gMeasuredFvHobGuid ## SOMETIMES_CONSUMES ## HOB
58 gEfiTcgProtocolGuid ## SOMETIMES_CONSUMES
59 gEfiFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES
60 gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES
61 gEfiDiskIoProtocolGuid ## SOMETIMES_CONSUMES