Skip to content

Commit

Permalink
wpa_supplicant: remove RC4 and 3DES ciphers for TLS
Browse files Browse the repository at this point in the history
MbedTLS-3.x has dropped support for 3DES and RC4 TLS cipher
suites. Removing them from supplicant as well

Closes #9607
  • Loading branch information
kapilkedawat committed Aug 23, 2022
1 parent 5573d13 commit 964f0ad
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions components/wpa_supplicant/esp_supplicant/src/crypto/tls_mbedtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,23 +390,6 @@ static const int eap_ciphersuite_preference[] =
#if defined(MBEDTLS_CCM_C)
MBEDTLS_TLS_PSK_WITH_AES_128_CCM_8,
#endif
#endif

#if defined(MBEDTLS_DES_C)
/* 3DES suites */
MBEDTLS_TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA,
MBEDTLS_TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA,
MBEDTLS_TLS_RSA_WITH_3DES_EDE_CBC_SHA,
MBEDTLS_TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA,
MBEDTLS_TLS_PSK_WITH_3DES_EDE_CBC_SHA,
#endif
#if defined(MBEDTLS_ARC4_C)
/* RC4 suites */
MBEDTLS_TLS_DHE_PSK_WITH_RC4_128_SHA,
MBEDTLS_TLS_RSA_WITH_RC4_128_SHA,
MBEDTLS_TLS_RSA_WITH_RC4_128_MD5,
MBEDTLS_TLS_RSA_PSK_WITH_RC4_128_SHA,
MBEDTLS_TLS_PSK_WITH_RC4_128_SHA,
#endif
0
};
Expand Down

0 comments on commit 964f0ad

Please sign in to comment.