Merge branch 'feat/mbedtls_size_optimization_v5.3' into 'release/v5.3'

Fix the increase in build size of mbedtls while upgrading to v3.x (v5.3)

See merge request espressif/esp-idf!34252
This commit is contained in:
Mahavir Jain
2024-10-28 11:16:23 +08:00
4 changed files with 28 additions and 3 deletions
@@ -2531,6 +2531,21 @@
#undef MBEDTLS_SHA512_C
#endif
/**
* \def MBEDTLS_SHA3_C
*
* Enable the SHA3 cryptographic hash algorithm.
*
* Module: library/sha3.c
*
* This module adds support for SHA3.
*/
#ifdef CONFIG_MBEDTLS_SHA3_C
#define MBEDTLS_SHA3_C
#else
#undef MBEDTLS_SHA3_C
#endif
/**
* \def MBEDTLS_SSL_CACHE_C
*