Add SM3 functions with openssl for Mbedtls
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4177 Because the Mbedlts 3.3.0 doesn't have Sm3, the Sm3 implementaion is based on Openssl. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Yi Li <yi1.li@intel.com> Signed-off-by: Wenxing Hou <wenxing.hou@intel.com> Reviewed-by: Yi Li <yi1.li@intel.com> Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
This commit is contained in:
@@ -38,9 +38,9 @@
|
||||
Hash/CryptMd5.c
|
||||
Hash/CryptSha1.c
|
||||
Hash/CryptSha256.c
|
||||
Hash/CryptSm3Null.c
|
||||
Hash/CryptSha512.c
|
||||
Hash/CryptParallelHashNull.c
|
||||
Hash/CryptSm3.c
|
||||
Hmac/CryptHmac.c
|
||||
Kdf/CryptHkdf.c
|
||||
Cipher/CryptAes.c
|
||||
@@ -65,6 +65,8 @@
|
||||
Bn/CryptBnNull.c
|
||||
|
||||
SysCall/CrtWrapper.c
|
||||
SysCall/DummyOpensslSupport.c
|
||||
SysCall/BaseMemAllocation.c
|
||||
SysCall/ConstantTimeClock.c
|
||||
|
||||
[Packages]
|
||||
@@ -77,6 +79,7 @@
|
||||
MemoryAllocationLib
|
||||
DebugLib
|
||||
MbedTlsLib
|
||||
OpensslLib
|
||||
IntrinsicLib
|
||||
PrintLib
|
||||
PeiServicesTablePointerLib
|
||||
|
Reference in New Issue
Block a user