Merge pull request #8511 from mschulz-at-hilscher/feature/rsa3072-benchmark
Add benchmark for RSA 3072
This commit is contained in:
commit
593e9cb600
1 changed files with 1 additions and 1 deletions
|
@ -1011,7 +1011,7 @@ int main(int argc, char *argv[])
|
||||||
int keysize;
|
int keysize;
|
||||||
mbedtls_rsa_context rsa;
|
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_snprintf(title, sizeof(title), "RSA-%d", keysize);
|
||||||
|
|
||||||
mbedtls_rsa_init(&rsa);
|
mbedtls_rsa_init(&rsa);
|
||||||
|
|
Loading…
Reference in a new issue