]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mbedtls: Expose MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED config option 19489/head
authorKarsten Sperling <ksperling@apple.com>
Mon, 21 Jul 2025 04:25:03 +0000 (16:25 +1200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 27 Jul 2025 15:59:34 +0000 (17:59 +0200)
This enables software that requires this cipher suite (e.g. OpenThread Border
Router) to be compiled against the shared library rather than a separate copy.

Signed-off-by: Karsten Sperling <ksperling@apple.com>
Link: https://github.com/openwrt/openwrt/pull/19489
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/libs/mbedtls/Config.in
package/libs/mbedtls/Makefile

index 0a760ed2cb80d6876798f2042967bcf42487b567..2009d5db96f3c888972d05046a8f24c790ac53ac 100644 (file)
@@ -84,6 +84,10 @@ config MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED
        bool "MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED"
        default n
 
+config MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED
+       bool "MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED"
+       default n
+
 comment "Curves - unselect old or less-used curves to reduce binary size"
 
 config MBEDTLS_ECP_DP_SECP192R1_ENABLED
index 1533cff519e42947c3e55ff5745c69e3167b073f..6fd6a1ba6bd70b26980875cba41409918cc9f7e4 100644 (file)
@@ -53,6 +53,7 @@ MBEDTLS_BUILD_OPTS_CIPHERS= \
   CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED \
   CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED \
   CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED \
+  CONFIG_MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED \
   CONFIG_MBEDTLS_NIST_KW_C \
   CONFIG_MBEDTLS_RIPEMD160_C \
   CONFIG_MBEDTLS_RSA_NO_CRT \