bench: add ellswift to bench help output
This commit is contained in:
12
src/bench.c
12
src/bench.c
@@ -16,18 +16,22 @@ static void help(int default_iters) {
|
|||||||
printf("Benchmarks the following algorithms:\n");
|
printf("Benchmarks the following algorithms:\n");
|
||||||
printf(" - ECDSA signing/verification\n");
|
printf(" - ECDSA signing/verification\n");
|
||||||
|
|
||||||
#ifdef ENABLE_MODULE_ECDH
|
|
||||||
printf(" - ECDH key exchange (optional module)\n");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef ENABLE_MODULE_RECOVERY
|
#ifdef ENABLE_MODULE_RECOVERY
|
||||||
printf(" - Public key recovery (optional module)\n");
|
printf(" - Public key recovery (optional module)\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef ENABLE_MODULE_ECDH
|
||||||
|
printf(" - ECDH key exchange (optional module)\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_MODULE_SCHNORRSIG
|
#ifdef ENABLE_MODULE_SCHNORRSIG
|
||||||
printf(" - Schnorr signatures (optional module)\n");
|
printf(" - Schnorr signatures (optional module)\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef ENABLE_MODULE_ELLSWIFT
|
||||||
|
printf(" - ElligatorSwift (optional module)\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf("The default number of iterations for each benchmark is %d. This can be\n", default_iters);
|
printf("The default number of iterations for each benchmark is %d. This can be\n", default_iters);
|
||||||
printf("customized using the SECP256K1_BENCH_ITERS environment variable.\n");
|
printf("customized using the SECP256K1_BENCH_ITERS environment variable.\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user