Merge bitcoin-core/secp256k1#1662: bench: add ellswift to bench help output
6b3fe51fb6bench: add ellswift to bench help output (Jonas Nick) Pull request description: ACKs for top commit: sipa: utACK6b3fe51fb6real-or-random: utACK6b3fe51fb6Tree-SHA512: 825cc3637cef5807bcfdacd5e9197bffd95e7932a9a34834bd5d01a572c05aa66dc39f75a013753825980b92fa7189da7210a8dbe3c5c7009e793a2e344bc248
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