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