Skip to content

Commit 6ea769a

Browse files
authored
Add NIST curves optimizations to shared mbedtls config
1 parent b6ac07f commit 6ea769a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pico_w/wifi/mbedtls_config_examples_common.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,7 @@
6868
#define MBEDTLS_PEM_PARSE_C
6969
#define MBEDTLS_BASE64_C
7070

71-
#endif
71+
// The following significantly speeds up mbedtls due to NIST optimizations.
72+
#define MBEDTLS_ECP_NIST_OPTIM
73+
74+
#endif

0 commit comments

Comments
 (0)