Merge bench_recover into bench

This commit is contained in:
Pieter Wuille
2021-10-17 13:56:59 -04:00
parent 855e18d8a8
commit 3208557ae1
5 changed files with 16 additions and 19 deletions

View File

@@ -80,6 +80,10 @@ static void bench_sign_run(void* arg, int iters) {
# include "modules/ecdh/bench_impl.h"
#endif
#ifdef ENABLE_MODULE_RECOVERY
# include "modules/recovery/bench_impl.h"
#endif
int main(void) {
int i;
secp256k1_pubkey pubkey;
@@ -121,5 +125,10 @@ int main(void) {
run_ecdh_bench(iters);
#endif
#ifdef ENABLE_MODULE_RECOVERY
/* ECDSA recovery benchmarks */
run_recovery_bench(iters);
#endif
return 0;
}