]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
4dfd62bd7747cf9238ba96a9b979ccce2a2b51a6
[mirror_edk2.git] / SecurityPkg / Library / DxeTpm2MeasureBootLib / DxeTpm2MeasureBootLib.inf
1 ## @file
2 # The library instance provides security service of TPM2 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) 2013, 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 = DxeTpm2MeasureBootLib
22 FILE_GUID = 778CE4F4-36BD-4ae7-B8F0-10B420B0D174
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 = DxeTpm2MeasureBootLibConstructor
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 DxeTpm2MeasureBootLib.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 gEfiTrEEProtocolGuid ## CONSUMES
60 gEfiFirmwareVolumeBlockProtocolGuid ## CONSUMES
61 gEfiBlockIoProtocolGuid ## CONSUMES
62 gEfiDiskIoProtocolGuid ## CONSUMES
63