Skip to content

Commit e24159d

Browse files
committed
extmod/mbedtls: Remove MBEDTLS_ECP_DP_CURVE25519_ENABLED config.
Curve25519 arithmetic is supported in mbedtls, but it's not used for TLS. So there's no need to have this option enabled. Reduces rp2 PICO_W firmware by 2440 bytes. Thanks to @Carglglz for the information. Signed-off-by: Damien George <[email protected]>
1 parent 8874a09 commit e24159d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

extmod/mbedtls/mbedtls_config_common.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
#define MBEDTLS_ECP_DP_BP256R1_ENABLED
4646
#define MBEDTLS_ECP_DP_BP384R1_ENABLED
4747
#define MBEDTLS_ECP_DP_BP512R1_ENABLED
48-
#define MBEDTLS_ECP_DP_CURVE25519_ENABLED
4948
#define MBEDTLS_KEY_EXCHANGE_RSA_ENABLED
5049
// #define MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED // enabling this currently breaks ssl_data.py test
5150
#define MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED

0 commit comments

Comments
 (0)