diff options
author | Damien George <damien@micropython.org> | 2022-10-11 19:22:48 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-10-22 19:12:46 +1100 |
commit | e24159dec9588d83fc532aa6fcc2f418aae9df85 (patch) | |
tree | 6b20e0b1284a6a53116233cc6f671d3b66fe35c3 | |
parent | 8874a09119e74bb0edf73a63495b559d983767b7 (diff) | |
download | micropython-e24159dec9588d83fc532aa6fcc2f418aae9df85.tar.gz micropython-e24159dec9588d83fc532aa6fcc2f418aae9df85.zip |
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 <damien@micropython.org>
-rw-r--r-- | extmod/mbedtls/mbedtls_config_common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/extmod/mbedtls/mbedtls_config_common.h b/extmod/mbedtls/mbedtls_config_common.h index 252f293e03..9ec2af8553 100644 --- a/extmod/mbedtls/mbedtls_config_common.h +++ b/extmod/mbedtls/mbedtls_config_common.h @@ -45,7 +45,6 @@ #define MBEDTLS_ECP_DP_BP256R1_ENABLED #define MBEDTLS_ECP_DP_BP384R1_ENABLED #define MBEDTLS_ECP_DP_BP512R1_ENABLED -#define MBEDTLS_ECP_DP_CURVE25519_ENABLED #define MBEDTLS_KEY_EXCHANGE_RSA_ENABLED // #define MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED // enabling this currently breaks ssl_data.py test #define MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED |