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