mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01: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;
|
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