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