fix: improves some RSA key performances.

This fixes watchdog reset on ESP32 in certain WiFi tests.
This commit is contained in:
Ashish Sharma
2025-12-19 07:29:08 +08:00
parent 7684c3f86e
commit 37f665ae8c
4 changed files with 8 additions and 3 deletions
@@ -7,5 +7,5 @@ idf_component_register(SRCS ${SRCS}
INCLUDE_DIRS "."
PRIV_REQUIRES unity
PRIV_INCLUDE_DIRS ${priv_includes}
REQUIRES mbedtls espcoredump
REQUIRES espcoredump
WHOLE_ARCHIVE)
@@ -85,8 +85,13 @@ TEST_CASE("espcoredump SHA256 checksum API", "[espcoredump]")
};
// Verify size and version
#if CONFIG_ESP_COREDUMP_CHECKSUM_SHA256
TEST_ASSERT_EQUAL(SHA256_RESULT_LEN, esp_core_dump_checksum_size());
#endif // CONFIG_ESP_COREDUMP_CHECKSUM_SHA256
#if CONFIG_ESP_COREDUMP_DATA_FORMAT_ELF
TEST_ASSERT_EQUAL(COREDUMP_VERSION_ELF_SHA256, esp_core_dump_elf_version());
#endif // CONFIG_ESP_COREDUMP_DATA_FORMAT_ELF
// Test both single update and multiple updates with the same input
checksum_ctx_t sha_ctx1, sha_ctx2;
@@ -1,2 +1 @@
CONFIG_ESP_COREDUMP_ENABLE_TO_UART=y
CONFIG_ESP_COREDUMP_ENABLE_TO_UART=y