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