Skip to content

Commit 97dc9f8

Browse files
ksperling-applehauke
authored andcommitted
mbedtls: Expose MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED config option
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 <[email protected]> Link: openwrt/openwrt#19489 Signed-off-by: Hauke Mehrtens <[email protected]>
1 parent 0e4a69e commit 97dc9f8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

package/libs/mbedtls/Config.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ config MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED
8484
bool "MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED"
8585
default n
8686

87+
config MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED
88+
bool "MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED"
89+
default n
90+
8791
comment "Curves - unselect old or less-used curves to reduce binary size"
8892

8993
config MBEDTLS_ECP_DP_SECP192R1_ENABLED

package/libs/mbedtls/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ MBEDTLS_BUILD_OPTS_CIPHERS= \
5353
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED \
5454
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED \
5555
CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED \
56+
CONFIG_MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED \
5657
CONFIG_MBEDTLS_NIST_KW_C \
5758
CONFIG_MBEDTLS_RIPEMD160_C \
5859
CONFIG_MBEDTLS_RSA_NO_CRT \

0 commit comments

Comments
 (0)