summaryrefslogtreecommitdiff
path: root/CryptoPkg/Library/BaseCryptLibMbedTls/SysCall
AgeCommit message (Collapse)AuthorFilesLines
2026-08-28CryptoPkg: Merge CryptoPkgMbedTls into CryptoPkg DSC fileLonghaox Lee1-4/+5
Merge CryptoPkgMbedTls into CryptoPkg DSC. Null instances for SlhDsa, MlDsa, EdDsa since mbebtls not support. Fixing build error for mbedtls BaseCryptLib. Signed-off-by: Longhaox Lee <longhaox.lee@intel.com>
2025-11-24CryptoPkg: EDK2 code update for Mbedtls 3.6.5.Longhaox Lee3-0/+58
1. mbedtls_config.h header sync with 3.6.5 . 2. Implement mbedtls_ms_time() Get time in milliseconds. 3. Covert some CRT library to EDK Implement and CRT defined. 4. Added and remove file to sync. REF: https://github.com/tianocore/edk2/issues/11605 Signed-off-by: Longhaox Lee <longhaox.lee@intel.com>
2025-08-05CryptoPkg/BaseCryptLibMbedTls : Add strpbrk() support to MbedTlsHemaAnmisha1-0/+20
Mbedtls requires the use of strpbrk(), but it is currently included in BaseCryptLib, which is not part of BaseCryptLibMbedTls. To resolve this, add strpbrk() to CrtWrapper.c, as BaseCryptLibMbedTls is not dependent on OpensslLib. Signed-off-by: HemaAnmisha <hema.anmisha.kalavakolanu@intel.com>
2025-03-03CryptoPkg: Add sleep function to BaseCryptLibMbedTls TimerwrapperHema Anmisha1-0/+9
Add sleep() function to BaseCryptLibMbedTls library in Timerwrapper.c Encountering an unresolved external symbol error for sleep while using the BaseCryptLibMbedTls library in RuntimeDxe Signed-off-by: Hema Anmisha <hema.anmisha.kalavakolanu@intel.com>
2025-01-11CryptoPkg/BaseCryptLibMbedTls : Add strncpy() support to SecCryptLibAmy Chan2-20/+20
Mbedtls requires the use of strncpy(), but it is currently included in DummyOpensslSupport.c, which is not part of Mbedtls SecCryptLib. To resolve this, move strncpy() to CrtWrapper.c, as Mbedtls SecCryptLib not depend on OpensslLib Signed-off-by: Amy Chan <amy.chan@intel.com>
2025-01-02CryptoPkg: Add sleep() function to BaseCryptLibMbedTlsKalavakolanu, Hema Anmisha1-0/+9
In BaseCryptLib sleep() function is defined, apply the same sleep function to BaseCryptLibMbedTls Signed-off-by: "Kalavakolanu, Hema Anmisha" <hema.anmisha.kalavakolanu@intel.com>
2024-11-25CryptoPkg: Apply gettimeofday() solution to BaseCryptLibMbedTlsAmy Chan2-38/+28
BaseCryptLib turn gettimeofday() from a Macro into a function call, apply the same change to BaseCryptLibMbedTls Signed-off-by: Amy Chan <amy.chan@intel.com>
2024-06-17CryptoPkg: Fix strncpy for BaseCryptLibMbedTlsWenxing Hou1-3/+22
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2817 Because the change for strncpy, add the strncpy implementation. Signed-off-by: Wenxing Hou <wenxing.hou@intel.com>
2024-05-27Add SM3 functions with openssl for MbedtlsWenxing Hou3-0/+756
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>
2023-10-12CryptoPkg: Add all .inf files for BaseCryptLibMbedTlsWenxing Hou4-0/+793
Add .inf files and other support files. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4177 Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Yi Li <yi1.li@intel.com> Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Signed-off-by: Wenxing Hou <wenxing.hou@intel.com> Reviewed-by: Yi Li <yi1.li@intel.com>