Skip to content

Commit 70f149b

Browse files
committed
Merge #1662: bench: add ellswift to bench help output
6b3fe51 bench: add ellswift to bench help output (Jonas Nick) Pull request description: ACKs for top commit: sipa: utACK 6b3fe51 real-or-random: utACK 6b3fe51 Tree-SHA512: 825cc3637cef5807bcfdacd5e9197bffd95e7932a9a34834bd5d01a572c05aa66dc39f75a013753825980b92fa7189da7210a8dbe3c5c7009e793a2e344bc248
2 parents d84bb83 + 6b3fe51 commit 70f149b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/bench.c

+8-4
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,22 @@ static void help(int default_iters) {
1616
printf("Benchmarks the following algorithms:\n");
1717
printf(" - ECDSA signing/verification\n");
1818

19-
#ifdef ENABLE_MODULE_ECDH
20-
printf(" - ECDH key exchange (optional module)\n");
21-
#endif
22-
2319
#ifdef ENABLE_MODULE_RECOVERY
2420
printf(" - Public key recovery (optional module)\n");
2521
#endif
2622

23+
#ifdef ENABLE_MODULE_ECDH
24+
printf(" - ECDH key exchange (optional module)\n");
25+
#endif
26+
2727
#ifdef ENABLE_MODULE_SCHNORRSIG
2828
printf(" - Schnorr signatures (optional module)\n");
2929
#endif
3030

31+
#ifdef ENABLE_MODULE_ELLSWIFT
32+
printf(" - ElligatorSwift (optional module)\n");
33+
#endif
34+
3135
printf("\n");
3236
printf("The default number of iterations for each benchmark is %d. This can be\n", default_iters);
3337
printf("customized using the SECP256K1_BENCH_ITERS environment variable.\n");

0 commit comments

Comments
 (0)