Commit Graph

  • 755629bc03
    cmake: Use full signature of add_test() command Hennadii Stepanov 2023-04-29 09:49:25 +01:00
  • bef448f9af
    cmake: Fix library ABI versioning Hennadii Stepanov 2023-04-28 20:59:53 +01:00
  • 4b0f711d46
    Merge bitcoin-core/secp256k1#1277: autotools: Clean up after adding Wycheproof Tim Ruffing 2023-04-27 15:39:15 +01:00
  • 222ecaf661
    Merge bitcoin-core/secp256k1#1284: cmake: Some improvements using PROJECT_IS_TOP_LEVEL variable Tim Ruffing 2023-04-27 15:17:28 +01:00
  • 71f746c057
    cmake: Include include directory for subtree builds Hennadii Stepanov 2023-04-21 12:03:26 +01:00
  • 024a409484
    Merge bitcoin-core/secp256k1#1240: cmake: Improve and document compiler flag checks Tim Ruffing 2023-04-27 14:48:36 +01:00
  • a8d059f76c
    cmake, doc: Document compiler flags Hennadii Stepanov 2023-03-22 10:37:16 +00:00
  • 6ece1507cb
    cmake, refactor: Rename try_add_compile_option to try_append_cflags Hennadii Stepanov 2023-03-22 10:35:49 +00:00
  • 19516ed3e9
    cmake: Use add_compile_options() in try_add_compile_option() Hennadii Stepanov 2023-04-27 14:39:10 +01:00
  • 4b84f4bf0f
    Merge bitcoin-core/secp256k1#1239: cmake: Bugfix and other improvements after bumping CMake up to 3.13 Tim Ruffing 2023-04-27 11:23:49 +01:00
  • 596b336ff6
    Merge bitcoin-core/secp256k1#1234: cmake: Add dev-mode Tim Ruffing 2023-04-27 11:04:38 +01:00
  • 6b7e5b717d
    Merge bitcoin-core/secp256k1#1275: build: Fix C4005 "macro redefinition" MSVC warnings in examples Tim Ruffing 2023-04-26 16:44:47 +01:00
  • 42f8c51402
    cmake: Add SECP256K1_LATE_CFLAGS configure option Hennadii Stepanov 2023-04-26 11:10:03 +01:00
  • 1c89536718
    Merge bitcoin-core/secp256k1#1286: tests: remove extra semicolon in macro Tim Ruffing 2023-04-25 22:41:18 +01:00
  • c4062d6b5d
    debug: move helper for printing buffers into util.h Jonas Nick 2023-04-25 16:07:10 +00:00
  • f3126fdfec
    norm arg: remove prove edge tests which are now covered by vectors Jonas Nick 2023-04-25 14:52:42 +00:00
  • 847ed9ecb2
    norm arg: add verification to prove vectors Jonas Nick 2023-04-25 14:35:12 +00:00
  • 7e977b3c50 autotools: Take VPATH builds into account when generating testvectors Tim Ruffing 2023-04-25 11:44:25 +01:00
  • 2418d3260a autotools: Create src/wycheproof dir before creating file in it Tim Ruffing 2023-04-14 07:54:24 +02:00
  • 8764034ed5 autotools: Make all "pregenerated" targets .PHONY Tim Ruffing 2023-04-14 07:45:49 +02:00
  • e1b9ce8811 autotools: Use same conventions for all pregenerated files Tim Ruffing 2023-04-14 07:37:10 +02:00
  • cf797ed2a4
    norm arg: add prove test vectors Jonas Nick 2023-04-25 13:57:24 +00:00
  • 095c1e749c
    norm arg: add prove_const to tests Jonas Nick 2023-04-25 14:27:53 +00:00
  • ce18267b66
    Merge elementsproject/secp256k1-zkp#229: musig: Fix nits left open in #211 Jonas Nick 2023-04-23 08:06:25 +00:00
  • 78ed0e09ca
    Merge elementsproject/secp256k1-zkp#227: Use relative #include paths and tidy header guards (as in upstream) Jonas Nick 2023-04-23 07:50:24 +00:00
  • 3858bad2c6
    tests: remove extra semicolon in macro Jonas Nick 2023-04-21 20:21:28 +00:00
  • 1f33bb2b1c
    Merge bitcoin-core/secp256k1#1205: field: Improve docs +tests of secp256k1_fe_set_b32 Jonas Nick 2023-04-21 16:22:53 +00:00
  • e7fc61ff16
    Merge elementsproject/secp256k1-zkp#228: Simple dedicated -zkp README Jonas Nick 2023-04-21 16:22:03 +00:00
  • 162da73e9a tests: Add debug helper for printing buffers Tim Ruffing 2023-02-01 14:30:00 +01:00
  • e9fd3dff76 field: Improve docs and tests of secp256k1_fe_set_b32 Tim Ruffing 2023-02-01 12:26:57 +01:00
  • a0b51afc01 musig: VERIFY_CHECK preconditions of _musig_keyaggcoef_internal() Tim Ruffing 2023-04-21 16:18:19 +02:00
  • da7702844e extrakeys: Clarify comparison order of compare/sort functions Tim Ruffing 2023-04-21 15:56:09 +02:00
  • f6bef03c0a
    Merge bitcoin-core/secp256k1#1283: Get rid of secp256k1_fe_const_b Tim Ruffing 2023-04-21 12:54:33 +02:00
  • 5431b9decd
    cmake: Make SECP256K1_INSTALL default depend on PROJECT_IS_TOP_LEVEL Hennadii Stepanov 2023-04-21 12:03:04 +01:00
  • 5ec1333d4f
    Merge bitcoin-core/secp256k1#1285: bench: Make sys/time.h a system include Tim Ruffing 2023-04-21 12:42:40 +02:00
  • 4d9d8f92d4
    Simple dedicated -zkp README Tim Ruffing 2023-04-21 12:38:34 +02:00
  • e444d24bca Fix include guards: No _ prefix/suffix but _H suffix (as in upstream) Tim Ruffing 2023-04-21 11:47:54 +02:00
  • 0eea7d97ab Use relative #include paths in tests (as in upstream) Tim Ruffing 2023-04-21 11:21:55 +02:00
  • c690d6df70 Use relative #include paths in benchmarks (as in upstream) Tim Ruffing 2023-04-21 11:10:47 +02:00
  • c565827c1a Use relative #include paths in ctime_test (as in upstream) Tim Ruffing 2023-04-21 11:08:17 +02:00
  • 4eca406f4c Use relative #include paths in library (as in upstream) Tim Ruffing 2023-04-21 11:00:37 +02:00
  • 68b16a1662 bench: Make sys/time.h a system include Tim Ruffing 2023-04-21 11:18:36 +02:00
  • 162608cc98
    cmake: Emulate PROJECT_IS_TOP_LEVEL for CMake<3.21 Hennadii Stepanov 2023-04-20 23:12:28 +01:00
  • 69e1ec0331 Get rid of secp256k1_fe_const_b Pieter Wuille 2023-04-20 16:07:35 -04:00
  • bf7bf8a64f
    norm arg: split norm_arg_zero into prove_edge and verify_zero_len Jonas Nick 2023-03-01 14:16:29 +00:00
  • a70c4d4a8a
    norm arg: add test vector for |n| = 0 Jonas Nick 2023-03-01 14:12:43 +00:00
  • f5e4b16f0f
    norm arg: add test vector for sign bit malleability Jonas Nick 2023-03-01 13:02:36 +00:00
  • c0de361fc5
    norm arg: allow X and R to be the point at infinity Jonas Nick 2023-03-01 12:51:15 +00:00
  • f22834f202
    norm arg: add verify vector for n = [0], l = [0] Jonas Nick 2023-02-28 21:19:50 +00:00
  • d8e7f3763b
    musig: move ge_{serialize,parse}_ext to module-independent file Jonas Nick 2023-04-19 11:26:44 +00:00
  • 050d9b2912
    Merge elementsproject/secp256k1-zkp#226: bppp: align terminology with paper Jonas Nick 2023-04-20 18:53:55 +00:00
  • ce5ba9e24d gitignore: Add CMakeUserPresets.json Tim Ruffing 2023-03-16 22:58:24 +09:00
  • 0a446a312f cmake: Add dev-mode CMake preset Tim Ruffing 2023-03-10 10:51:26 +01:00
  • a6f4bcf6e1
    Merge bitcoin-core/secp256k1#1231: Move SECP256K1_INLINE macro definition out from include/secp256k1.h Tim Ruffing 2023-04-20 18:03:21 +02:00
  • a273d74b2e
    cmake: Improve version comparison Hennadii Stepanov 2023-04-20 17:03:42 +01:00
  • 6a58b483ef
    cmake: Use if(... IN_LIST ...) command Hennadii Stepanov 2023-03-26 20:08:12 +01:00
  • 2445808c02
    cmake: Use dedicated GENERATOR_IS_MULTI_CONFIG property Hennadii Stepanov 2023-03-26 13:15:34 +01:00
  • 9f8703ef17
    cmake: Use dedicated CMAKE_HOST_APPLE variable Hennadii Stepanov 2023-03-26 13:00:52 +01:00
  • 8c2017035a
    cmake: Use recommended add_compile_definitions command Hennadii Stepanov 2023-03-26 13:00:32 +01:00
  • 04d4cc071a
    cmake: Add DESCRIPTION and HOMEPAGE_URL options to project command Hennadii Stepanov 2023-03-26 13:00:14 +01:00
  • 8a8b6536ef
    cmake: Use SameMinorVersion compatibility mode Hennadii Stepanov 2023-03-12 19:45:00 +00:00
  • 5b0444a3b5
    Merge bitcoin-core/secp256k1#1263: cmake: Make installation optional Tim Ruffing 2023-04-20 17:39:15 +02:00
  • 47ac3d63cd
    cmake: Make installation optional Anna “CyberTailor” 2023-04-09 12:51:53 +05:00
  • 2e035af251
    Merge bitcoin-core/secp256k1#1273: build: Make SECP_VALGRIND_CHECK preserve CPPFLAGS Tim Ruffing 2023-04-20 10:27:04 +02:00
  • 5be353d658
    Merge bitcoin-core/secp256k1#1279: tests: lint wycheproof's python script Tim Ruffing 2023-04-19 16:23:05 +02:00
  • 08f4b1632d autotools: Move code around to tidy Makefile Tim Ruffing 2023-04-14 07:22:01 +02:00
  • 2c63d17c1e
    bppp: align terminology with paper (gamma) Jonas Nick 2023-04-19 12:36:24 +00:00
  • dbf2e4d3e1
    bppp: align terminology with paper (mu, rho) Jonas Nick 2023-04-19 12:20:32 +00:00
  • 04bf3f6778
    Merge bitcoin-core/secp256k1#1230: Build: allow static or shared but not both Tim Ruffing 2023-04-18 12:29:56 +02:00
  • 9ce9984f32
    Merge bitcoin-core/secp256k1#1265: Remove bits argument from secp256k1_wnaf_const{_xonly} Tim Ruffing 2023-04-18 12:16:02 +02:00
  • 566faa17d3
    Merge bitcoin-core/secp256k1#1267: doc: clarify process for patch releases Jonas Nick 2023-04-18 08:18:08 +00:00
  • ef49a11d29 build: allow static or shared but not both Cory Fields 2023-03-14 21:15:35 +00:00
  • f4dd0419aa
    Merge ElementsProject/secp256k1-zkp#225: sync-upstream: Use --autostash to handle uncommitted changes Tim Ruffing 2023-04-17 11:49:43 +02:00
  • 35ada3b954 tests: lint wycheproof's python script RandomLattice 2023-04-14 13:30:51 +02:00
  • 4258c54f4e
    Merge bitcoin-core/secp256k1#1276: autotools: Don't regenerate Wycheproof header automatically Tim Ruffing 2023-04-14 13:32:45 +02:00
  • 529b54d922 autotools: Move Wycheproof header from EXTRA_DIST to noinst_HEADERS Tim Ruffing 2023-04-14 07:11:46 +02:00
  • 06c67dea9f autotools: Don't regenerate Wycheproof header automatically Tim Ruffing 2023-04-14 07:09:46 +02:00
  • dc0657c762
    build: Fix C4005 "macro redefinition" MSVC warnings in examples Hennadii Stepanov 2023-04-13 12:23:30 +01:00
  • 1ecb94ebe9
    build: Make SECP_VALGRIND_CHECK preserve CPPFLAGS Hennadii Stepanov 2023-04-11 18:59:12 +01:00
  • 13c438cdee sync-upstream: Use --autostash to handle uncommitted changes Tim Ruffing 2023-04-11 12:21:14 +02:00
  • 6ec1ff6040
    Merge elementsproject/secp256k1-zkp#224: Backport of "ct: Use volatile "trick" in all fe/scalar cmov implementations" Jonas Nick 2023-04-11 10:14:27 +00:00
  • 96f4853850 ct: Use volatile "trick" in all fe/scalar cmov implementations Tim Ruffing 2023-04-01 15:35:50 +09:00
  • 3bab71cf05
    Merge bitcoin-core/secp256k1#1268: release cleanup: bump version after 0.3.1 Jonas Nick 2023-04-10 20:03:57 +00:00
  • 656c6ea8d8
    release cleanup: bump version after 0.3.1 Jonas Nick 2023-04-10 15:48:42 +00:00
  • 346a053d4c
    Merge bitcoin-core/secp256k1#1269: changelog: Fix link Jonas Nick 2023-04-10 19:30:20 +00:00
  • 6a37b2a5ea changelog: Fix link Tim Ruffing 2023-04-10 20:52:11 +02:00
  • ec98fcedd5
    Merge bitcoin-core/secp256k1#1266: release: Prepare for 0.3.1 Jonas Nick 2023-04-10 17:27:51 +00:00
  • 1b6fb5593c
    doc: clarify process for patch releases Jonas Nick 2023-04-10 15:19:07 +00:00
  • 898e1c676e release: Prepare for 0.3.1 Tim Ruffing 2023-04-10 15:52:26 +02:00
  • 1d9a13fc26 changelog: Remove inconsistent newlines Tim Ruffing 2023-04-10 15:19:10 +02:00
  • 0e091669a1 changelog: Catch up in preparation of 0.3.1 Tim Ruffing 2023-04-10 15:16:10 +02:00
  • 7b7503dac5
    Merge bitcoin-core/secp256k1#1245: tests: Add Wycheproof ECDSA vectors Pieter Wuille 2023-04-10 09:27:16 -04:00
  • a575339c02 Remove bits argument from secp256k1_wnaf_const (always 256) Pieter Wuille 2022-12-29 14:48:36 -05:00
  • 145078c418
    Merge bitcoin-core/secp256k1#1118: Add x-only ecmult_const version with x specified as n/d Tim Ruffing 2023-04-10 08:17:38 +02:00
  • e5de454609 tests: Add Wycheproof ECDSA vectors RandomLattice 2023-03-21 22:10:59 -07:00
  • 0f8642079b Add exhaustive tests for ecmult_const_xonly Pieter Wuille 2023-01-10 20:55:38 -05:00
  • 4485926ace Add x-only ecmult_const version for x=n/d Pieter Wuille 2022-07-03 13:51:28 -04:00
  • a0f4644f7e
    Merge bitcoin-core/secp256k1#1252: Make position of * in pointer declarations in include/ consistent Tim Ruffing 2023-04-08 09:38:45 +02:00
  • 4e682626a3
    Merge bitcoin-core/secp256k1#1226: Add CMake instructions to release process Jonas Nick 2023-04-07 15:04:07 +00:00
  • 2d51a454fc
    Merge bitcoin-core/secp256k1#1257: ct: Use volatile "trick" in all fe/scalar cmov implementations Tim Ruffing 2023-04-06 10:41:02 +09:00