]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Revert "SecurityPkg/HashLibBaseCryptoRouter: recognize the SM3 digest algorithm"
authorLaszlo Ersek <lersek@redhat.com>
Thu, 4 Jul 2019 09:17:45 +0000 (11:17 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Thu, 4 Jul 2019 15:50:46 +0000 (17:50 +0200)
This reverts commit 542d04e2a4fec0df0340d2ad7b59f011f20d03cc.

The reason is that said commit indirectly depends on commit 49c1e683c452
("MdePkg/Protocol/Hash: introduce GUID for SM3", 2019-07-03), and the
latter commit is going to be reverted, due to its review process not
having followed established edk2 norms.

Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Imran Desai <imran.desai@intel.com>
Cc: Jian Wang <jian.j.wang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1781
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterCommon.c

index aec874a9e07212fb847e45e6050fed9f4c95fa0b..7f3bdab53066e7667f9aeea07ef0d379b4942fee 100644 (file)
@@ -25,7 +25,6 @@ TPM2_HASH_MASK mTpm2HashMask[] = {
   {HASH_ALGORITHM_SHA256_GUID,       HASH_ALG_SHA256},\r
   {HASH_ALGORITHM_SHA384_GUID,       HASH_ALG_SHA384},\r
   {HASH_ALGORITHM_SHA512_GUID,       HASH_ALG_SHA512},\r
-  {HASH_ALGORITHM_SM3_256_GUID,      HASH_ALG_SM3_256},\r
 };\r
 \r
 /**\r