summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/mbedtls
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-10-11 19:25:05 +1100
committerDamien George <damien@micropython.org>2022-10-22 19:12:46 +1100
commit68f166dae9ad6dfd94038d5f4394defbb44238af (patch)
treee845ac231c50b21ed2559fa08f9283f726165b76 /extmod/mbedtls
parente24159dec9588d83fc532aa6fcc2f418aae9df85 (diff)
downloadmicropython-68f166dae9ad6dfd94038d5f4394defbb44238af.tar.gz
micropython-68f166dae9ad6dfd94038d5f4394defbb44238af.zip
extmod/mbedtls: Remove brainpool curves from config.
They are much slower than NIST (SECP) curves and shouldn't be needed. Reduces rp2 PICO_W firmware by 1328 bytes. Thanks to @Carglglz for the information. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod/mbedtls')
-rw-r--r--extmod/mbedtls/mbedtls_config_common.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/extmod/mbedtls/mbedtls_config_common.h b/extmod/mbedtls/mbedtls_config_common.h
index 9ec2af8553..bfbc6f7ba2 100644
--- a/extmod/mbedtls/mbedtls_config_common.h
+++ b/extmod/mbedtls/mbedtls_config_common.h
@@ -42,9 +42,6 @@
#define MBEDTLS_ECP_DP_SECP192K1_ENABLED
#define MBEDTLS_ECP_DP_SECP224K1_ENABLED
#define MBEDTLS_ECP_DP_SECP256K1_ENABLED
-#define MBEDTLS_ECP_DP_BP256R1_ENABLED
-#define MBEDTLS_ECP_DP_BP384R1_ENABLED
-#define MBEDTLS_ECP_DP_BP512R1_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