diff --git a/include/mbedtls/mbedtls_config.h b/include/mbedtls/mbedtls_config.h index 930b6a57bf0c37b84ecfcba8c5c70d8b4db11c05..cc6d762f1dac232b9f830696fd683bfdce33f5ab 100644 --- a/include/mbedtls/mbedtls_config.h +++ b/include/mbedtls/mbedtls_config.h @@ -2446,7 +2446,7 @@ * \warning DES/3DES are considered weak ciphers and their use constitutes a * security risk. We recommend considering stronger ciphers instead. */ -//#define MBEDTLS_DES_C +#define MBEDTLS_DES_C /** * \def MBEDTLS_DHM_C diff --git a/port/config/config_liteos_a.h b/port/config/config_liteos_a.h index 520b359aa7d2497041942191618559ea0760eeac..34d004ec918e1e53b97a892fef5ba549066d69b2 100755 --- a/port/config/config_liteos_a.h +++ b/port/config/config_liteos_a.h @@ -2208,7 +2208,7 @@ * \warning DES is considered a weak cipher and its use constitutes a * security risk. We recommend considering stronger ciphers instead. */ -//#define MBEDTLS_DES_C +#define MBEDTLS_DES_C /** * \def MBEDTLS_DHM_C diff --git a/port/config/config_liteos_m.h b/port/config/config_liteos_m.h index d01905f7fe25da30cec0adfecf8a26619296db2c..2a905c671f5a034969d60f96d3e9fb818c0c3bbc 100755 --- a/port/config/config_liteos_m.h +++ b/port/config/config_liteos_m.h @@ -2207,7 +2207,7 @@ * \warning DES is considered a weak cipher and its use constitutes a * security risk. We recommend considering stronger ciphers instead. */ -//#define MBEDTLS_DES_C +#define MBEDTLS_DES_C /** * \def MBEDTLS_DHM_C