Skip to content

Commit 608042f

Browse files
author
Krzysztof Stachowiak
committed
Remove non-default, memory-heavy tests from the benchmark application
1 parent 97321fb commit 608042f

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

benchmark/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,6 @@ MBED_NOINLINE static int benchmark_rsa()
903903
mbedtls_rsa_context *rsa;
904904
const char *rsa_keys[] = {
905905
RSA_PRIVATE_KEY_2048,
906-
RSA_PRIVATE_KEY_4096,
907906
};
908907
size_t i;
909908

benchmark/mbedtls_config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@
8989
#define MBEDTLS_RSA_C
9090
#endif
9191

92-
#if !defined(MBEDTLS_DHM_C)
93-
#define MBEDTLS_DHM_C
94-
#endif
95-
9692
#if !defined(MBEDTLS_ECDSA_C)
9793
#define MBEDTLS_ECDSA_C
9894
#endif

tests/benchmark.log

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@
3838
\s+HMAC_DRBG SHA-256 \(PR\)\s*:\s*\d+ KB/s
3939
\s+RSA-2048\s*:\s*\d+ ms/ public
4040
\s+RSA-2048\s*:\s*\d+ ms/private
41-
\s+RSA-4096\s*:\s*\d+ ms/ public
42-
\s+RSA-4096\s*:\s*\d+ ms/private
43-
\s+DHE-2048\s*:\s*\d+ ms/handshake
44-
\s+DH-2048\s*:\s*\d+ ms/handshake
45-
\s+DHE-3072\s*:\s*\d+ ms/handshake
46-
\s+DH-3072\s*:\s*\d+ ms/handshake
4741
\s+ECDSA-secp384r1\s*:\s*\d+ ms/sign
4842
\s+ECDSA-secp256r1\s*:\s*\d+ ms/sign
4943
\s+ECDSA-secp384r1\s*:\s*\d+ ms/verify

0 commit comments

Comments
 (0)