mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 18:49:30 +01:00
7873633b57
50cc6ab
Merge pull request #178941e221
Add tests for handling of the nonce function in signing.10c81ff
Merge pull request #1777688e34
Add magnitude limits to secp256k1_fe_verify to ensure that it's own tests function correctly.4ee4f7a
Merge pull request #17670ae0d2
Use secp256k1_fe_equal_var in secp256k1_fe_sqrt_var.7767b4d
Merge pull request #1759ab9335
Add a reference consistency test to ge_tests.60571c6
Rework group testsd26e26f
Avoid constructing an invalid signature with probability 1:2^256.b450c34
Merge pull request #163d57cae9
Merge pull request #15449ee0db
Add _normalizes_to_zero_var varianteed599d
Add _fe_normalizes_to_zero methodd7174ed
Weak normalization for secp256k1_fe_equal0295f0a
weak normalizationbbd5ba7
Use rfc6979 as default nonce generation functionb37fbc2
Implement SHA256 / HMAC-SHA256 / RFC6979.c6e7f4e
[API BREAK] Use a nonce-generation function instead of a noncecf0c48b
Merge pull request #169603c33b
Make signing fail if a too small buffer is passed.6d16606
Merge pull request #1687277fd7
Remove GMP field implementatione99c4c4
Merge pull request #12313278f6
Add explanation about how inversion can be avoidedce7eb6f
Optimize verification: avoid field inversea098f78
Merge pull request #16038acd01
Merge pull request #1656a59012
Make git ignore bench_recover when configured with benchmark enabled1ba4a60
Configure options reorganization3c0f246
Merge pull request #157808dd9b
Merge pull request #1568dc75e9
Merge pull request #15828ade27
build: nuke bashisms5190079
build: use subdir-objects for automake8336040
build: disable benchmark by default git-subtree-dir: src/secp256k1 git-subtree-split:50cc6ab062
78 lines
2.4 KiB
Makefile
78 lines
2.4 KiB
Makefile
ACLOCAL_AMFLAGS = -I build-aux/m4
|
|
|
|
lib_LTLIBRARIES = libsecp256k1.la
|
|
include_HEADERS = include/secp256k1.h
|
|
noinst_HEADERS =
|
|
noinst_HEADERS += src/scalar.h
|
|
noinst_HEADERS += src/scalar_4x64.h
|
|
noinst_HEADERS += src/scalar_8x32.h
|
|
noinst_HEADERS += src/scalar_impl.h
|
|
noinst_HEADERS += src/scalar_4x64_impl.h
|
|
noinst_HEADERS += src/scalar_8x32_impl.h
|
|
noinst_HEADERS += src/group.h
|
|
noinst_HEADERS += src/group_impl.h
|
|
noinst_HEADERS += src/num_gmp.h
|
|
noinst_HEADERS += src/num_gmp_impl.h
|
|
noinst_HEADERS += src/ecdsa.h
|
|
noinst_HEADERS += src/ecdsa_impl.h
|
|
noinst_HEADERS += src/eckey.h
|
|
noinst_HEADERS += src/eckey_impl.h
|
|
noinst_HEADERS += src/ecmult.h
|
|
noinst_HEADERS += src/ecmult_impl.h
|
|
noinst_HEADERS += src/ecmult_gen.h
|
|
noinst_HEADERS += src/ecmult_gen_impl.h
|
|
noinst_HEADERS += src/num.h
|
|
noinst_HEADERS += src/num_impl.h
|
|
noinst_HEADERS += src/field_10x26.h
|
|
noinst_HEADERS += src/field_10x26_impl.h
|
|
noinst_HEADERS += src/field_5x52.h
|
|
noinst_HEADERS += src/field_5x52_impl.h
|
|
noinst_HEADERS += src/field_5x52_int128_impl.h
|
|
noinst_HEADERS += src/field_5x52_asm_impl.h
|
|
noinst_HEADERS += src/java/org_bitcoin_NativeSecp256k1.h
|
|
noinst_HEADERS += src/util.h
|
|
noinst_HEADERS += src/testrand.h
|
|
noinst_HEADERS += src/testrand_impl.h
|
|
noinst_HEADERS += src/hash.h
|
|
noinst_HEADERS += src/hash_impl.h
|
|
noinst_HEADERS += src/field.h
|
|
noinst_HEADERS += src/field_impl.h
|
|
noinst_HEADERS += src/bench.h
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = libsecp256k1.pc
|
|
|
|
libsecp256k1_la_SOURCES = src/secp256k1.c
|
|
libsecp256k1_la_CPPFLAGS = -I$(top_srcdir)/include $(SECP_INCLUDES)
|
|
libsecp256k1_la_LIBADD = $(SECP_LIBS)
|
|
|
|
|
|
noinst_PROGRAMS =
|
|
if USE_BENCHMARK
|
|
noinst_PROGRAMS += bench_verify bench_recover bench_sign bench_inv
|
|
bench_verify_SOURCES = src/bench_verify.c
|
|
bench_verify_LDADD = libsecp256k1.la $(SECP_LIBS)
|
|
bench_verify_LDFLAGS = -static
|
|
bench_recover_SOURCES = src/bench_recover.c
|
|
bench_recover_LDADD = libsecp256k1.la $(SECP_LIBS)
|
|
bench_recover_LDFLAGS = -static
|
|
bench_sign_SOURCES = src/bench_sign.c
|
|
bench_sign_LDADD = libsecp256k1.la $(SECP_LIBS)
|
|
bench_sign_LDFLAGS = -static
|
|
bench_inv_SOURCES = src/bench_inv.c
|
|
bench_inv_LDADD = $(SECP_LIBS)
|
|
bench_inv_LDFLAGS = -static
|
|
bench_inv_CPPFLAGS = $(SECP_INCLUDES)
|
|
endif
|
|
|
|
if USE_TESTS
|
|
noinst_PROGRAMS += tests
|
|
tests_SOURCES = src/tests.c
|
|
tests_CPPFLAGS = -DVERIFY $(SECP_INCLUDES) $(SECP_TEST_INCLUDES)
|
|
tests_LDADD = $(SECP_LIBS) $(SECP_TEST_LIBS)
|
|
tests_LDFLAGS = -static
|
|
TESTS = tests
|
|
endif
|
|
|
|
EXTRA_DIST = autogen.sh
|