fix(mbedtls/gcm): Allow enabling GCM fallback only if software GCM is available

This commit is contained in:
harshal.patil
2025-07-24 12:42:57 +05:30
parent 90d3d658bb
commit c8e4b69e7f

View File

@@ -486,7 +486,7 @@ menu "mbedTLS"
config MBEDTLS_GCM_SUPPORT_NON_AES_CIPHER config MBEDTLS_GCM_SUPPORT_NON_AES_CIPHER
bool "Enable support for non-AES ciphers in GCM operation" 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 default y
help help
Enable this config to support fallback to software definitions for a non-AES Enable this config to support fallback to software definitions for a non-AES