Add benchmark for RSA 3072.

Signed-off-by: Matthias Schulz <mschulz@hilscher.com>
This commit is contained in:
Matthias Schulz 2023-11-16 15:31:32 +01:00
parent 4122c16abd
commit aa7dffa24a

View file

@ -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);