Enable TPM measurement lib to measure all PE image from a FV unmeasured by TcgPei
[mirror_edk2.git] / SecurityPkg / Library / DxeImageVerificationLib / DxeImageVerificationLib.inf
CommitLineData
0c18794e 1## @file\r
2# The library instance provides security service of image verification.\r
3# Image verification Library module supports UEFI2.3.1\r
4#\r
dc204d5a
JY
5# Caution: This module requires additional review when modified.\r
6# This library will have external input - PE/COFF image.\r
7# This external input must be validated carefully to avoid security issue like\r
8# buffer overflow, integer overflow.\r
9#\r
28186d45 10# Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
0c18794e 11# This program and the accompanying materials\r
12# are licensed and made available under the terms and conditions of the BSD License\r
13# which accompanies this distribution. The full text of the license may be found at\r
14# http://opensource.org/licenses/bsd-license.php\r
15# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
17#\r
18##\r
19\r
20[Defines]\r
21 INF_VERSION = 0x00010005\r
22 BASE_NAME = DxeImageVerificationLib \r
23 FILE_GUID = 0CA970E1-43FA-4402-BC0A-81AF336BFFD6\r
24 MODULE_TYPE = DXE_DRIVER\r
25 VERSION_STRING = 1.0\r
26 LIBRARY_CLASS = NULL|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER \r
27 CONSTRUCTOR = DxeImageVerificationLibConstructor\r
28\r
29#\r
30# The following information is for reference only and not required by the build tools.\r
31#\r
32# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
33#\r
34\r
35[Sources]\r
36 DxeImageVerificationLib.c\r
37 DxeImageVerificationLib.h\r
38\r
39[Packages]\r
40 MdePkg/MdePkg.dec\r
41 MdeModulePkg/MdeModulePkg.dec\r
42 CryptoPkg/CryptoPkg.dec\r
43 SecurityPkg/SecurityPkg.dec\r
44\r
45[LibraryClasses]\r
46 MemoryAllocationLib\r
47 BaseLib\r
48 UefiLib\r
49 UefiBootServicesTableLib\r
50 UefiRuntimeServicesTableLib\r
51 BaseMemoryLib\r
52 DebugLib\r
53 DevicePathLib\r
54 BaseCryptLib\r
55 SecurityManagementLib\r
28186d45 56 PeCoffLib\r
0c18794e 57\r
58[Protocols]\r
59 gEfiFirmwareVolume2ProtocolGuid\r
60 gEfiBlockIoProtocolGuid\r
61 gEfiSimpleFileSystemProtocolGuid\r
62 gEfiVariableWriteArchProtocolGuid\r
63 \r
64[Guids]\r
65 gEfiCertTypeRsa2048Sha256Guid\r
66 gEfiImageSecurityDatabaseGuid\r
67 gEfiCertSha1Guid\r
68 gEfiCertSha256Guid\r
69 gEfiCertX509Guid\r
70 gEfiCertRsa2048Guid\r
f6f9031f 71 gEfiCertPkcs7Guid\r
0c18794e 72 \r
73[Pcd]\r
74 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy\r
75 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy\r
76 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy\r