File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 141
141
" rmpXSt07GAxnG6j9jssA95E4rc1zO0CVKG5bvjVTxwi/sT0/VVX7VsJM4uTAQg==\r\n " \
142
142
" -----END RSA PRIVATE KEY-----\r\n "
143
143
144
+ /*
145
+ * Uncomment this line to enable ECDSA benchmark.
146
+ */
147
+ // #define ENABLE_ECDSA
148
+
144
149
/*
145
150
* For heap usage estimates, we need an estimate of the overhead per allocated
146
151
* block. ptmalloc2/3 (used in gnu libc for instance) uses 2 size_t per block,
@@ -728,7 +733,7 @@ static int benchmark( int argc, char *argv[] )
728
733
}
729
734
#endif
730
735
731
- #if defined(MBEDTLS_ECDSA_C) && defined(MBEDTLS_SHA256_C)
736
+ #if defined(MBEDTLS_ECDSA_C) && defined(MBEDTLS_SHA256_C) && defined(ENABLE_ECDSA)
732
737
if ( todo.ecdsa )
733
738
{
734
739
mbedtls_ecdsa_context ecdsa;
Original file line number Diff line number Diff line change 1
1
{
2
- "macros" : [" MBEDTLS_USER_CONFIG_FILE=\" mbedtls_entropy_config.h\" " ]
2
+ "macros" : [" MBEDTLS_USER_CONFIG_FILE=\" mbedtls_entropy_config.h\" " , " OS_MAINSTKSIZE=2048 " ]
3
3
}
You can’t perform that action at this time.
0 commit comments