ArmPkg: only attempt buildin MmCommunicationDxe for AArch64
[mirror_edk2.git] / SecurityPkg / Library / DxeTpmMeasureBootLib / DxeTpmMeasureBootLib.inf
1 ## @file
2 # Provides security service for TPM 1.2 measured boot
3 #
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.
6 #
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.
11 #
12 # Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
13 # SPDX-License-Identifier: BSD-2-Clause-Patent
14 #
15 ##
16
17 [Defines]
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
23 VERSION_STRING = 1.0
24 LIBRARY_CLASS = NULL|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
25 CONSTRUCTOR = DxeTpmMeasureBootLibConstructor
26
27 #
28 # The following information is for reference only and not required by the build tools.
29 #
30 # VALID_ARCHITECTURES = IA32 X64 EBC
31 #
32
33 [Sources]
34 DxeTpmMeasureBootLib.c
35
36 [Packages]
37 MdePkg/MdePkg.dec
38 MdeModulePkg/MdeModulePkg.dec
39 SecurityPkg/SecurityPkg.dec
40 CryptoPkg/CryptoPkg.dec
41
42 [LibraryClasses]
43 BaseMemoryLib
44 DebugLib
45 MemoryAllocationLib
46 DevicePathLib
47 UefiBootServicesTableLib
48 BaseCryptLib
49 PeCoffLib
50 BaseLib
51 SecurityManagementLib
52 HobLib
53
54 [Guids]
55 gMeasuredFvHobGuid ## SOMETIMES_CONSUMES ## HOB
56
57 [Protocols]
58 gEfiTcgProtocolGuid ## SOMETIMES_CONSUMES
59 gEfiFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES
60 gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES
61 gEfiDiskIoProtocolGuid ## SOMETIMES_CONSUMES
62