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:
@@ -37,9 +37,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,7 @@
|
||||
|
||||
SysCall/CrtWrapper.c
|
||||
SysCall/TimerWrapper.c
|
||||
SysCall/DummyOpensslSupport.c
|
||||
SysCall/RuntimeMemAllocation.c
|
||||
|
||||
[Packages]
|
||||
@@ -77,6 +78,7 @@
|
||||
UefiRuntimeServicesTableLib
|
||||
DebugLib
|
||||
MbedTlsLib
|
||||
OpensslLib
|
||||
IntrinsicLib
|
||||
PrintLib
|
||||
RngLib
|
||||
|
Reference in New Issue
Block a user