diff options
author | Gao, Zhichao <zhichao.gao@intel.com> | 2020-11-12 13:55:46 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-11-17 19:26:50 +0000 |
commit | 0a1b6d0be337ebbbbbd3e11a6b438f5e4acd084d (patch) | |
tree | 572204c692e8f631d63ff3c37dbac6d8a8f38da8 /SecurityPkg | |
parent | 29d59baa3907277782e9f26ecaa99704ff57e3f1 (diff) | |
download | edk2-0a1b6d0be337ebbbbbd3e11a6b438f5e4acd084d.tar.gz edk2-0a1b6d0be337ebbbbbd3e11a6b438f5e4acd084d.tar.bz2 edk2-0a1b6d0be337ebbbbbd3e11a6b438f5e4acd084d.zip |
SecurityPkg/Hash2DxeCrypto: Remove MD5 support
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>
Diffstat (limited to 'SecurityPkg')
-rw-r--r-- | SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c | 1 | ||||
-rw-r--r-- | SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c index d96bc136e2..50a6157bd9 100644 --- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c +++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c @@ -120,7 +120,6 @@ typedef struct { } EFI_HASH_INFO;
EFI_HASH_INFO mHashInfo[] = {
- {&gEfiHashAlgorithmMD5Guid, sizeof(EFI_MD5_HASH2), Md5GetContextSize, Md5Init, Md5Update, Md5Final },
{&gEfiHashAlgorithmSha1Guid, sizeof(EFI_SHA1_HASH2), Sha1GetContextSize, Sha1Init, Sha1Update, Sha1Final },
{&gEfiHashAlgorithmSha256Guid, sizeof(EFI_SHA256_HASH2), Sha256GetContextSize, Sha256Init, Sha256Update, Sha256Final },
{&gEfiHashAlgorithmSha384Guid, sizeof(EFI_SHA384_HASH2), Sha384GetContextSize, Sha384Init, Sha384Update, Sha384Final },
diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf index a0b57f0514..a65943056a 100644 --- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf +++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf @@ -4,7 +4,7 @@ # This module will use EDKII crypto library to HASH2 protocol.
#
# (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
-# Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
@@ -44,7 +44,6 @@ UefiLib
[Guids]
- gEfiHashAlgorithmMD5Guid ## CONSUMES ## GUID
gEfiHashAlgorithmSha1Guid ## CONSUMES ## GUID
gEfiHashAlgorithmSha256Guid ## CONSUMES ## GUID
gEfiHashAlgorithmSha384Guid ## CONSUMES ## GUID
|