D | benchmark.c | 285 havege, ctr_drbg, hmac_drbg, rsa, dhm, ecdsa, ecdh; member 723 if (todo.rsa) { in main() 725 mbedtls_rsa_context rsa; in main() local 731 mbedtls_rsa_init(&rsa); in main() 732 mbedtls_rsa_gen_key(&rsa, myrand, NULL, keysize, in main() 737 ret = mbedtls_rsa_public(&rsa, buf, buf)); in main() 741 ret = mbedtls_rsa_private(&rsa, myrand, in main() 744 mbedtls_rsa_free(&rsa); in main()
|