fix(mbedtls): Fix the increase in build size of mbedtls when upgrading to v3.x

This commit is contained in:
harshal.patil
2024-10-14 16:29:27 +05:30
parent dc45972144
commit db38b93c8d
4 changed files with 28 additions and 3 deletions

View File

@@ -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
*