Skip to content

Commit

Permalink
mbedtls: Deactivate ARIA block cipher by default
Browse files Browse the repository at this point in the history
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: openwrt/openwrt#17342
Signed-off-by: Hauke Mehrtens <[email protected]>
(cherry picked from commit 3c0ef48)
  • Loading branch information
hauke committed Jan 3, 2025
1 parent 993ade9 commit cf88764
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package/libs/mbedtls/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions package/libs/mbedtls/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit cf88764

Please sign in to comment.