SecurityPkg/Hash2DxeCrypto: Remove SHA1 support

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

Remove the deprecated SHA1 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-3-zhichao.gao@intel.com>
This commit is contained in:
Gao, Zhichao 2020-11-12 13:55:47 +08:00 committed by mergify[bot]
parent 0a1b6d0be3
commit fedd32d82f
2 changed files with 0 additions and 2 deletions

View File

@ -120,7 +120,6 @@ typedef struct {
} EFI_HASH_INFO; } EFI_HASH_INFO;
EFI_HASH_INFO mHashInfo[] = { EFI_HASH_INFO mHashInfo[] = {
{&gEfiHashAlgorithmSha1Guid, sizeof(EFI_SHA1_HASH2), Sha1GetContextSize, Sha1Init, Sha1Update, Sha1Final },
{&gEfiHashAlgorithmSha256Guid, sizeof(EFI_SHA256_HASH2), Sha256GetContextSize, Sha256Init, Sha256Update, Sha256Final }, {&gEfiHashAlgorithmSha256Guid, sizeof(EFI_SHA256_HASH2), Sha256GetContextSize, Sha256Init, Sha256Update, Sha256Final },
{&gEfiHashAlgorithmSha384Guid, sizeof(EFI_SHA384_HASH2), Sha384GetContextSize, Sha384Init, Sha384Update, Sha384Final }, {&gEfiHashAlgorithmSha384Guid, sizeof(EFI_SHA384_HASH2), Sha384GetContextSize, Sha384Init, Sha384Update, Sha384Final },
{&gEfiHashAlgorithmSha512Guid, sizeof(EFI_SHA512_HASH2), Sha512GetContextSize, Sha512Init, Sha512Update, Sha512Final }, {&gEfiHashAlgorithmSha512Guid, sizeof(EFI_SHA512_HASH2), Sha512GetContextSize, Sha512Init, Sha512Update, Sha512Final },

View File

@ -44,7 +44,6 @@
UefiLib UefiLib
[Guids] [Guids]
gEfiHashAlgorithmSha1Guid ## CONSUMES ## GUID
gEfiHashAlgorithmSha256Guid ## CONSUMES ## GUID gEfiHashAlgorithmSha256Guid ## CONSUMES ## GUID
gEfiHashAlgorithmSha384Guid ## CONSUMES ## GUID gEfiHashAlgorithmSha384Guid ## CONSUMES ## GUID
gEfiHashAlgorithmSha512Guid ## CONSUMES ## GUID gEfiHashAlgorithmSha512Guid ## CONSUMES ## GUID