Merge bench_schnorrsig into bench

This commit is contained in:
Pieter Wuille
2021-10-17 14:02:10 -04:00
parent 3208557ae1
commit 9f56bdf5b9
5 changed files with 16 additions and 21 deletions

View File

@@ -84,6 +84,10 @@ static void bench_sign_run(void* arg, int iters) {
# include "modules/recovery/bench_impl.h"
#endif
#ifdef ENABLE_MODULE_SCHNORRSIG
# include "modules/schnorrsig/bench_impl.h"
#endif
int main(void) {
int i;
secp256k1_pubkey pubkey;
@@ -130,5 +134,10 @@ int main(void) {
run_recovery_bench(iters);
#endif
#ifdef ENABLE_MODULE_SCHNORRSIG
/* Schnorr signature benchmarks */
run_schnorrsig_bench(iters);
#endif
return 0;
}