mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-29 12:32:48 +00:00
Merge pull request #8511 from mschulz-at-hilscher/feature/rsa3072-benchmark
Add benchmark for RSA 3072
This commit is contained in:
commit
593e9cb600
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user