Fix checking of negative with unsigned variables. Check digestSz for 0 in wc_SSH_KDF() so that no possibility of dividing by zero. Change XMEMCPY to XMEMSET in renesas_sce_util.c. Fix test.c to free prvTmp and pubTmp on read error. Remove unused variables. XFREE checks for NULL so don't check before call. Move variable declarations to reduce scope.
wolfSSL unit-test app
The test contains of wolfSSL unit-test app on Unity.
When you want to run the app
- Go to /esp-idf/tools/unit-test-app/ folder
idf.py menuconfigto configure unit test app.idf.py -T wolfssl buildto build wolfssl unit test app.
See [https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/unit-tests.html] for more information about unit test app.