]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
SecurityPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / SecurityPkg / Library / HashLibBaseCryptoRouter / HashLibBaseCryptoRouterPei.inf
1 ## @file
2 # Provides hash service by registered hash handler
3 #
4 # This library is BaseCrypto router. It will redirect hash request to each individual
5 # hash handler registered, such as SHA1, SHA256. Platform can use PcdTpm2HashMask to
6 # mask some hash engines.
7 #
8 # Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
10 #
11 ##
12
13 [Defines]
14 INF_VERSION = 0x00010005
15 BASE_NAME = HashLibBaseCryptoRouterPei
16 MODULE_UNI_FILE = HashLibBaseCryptoRouterPei.uni
17 FILE_GUID = DDCBCFBA-8EEB-488a-96D6-097831A6E50B
18 MODULE_TYPE = PEIM
19 VERSION_STRING = 1.0
20 LIBRARY_CLASS = HashLib|PEIM
21 CONSTRUCTOR = HashLibBaseCryptoRouterPeiConstructor
22
23 #
24 # The following information is for reference only and not required by the build tools.
25 #
26 # VALID_ARCHITECTURES = IA32 X64
27 #
28
29 [Sources]
30 HashLibBaseCryptoRouterCommon.h
31 HashLibBaseCryptoRouterCommon.c
32 HashLibBaseCryptoRouterPei.c
33
34 [Packages]
35 MdePkg/MdePkg.dec
36 SecurityPkg/SecurityPkg.dec
37 MdeModulePkg/MdeModulePkg.dec
38
39 [LibraryClasses]
40 BaseLib
41 BaseMemoryLib
42 DebugLib
43 Tpm2CommandLib
44 MemoryAllocationLib
45 PcdLib
46 HobLib
47
48 [Guids]
49 ## SOMETIMES_CONSUMES ## GUID
50 gZeroGuid
51
52 [Pcd]
53 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask ## CONSUMES
54 ## SOMETIMES_CONSUMES
55 ## SOMETIMES_PRODUCES
56 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap
57