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

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

See merge request espressif/esp-idf!34253
This commit is contained in:
Mahavir Jain
2024-10-28 11:17:10 +08:00
4 changed files with 28 additions and 3 deletions

View File

@@ -2527,6 +2527,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
*