mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-18 15:47:13 +00:00
fix(mbedtls): Fix the increase in build size of mbedtls when upgrading to v3.x
This commit is contained in:
@@ -2521,6 +2521,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
|
||||
*
|
||||
|
Reference in New Issue
Block a user