]>
Commit | Line | Data |
---|---|---|
c1d93242 | 1 | ## @file\r |
60c944c7 DG |
2 | # Provides hash service by registered hash handler\r |
3 | #\r | |
07309c3d | 4 | # This library is BaseCrypto router. It will redirect hash request to each individual\r |
b3548d32 | 5 | # hash handler registered, such as SHA1, SHA256. Platform can use PcdTpm2HashMask to\r |
60c944c7 | 6 | # mask some hash engines.\r |
c1d93242 | 7 | #\r |
b3548d32 | 8 | # Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>\r |
c1d93242 JY |
9 | # This program and the accompanying materials\r |
10 | # are licensed and made available under the terms and conditions of the BSD License\r | |
11 | # which accompanies this distribution. The full text of the license may be found at\r | |
12 | # http://opensource.org/licenses/bsd-license.php\r | |
13 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
14 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
15 | #\r | |
16 | ##\r | |
17 | \r | |
18 | [Defines]\r | |
19 | INF_VERSION = 0x00010005\r | |
20 | BASE_NAME = HashLibBaseCryptoRouterPei\r | |
60c944c7 | 21 | MODULE_UNI_FILE = HashLibBaseCryptoRouterPei.uni\r |
c1d93242 JY |
22 | FILE_GUID = DDCBCFBA-8EEB-488a-96D6-097831A6E50B\r |
23 | MODULE_TYPE = PEIM\r | |
24 | VERSION_STRING = 1.0\r | |
22f89647 | 25 | LIBRARY_CLASS = HashLib|PEIM\r |
9fe9cf9a | 26 | CONSTRUCTOR = HashLibBaseCryptoRouterPeiConstructor\r |
c1d93242 JY |
27 | \r |
28 | #\r | |
29 | # The following information is for reference only and not required by the build tools.\r | |
30 | #\r | |
31 | # VALID_ARCHITECTURES = IA32 X64 IPF\r | |
32 | #\r | |
33 | \r | |
34 | [Sources]\r | |
35 | HashLibBaseCryptoRouterCommon.h\r | |
36 | HashLibBaseCryptoRouterCommon.c\r | |
37 | HashLibBaseCryptoRouterPei.c\r | |
38 | \r | |
39 | [Packages]\r | |
40 | MdePkg/MdePkg.dec\r | |
41 | SecurityPkg/SecurityPkg.dec\r | |
9fe9cf9a | 42 | MdeModulePkg/MdeModulePkg.dec\r |
c1d93242 JY |
43 | \r |
44 | [LibraryClasses]\r | |
45 | BaseLib\r | |
46 | BaseMemoryLib\r | |
47 | DebugLib\r | |
48 | Tpm2CommandLib\r | |
49 | MemoryAllocationLib\r | |
50 | PcdLib\r | |
51 | HobLib\r | |
52 | \r | |
9fe9cf9a | 53 | [Guids]\r |
f37bcdd6 | 54 | ## SOMETIMES_CONSUMES ## GUID\r |
9fe9cf9a SZ |
55 | gZeroGuid\r |
56 | \r | |
c1d93242 | 57 | [Pcd]\r |
1abfa4ce | 58 | gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask ## CONSUMES\r |
e3d045ed LG |
59 | ## SOMETIMES_CONSUMES\r |
60 | ## SOMETIMES_PRODUCES\r | |
61 | gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap\r | |
c1d93242 | 62 | \r |