mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-11 17:32:34 +08:00
Add benchmark for RSA 3072.
Signed-off-by: Matthias Schulz <mschulz@hilscher.com>
This commit is contained in:
parent
4122c16abd
commit
aa7dffa24a
@ -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