[openwrt/openwrt] mbedtls: Deactivate ARIA block cipher by default
LEDE Commits
lede-commits at lists.infradead.org
Mon Dec 23 13:45:13 PST 2024
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/3c0ef48bc82cb11edd0b4fdbc4beaa3f95708967
commit 3c0ef48bc82cb11edd0b4fdbc4beaa3f95708967
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Dec 22 17:33:21 2024 +0100
mbedtls: Deactivate ARIA block cipher by default
The ARIA block cipher is pretty uncommon in TLS, deactivate it for now.
This saves some space and reduces the possible variations and attack
vectors of mbedtls.
ARIA support was deactivated in OpenWrt 23.05 by default.
Link: https://github.com/openwrt/openwrt/pull/17342
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/libs/mbedtls/Config.in | 4 ++++
package/libs/mbedtls/Makefile | 1 +
2 files changed, 5 insertions(+)
diff --git a/package/libs/mbedtls/Config.in b/package/libs/mbedtls/Config.in
index 51f8bcbbdd..0a760ed2cb 100644
--- a/package/libs/mbedtls/Config.in
+++ b/package/libs/mbedtls/Config.in
@@ -8,6 +8,10 @@ config MBEDTLS_AES_C
bool "MBEDTLS_AES_C"
default y
+config MBEDTLS_ARIA_C
+ bool "MBEDTLS_ARIA_C"
+ default n
+
config MBEDTLS_CAMELLIA_C
bool "MBEDTLS_CAMELLIA_C"
default n
diff --git a/package/libs/mbedtls/Makefile b/package/libs/mbedtls/Makefile
index 2efdf86cd2..f5bff13324 100644
--- a/package/libs/mbedtls/Makefile
+++ b/package/libs/mbedtls/Makefile
@@ -37,6 +37,7 @@ MBEDTLS_BUILD_OPTS_CURVES= \
MBEDTLS_BUILD_OPTS_CIPHERS= \
CONFIG_MBEDTLS_AES_C \
+ CONFIG_MBEDTLS_ARIA_C \
CONFIG_MBEDTLS_CAMELLIA_C \
CONFIG_MBEDTLS_CCM_C \
CONFIG_MBEDTLS_CMAC_C \
More information about the lede-commits
mailing list