]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.c
MdePkg: introduce standalone MM entry point library implementation
[mirror_edk2.git] / SecurityPkg / Library / HashLibBaseCryptoRouter / HashLibBaseCryptoRouterPei.c
index 361a4f6508a0e32f9660f3ef06458a89440c6532..b9868e6b9d02a20b309ab4f7fa5b553d85266317 100644 (file)
@@ -3,7 +3,7 @@
   hash handler registerd, such as SHA1, SHA256.\r
   Platform can use PcdTpm2HashMask to mask some hash engines.\r
 \r
-Copyright (c) 2013 - 2017, Intel Corporation. All rights reserved. <BR>\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
@@ -374,7 +374,7 @@ RegisterHashInterfaceLib (
 \r
   CopyMem (&HashInterfaceHob->HashInterface[HashInterfaceHob->HashInterfaceCount], HashInterface, sizeof(*HashInterface));\r
   HashInterfaceHob->HashInterfaceCount ++;\r
-  \r
+\r
   return EFI_SUCCESS;\r
 }\r
 \r
@@ -426,6 +426,7 @@ HashLibBaseCryptoRouterPeiConstructor (
     //\r
     ZeroMem (&HashInterfaceHob->HashInterface, sizeof (HashInterfaceHob->HashInterface));\r
     HashInterfaceHob->HashInterfaceCount = 0;\r
+    HashInterfaceHob->SupportedHashMask = 0;\r
   }\r
 \r
   //\r