]> granicus.if.org Git - esp-idf/commit
mbedtls: Expose compile-time config, disable some things by default
authorAngus Gratton <angus@espressif.com>
Thu, 17 Aug 2017 07:15:04 +0000 (17:15 +1000)
committerAngus Gratton <gus@projectgus.com>
Fri, 18 Aug 2017 07:15:08 +0000 (17:15 +1000)
commitc0f65f668077b4279e90c751fc777ddc19808e8e
treee1bd6e8974249c9cd994d368280311fa5c512562
parentbfb15c6fc9df1d033645e08a237cb418737b2265
mbedtls: Expose compile-time config, disable some things by default

* Disables 3DES, Camellia, Blowfish, RC4, RIPEMD160, SSLv3, TLS-PSK modes, DTLS by default
* Saves about 40KB from the default TLS client code size
* Defaults no longer get "Bad" howsmyssl.com rating (no more vulnerable 3DES)
  (ping https://github.com/espressif/arduino-esp32/issues/575 )
* Allows up to another 20-30KB code size to be trimmed without security
  implications if using DER formatted certificates, RSA ciphersuites only,
  etc.
* Can save up to another 8KB by setting the TLS Role to Server or Client only.
components/mbedtls/Kconfig
components/mbedtls/port/include/mbedtls/esp_config.h