Skip to content

Commit 6b3fe51

Browse files
committed
bench: add ellswift to bench help output
1 parent d84bb83 commit 6b3fe51

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)