]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.inf
Add TPM2 implementation.
[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 - 2013, 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 Measurement.c
39
40 [Packages]
41 MdePkg/MdePkg.dec
42 MdeModulePkg/MdeModulePkg.dec
43 CryptoPkg/CryptoPkg.dec
44 SecurityPkg/SecurityPkg.dec
45
46 [LibraryClasses]
47 MemoryAllocationLib
48 BaseLib
49 UefiLib
50 UefiBootServicesTableLib
51 UefiRuntimeServicesTableLib
52 BaseMemoryLib
53 DebugLib
54 DevicePathLib
55 BaseCryptLib
56 SecurityManagementLib
57 PeCoffLib
58 TpmMeasurementLib
59
60 [Protocols]
61 gEfiFirmwareVolume2ProtocolGuid
62 gEfiBlockIoProtocolGuid
63 gEfiSimpleFileSystemProtocolGuid
64
65 [Guids]
66 gEfiCertTypeRsa2048Sha256Guid
67 gEfiImageSecurityDatabaseGuid
68 gEfiCertSha1Guid
69 gEfiCertSha256Guid
70 gEfiCertX509Guid
71 gEfiCertRsa2048Guid
72 gEfiCertPkcs7Guid
73
74 [Pcd]
75 gEfiSecurityPkgTokenSpaceGuid.PcdOptionRomImageVerificationPolicy
76 gEfiSecurityPkgTokenSpaceGuid.PcdRemovableMediaImageVerificationPolicy
77 gEfiSecurityPkgTokenSpaceGuid.PcdFixedMediaImageVerificationPolicy