]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SecurityPkg/Hash2DxeCrypto: Remove MD5 support
authorGao, Zhichao <zhichao.gao@intel.com>
Thu, 12 Nov 2020 05:55:46 +0000 (13:55 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 17 Nov 2020 19:26:50 +0000 (19:26 +0000)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3027

Remove the deprecated MD5 support of Hash2DxeCrypto
driver.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Message-Id: <20201112055558.2348-2-zhichao.gao@intel.com>

SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c
SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf

index d96bc136e2a414d8c562c4974ba190b622186800..50a6157bd9e65ee94b341d4fd3b8abe69033ae49 100644 (file)
@@ -120,7 +120,6 @@ typedef struct {
 } EFI_HASH_INFO;\r
 \r
 EFI_HASH_INFO  mHashInfo[] = {\r
-  {&gEfiHashAlgorithmMD5Guid,     sizeof(EFI_MD5_HASH2),    Md5GetContextSize,    Md5Init,    Md5Update,    Md5Final  },\r
   {&gEfiHashAlgorithmSha1Guid,    sizeof(EFI_SHA1_HASH2),   Sha1GetContextSize,   Sha1Init,   Sha1Update,   Sha1Final   },\r
   {&gEfiHashAlgorithmSha256Guid,  sizeof(EFI_SHA256_HASH2), Sha256GetContextSize, Sha256Init, Sha256Update, Sha256Final },\r
   {&gEfiHashAlgorithmSha384Guid,  sizeof(EFI_SHA384_HASH2), Sha384GetContextSize, Sha384Init, Sha384Update, Sha384Final },\r
index a0b57f051455fb8be8745a3cc90120784ccce91b..a65943056a110f9da71db0b5d0b8a62c3b07aa14 100644 (file)
@@ -4,7 +4,7 @@
 #  This module will use EDKII crypto library to HASH2 protocol.\r
 #\r
 #  (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>\r
-#  Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.<BR>\r
 #  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 ##\r
@@ -44,7 +44,6 @@
   UefiLib\r
 \r
 [Guids]\r
-  gEfiHashAlgorithmMD5Guid              ## CONSUMES               ## GUID\r
   gEfiHashAlgorithmSha1Guid             ## CONSUMES               ## GUID\r
   gEfiHashAlgorithmSha256Guid           ## CONSUMES               ## GUID\r
   gEfiHashAlgorithmSha384Guid           ## CONSUMES               ## GUID\r