[edk2-devel] [PATCH V2 4/7] MdePkg/dec: Remove the MD5 GUID

Gao, Zhichao zhichao.gao at intel.com
Tue Oct 27 02:42:57 UTC 2020


REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3027

The gEfiHashAlgorithmMD5Guid is added for the
Hash2DxeCrypto driver. Remove it as it is not
supported.

Cc: Michael D Kinney <michael.d.kinney at intel.com>
Cc: Liming Gao <gaoliming at byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu at intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao at intel.com>
---
 MdePkg/Include/Protocol/Hash.h | 8 +-------
 MdePkg/MdePkg.dec              | 3 ---
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/MdePkg/Include/Protocol/Hash.h b/MdePkg/Include/Protocol/Hash.h
index 931d7916ef..c1c77c698c 100644
--- a/MdePkg/Include/Protocol/Hash.h
+++ b/MdePkg/Include/Protocol/Hash.h
@@ -5,7 +5,7 @@
   provided by a driver and to create and destroy instances of the EFI Hash Protocol
   so that a multiple drivers can use the underlying hashing services.
 
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>
 SPDX-License-Identifier: BSD-2-Clause-Patent
 
 **/
@@ -48,11 +48,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
     0xcaa4381e, 0x750c, 0x4770, {0xb8, 0x70, 0x7a, 0x23, 0xb4, 0xe4, 0x21, 0x30 } \
   }
 
-#define EFI_HASH_ALGORTIHM_MD5_GUID \
-  { \
-    0xaf7c79c, 0x65b5, 0x4319, {0xb0, 0xae, 0x44, 0xec, 0x48, 0x4e, 0x4a, 0xd7 } \
-  }
-
 #define EFI_HASH_ALGORITHM_SHA1_NOPAD_GUID \
   { \
     0x24c5dc2f, 0x53e2, 0x40ca, {0x9e, 0xd6, 0xa5, 0xd9, 0xa4, 0x9f, 0x46, 0x3b } \
@@ -162,7 +157,6 @@ extern EFI_GUID gEfiHashAlgorithmSha224Guid;
 extern EFI_GUID gEfiHashAlgorithmSha256Guid;
 extern EFI_GUID gEfiHashAlgorithmSha384Guid;
 extern EFI_GUID gEfiHashAlgorithmSha512Guid;
-extern EFI_GUID gEfiHashAlgorithmMD5Guid;
 extern EFI_GUID gEfiHashAlgorithmSha1NoPadGuid;
 extern EFI_GUID gEfiHashAlgorithmSha256NoPadGuid;
 
diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec
index 812be75fb3..f42eab54cd 100644
--- a/MdePkg/MdePkg.dec
+++ b/MdePkg/MdePkg.dec
@@ -361,9 +361,6 @@
   ## Include/Guid/HiiKeyBoardLayout.h
   gEfiHiiKeyBoardLayoutGuid      = { 0x14982a4f, 0xb0ed, 0x45b8, { 0xa8, 0x11, 0x5a, 0x7a, 0x9b, 0xc2, 0x32, 0xdf }}
 
-  ## Include/Protocol/Hash.h
-  gEfiHashAlgorithmMD5Guid       = { 0x0AF7C79C, 0x65B5, 0x4319, { 0xB0, 0xAE, 0x44, 0xEC, 0x48, 0x4E, 0x4A, 0xD7 }}
-
   ## Include/Protocol/Hash.h
   gEfiHashAlgorithmSha512Guid    = { 0xCAA4381E, 0x750C, 0x4770, { 0xB8, 0x70, 0x7A, 0x23, 0xB4, 0xE4, 0x21, 0x30 }}
 
-- 
2.21.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#66623): https://edk2.groups.io/g/devel/message/66623
Mute This Topic: https://groups.io/mt/77831678/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list