From aa7dffa24ad6af57e4a19a6357034c8b83bd41eb Mon Sep 17 00:00:00 2001 From: Matthias Schulz Date: Thu, 16 Nov 2023 15:31:32 +0100 Subject: [PATCH] Add benchmark for RSA 3072. Signed-off-by: Matthias Schulz --- programs/test/benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/test/benchmark.c b/programs/test/benchmark.c index 3d751d026..e8d3e53dc 100644 --- a/programs/test/benchmark.c +++ b/programs/test/benchmark.c @@ -1011,7 +1011,7 @@ int main(int argc, char *argv[]) int keysize; mbedtls_rsa_context rsa; - for (keysize = 2048; keysize <= 4096; keysize *= 2) { + for (keysize = 2048; keysize <= 4096; keysize += 1024) { mbedtls_snprintf(title, sizeof(title), "RSA-%d", keysize); mbedtls_rsa_init(&rsa);