From 6e527fb7630dc458448825bbc382d1c8a6c1d509 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Thu, 23 Jan 2020 18:14:10 +0100 Subject: [PATCH] mbedtls: temporary disable HW crypto for ESP32S2 To be re-enabled once HW crypto accelerators support is merged: IDF-714, IDF-716, IDF-803. --- components/mbedtls/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/mbedtls/Kconfig b/components/mbedtls/Kconfig index 646b1d3b8b..039afbc437 100644 --- a/components/mbedtls/Kconfig +++ b/components/mbedtls/Kconfig @@ -132,6 +132,7 @@ menu "mbedTLS" config MBEDTLS_HARDWARE_AES bool "Enable hardware AES acceleration" default y + depends on !IDF_TARGET_ESP32S2 help Enable hardware accelerated AES encryption & decryption. @@ -141,6 +142,7 @@ menu "mbedTLS" config MBEDTLS_HARDWARE_MPI bool "Enable hardware MPI (bignum) acceleration" default y + depends on !IDF_TARGET_ESP32S2 help Enable hardware accelerated multiple precision integer operations. @@ -152,6 +154,7 @@ menu "mbedTLS" config MBEDTLS_HARDWARE_SHA bool "Enable hardware SHA acceleration" default y + depends on !IDF_TARGET_ESP32S2 help Enable hardware accelerated SHA1, SHA256, SHA384 & SHA512 in mbedTLS.