From c8e4b69e7f2485aac0eda659c0b9adce5c0cc0c2 Mon Sep 17 00:00:00 2001 From: "harshal.patil" Date: Thu, 24 Jul 2025 12:42:57 +0530 Subject: [PATCH] fix(mbedtls/gcm): Allow enabling GCM fallback only if software GCM is available --- components/mbedtls/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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