diff --git a/components/mbedtls/Kconfig b/components/mbedtls/Kconfig index eaaa0df986..366b06fdf8 100644 --- a/components/mbedtls/Kconfig +++ b/components/mbedtls/Kconfig @@ -486,7 +486,7 @@ menu "mbedTLS" config MBEDTLS_GCM_SUPPORT_NON_AES_CIPHER bool "Enable support for non-AES ciphers in GCM operation" - depends on MBEDTLS_HARDWARE_AES + depends on MBEDTLS_HARDWARE_AES && MBEDTLS_GCM_C default y help Enable this config to support fallback to software definitions for a non-AES