Because the change for strncpy, add the strncpy implementation for BaseCryptLibMbedTls.
Description
[ ] Breaking change?
Breaking change - Will this cause a break in build or boot behavior?
Examples: Add a new library class or move a module to a different repo.
[ ] Impacts security?
Security - Does the change have a direct security impact?
Examples: Crypto algorithm change or buffer overflow fix.
[ ] Includes tests?
Tests - Does the change include any explicit test code?
Examples: Unit tests or integration tests.
How This Was Tested
From PR: https://github.com/tianocore/edk2/pull/5734
strcpy fix was tested after it was found with OVMF + GDB while testing HTTPS boot. In this test case the first HTTPS boot always failed, with the fix of strcpy the boot is successful on the first try.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2817
Because the change for strncpy, add the strncpy implementation for BaseCryptLibMbedTls.
Description
How This Was Tested
From PR: https://github.com/tianocore/edk2/pull/5734 strcpy fix was tested after it was found with OVMF + GDB while testing HTTPS boot. In this test case the first HTTPS boot always failed, with the fix of strcpy the boot is successful on the first try.
Integration Instructions
NA