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:
@@ -31,7 +31,7 @@
|
||||
Hash/CryptSha1.c
|
||||
Hash/CryptSha256.c
|
||||
Hash/CryptSha512.c
|
||||
Hash/CryptSm3Null.c
|
||||
Hash/CryptSm3.c
|
||||
Hash/CryptParallelHashNull.c
|
||||
Hmac/CryptHmac.c
|
||||
Kdf/CryptHkdf.c
|
||||
@@ -56,6 +56,7 @@
|
||||
Pk/CryptEcNull.c
|
||||
Rand/CryptRand.c
|
||||
SysCall/CrtWrapper.c
|
||||
SysCall/UnitTestHostCrtWrapper.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
@@ -68,6 +69,7 @@
|
||||
UefiRuntimeServicesTableLib
|
||||
DebugLib
|
||||
MbedTlsLib
|
||||
OpensslLib
|
||||
PrintLib
|
||||
RngLib
|
||||
|
||||
|
Reference in New Issue
Block a user