Validate some fields in PE image to make sure not access violation for later code.
[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
28186d45 5# Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
0c18794e 6# This program and the accompanying materials\r
7# are licensed and made available under the terms and conditions of the BSD License\r
8# which accompanies this distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php\r
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12#\r
13##\r
14\r
15[Defines]\r
16 INF_VERSION = 0x00010005\r
17 BASE_NAME = DxeImageVerificationLib \r
18 FILE_GUID = 0CA970E1-43FA-4402-BC0A-81AF336BFFD6\r
19 MODULE_TYPE = DXE_DRIVER\r
20 VERSION_STRING = 1.0\r
21 LIBRARY_CLASS = NULL|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER \r
22 CONSTRUCTOR = DxeImageVerificationLibConstructor\r
23\r
24#\r
25# The following information is for reference only and not required by the build tools.\r
26#\r
27# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
28#\r
29\r
30[Sources]\r
31 DxeImageVerificationLib.c\r
32 DxeImageVerificationLib.h\r
33\r
34[Packages]\r
35 MdePkg/MdePkg.dec\r
36 MdeModulePkg/MdeModulePkg.dec\r
37 CryptoPkg/CryptoPkg.dec\r
38 SecurityPkg/SecurityPkg.dec\r
39\r
40[LibraryClasses]\r
41 MemoryAllocationLib\r
42 BaseLib\r
43 UefiLib\r
44 UefiBootServicesTableLib\r
45 UefiRuntimeServicesTableLib\r
46 BaseMemoryLib\r
47 DebugLib\r
48 DevicePathLib\r
49 BaseCryptLib\r
50 SecurityManagementLib\r
28186d45 51 PeCoffLib\r
0c18794e 52\r
53[Protocols]\r
54 gEfiFirmwareVolume2ProtocolGuid\r
55 gEfiBlockIoProtocolGuid\r
56 gEfiSimpleFileSystemProtocolGuid\r
57 gEfiVariableWriteArchProtocolGuid\r
58 \r
59[Guids]\r
60 gEfiCertTypeRsa2048Sha256Guid\r
61 gEfiImageSecurityDatabaseGuid\r
62 gEfiCertSha1Guid\r
63 gEfiCertSha256Guid\r
64 gEfiCertX509Guid\r
65 gEfiCertRsa2048Guid\r
beda2356 66 gEfiSecureBootEnableDisableGuid\r
0c18794e 67 \r
68[Pcd]\r
69 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy\r
70 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy\r
71 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy\r
72\r
73 \r
74\r
75\r