8000 extmod/mbedtls: Remove brainpool curves from config. · micropython/micropython@f749c8b · GitHub
[go: up one dir, main page]

Skip to content

Commit f749c8b

Browse files
committed
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>
1 parent 461f153 commit f749c8b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

extmod/mbedtls/mbedtls_config_common.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@
4242
#define MBEDTLS_ECP_DP_SECP192K1_ENABLED
4343
#define MBEDTLS_ECP_DP_SECP224K1_ENABLED
4444
#define MBEDTLS_ECP_DP_SECP256K1_ENABLED
45-
#define MBEDTLS_ECP_DP_BP256R1_ENABLED
46-
#define MBEDTLS_ECP_DP_BP384R1_ENABLED
47-
#define MBEDTLS_ECP_DP_BP512R1_ENABLED
4845
#define MBEDTLS_KEY_EXCHANGE_RSA_ENABLED
4946
// #define MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED breaks ssl_data.py test
5047
#define MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED

0 commit comments

Comments
 (0)
0