]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg: introduce the SM3 digest algorithm
authorImran Desai <imran.desai@intel.com>
Tue, 2 Jul 2019 13:30:34 +0000 (21:30 +0800)
committerJian J Wang <jian.j.wang@intel.com>
Wed, 3 Jul 2019 08:31:54 +0000 (16:31 +0800)
commit06dd5863b66edd9908834371e07fb4e11383c172
treec82481ebe77a93101408761915c2ca927ea2ac0e
parent49c1e683c452f68c7315454280d81449f7d94d2b
SecurityPkg: introduce 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 add SM3 algorithm in the hashinstance library.

Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian Wang <jian.j.wang@intel.com>
Signed-off-by: Imran Desai <imran.desai@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Reviewed-by: jiewen.yao@intel.com
SecurityPkg/Include/Library/HashLib.h
SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.c [new file with mode: 0644]
SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf [new file with mode: 0644]
SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.uni [new file with mode: 0644]
SecurityPkg/SecurityPkg.dsc