Add benchmarks for ECDH and const-time multiplication

This commit is contained in:
Andrew Poelstra
2015-05-15 14:46:08 -05:00
parent 0739bbb6f0
commit 91c0ce95ca
4 changed files with 70 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
include_HEADERS += include/secp256k1_ecdh.h
noinst_HEADERS += src/modules/ecdh/main_impl.h
noinst_HEADERS += src/modules/ecdh/tests_impl.h
if USE_BENCHMARK
noinst_PROGRAMS += bench_ecdh
bench_ecdh_SOURCES = src/bench_ecdh.c
bench_ecdh_LDADD = libsecp256k1.la $(SECP_LIBS)
bench_ecdh_LDFLAGS = -static
endif