diff --git a/configure.ac b/configure.ac index 51fa5caa33..a4d9a088bb 100644 --- a/configure.ac +++ b/configure.ac @@ -3545,7 +3545,7 @@ fi # KEY GENERATION AC_ARG_ENABLE([keygen], - [AS_HELP_STRING([--enable-keygen],[Enable key generation (default: disabled)])], + [AS_HELP_STRING([--enable-keygen],[Enable key generation (only applies to RSA key generation) (default: disabled)])], [ ENABLED_KEYGEN=$enableval ], [ ENABLED_KEYGEN=no ] ) diff --git a/wolfcrypt/benchmark/benchmark.c b/wolfcrypt/benchmark/benchmark.c index 2c24056ec4..f48bf3a219 100644 --- a/wolfcrypt/benchmark/benchmark.c +++ b/wolfcrypt/benchmark/benchmark.c @@ -926,7 +926,9 @@ static const bench_alg bench_asym_opt[] = { { "-rsa-kg", BENCH_RSA_KEYGEN }, #endif { "-rsa", BENCH_RSA }, + #ifdef WOLFSSL_KEY_GEN { "-rsa-sz", BENCH_RSA_SZ }, + #endif #endif #ifndef NO_DH { "-dh", BENCH_DH },