]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg/HashLibBaseCryptoRouter: recognize the SM3 digest algorithm
authorImran Desai <imran.desai@intel.com>
Wed, 29 May 2019 04:40:47 +0000 (04:40 +0000)
committerJian J Wang <jian.j.wang@intel.com>
Wed, 3 Jul 2019 08:31:55 +0000 (16:31 +0800)
commit542d04e2a4fec0df0340d2ad7b59f011f20d03cc
tree2646ec9266a33c32c97d24a39e5b3d014872ffd7
parent06dd5863b66edd9908834371e07fb4e11383c172
SecurityPkg/HashLibBaseCryptoRouter: recognize the SM3 digest algorithm

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1781

EDK2 Support for SM3 digest algorithm is needed to enable TPM with SM3 PCR
banks. This digest algorithm is part of the China Crypto algorithm suite.
This integration has dependency on the openssl_1_1_1b integration into
edk2.
This patch adds SM3 as an available digest algorithm to crypto router.

Signed-off-by: Imran Desai <imran.desai@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian Wang <jian.j.wang@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: jiewen.yao@intel.com
SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterCommon.c