mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
7873633b57
50cc6ab Merge pull request #178 941e221 Add tests for handling of the nonce function in signing. 10c81ff Merge pull request #177 7688e34 Add magnitude limits to secp256k1_fe_verify to ensure that it's own tests function correctly. 4ee4f7a Merge pull request #176 70ae0d2 Use secp256k1_fe_equal_var in secp256k1_fe_sqrt_var. 7767b4d Merge pull request #175 9ab9335 Add a reference consistency test to ge_tests. 60571c6 Rework group tests d26e26f Avoid constructing an invalid signature with probability 1:2^256. b450c34 Merge pull request #163 d57cae9 Merge pull request #154 49ee0db Add _normalizes_to_zero_var variant eed599d Add _fe_normalizes_to_zero method d7174ed Weak normalization for secp256k1_fe_equal 0295f0a weak normalization bbd5ba7 Use rfc6979 as default nonce generation function b37fbc2 Implement SHA256 / HMAC-SHA256 / RFC6979. c6e7f4e [API BREAK] Use a nonce-generation function instead of a nonce cf0c48b Merge pull request #169 603c33b Make signing fail if a too small buffer is passed. 6d16606 Merge pull request #168 7277fd7 Remove GMP field implementation e99c4c4 Merge pull request #123 13278f6 Add explanation about how inversion can be avoided ce7eb6f Optimize verification: avoid field inverse a098f78 Merge pull request #160 38acd01 Merge pull request #165 6a59012 Make git ignore bench_recover when configured with benchmark enabled 1ba4a60 Configure options reorganization 3c0f246 Merge pull request #157 808dd9b Merge pull request #156 8dc75e9 Merge pull request #158 28ade27 build: nuke bashisms 5190079 build: use subdir-objects for automake 8336040 build: disable benchmark by default git-subtree-dir: src/secp256k1 git-subtree-split: 50cc6ab0625efda6dddf1dc86c1e2671f069b0d8
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
|