## @file\r
-# Ihis library is BaseCrypto router. It will redirect hash request to each individual\r
-# hash handler registerd, such as SHA1, SHA256.\r
-# Platform can use PcdTpm2HashMask to mask some hash engines.\r
+# Provides hash service by registered hash handler\r
#\r
-# Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>\r
+# This library is BaseCrypto router. It will redirect hash request to each individual\r
+# hash handler registered, such as SHA1, SHA256. Platform can use PcdTpm2HashMask to\r
+# mask some hash engines.\r
+#\r
+# Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = HashLibBaseCryptoRouterPei\r
+ MODULE_UNI_FILE = HashLibBaseCryptoRouterPei.uni\r
FILE_GUID = DDCBCFBA-8EEB-488a-96D6-097831A6E50B\r
MODULE_TYPE = PEIM\r
VERSION_STRING = 1.0\r
- LIBRARY_CLASS = HashLibBaseCrypto|PEIM\r
+ LIBRARY_CLASS = HashLib|PEIM\r
+ CONSTRUCTOR = HashLibBaseCryptoRouterPeiConstructor\r
\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF\r
+# VALID_ARCHITECTURES = IA32 X64\r
#\r
\r
[Sources]\r
[Packages]\r
MdePkg/MdePkg.dec\r
SecurityPkg/SecurityPkg.dec\r
+ MdeModulePkg/MdeModulePkg.dec\r
\r
[LibraryClasses]\r
BaseLib\r
PcdLib\r
HobLib\r
\r
+[Guids]\r
+ ## SOMETIMES_CONSUMES ## GUID\r
+ gZeroGuid\r
+\r
[Pcd]\r
- gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask\r
+ gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask ## CONSUMES\r
+ ## SOMETIMES_CONSUMES\r
+ ## SOMETIMES_PRODUCES\r
+ gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap\r
\r