Commit Graph

  • 442cee5baf schnorrsig: add algolen argument to nonce_function_hardened Jonas Nick 2021-01-15 21:43:23 +00:00
  • df3bfa12c3 schnorrsig: clarify result of calling nonce_function_bip340 without data Jonas Nick 2020-10-30 20:39:48 +00:00
  • 99e8614812 README: mention schnorrsig module Jonas Nick 2020-10-30 20:36:18 +00:00
  • 3dc8c072b6
    Merge #846: ci: Run ASan/LSan and reorganize sanitizer and Valgrind jobs Jonas Nick 2021-05-21 21:57:57 +00:00
  • 02dcea1ad9 ci: Make test iterations configurable and tweak for sanitizer builds Tim Ruffing 2021-05-17 20:41:15 +02:00
  • 489ff5c20a tests: Treat empty SECP2561_TEST_ITERS as if it was unset Tim Ruffing 2021-05-21 11:24:30 +02:00
  • fcfcb97e74 ci: Simplify to use generic wrapper for QEMU, Valgrind, etc Tim Ruffing 2021-05-17 17:19:01 +02:00
  • de4157f13a ci: Run ASan/LSan and reorganize sanitizer and Valgrind jobs Tim Ruffing 2020-11-09 17:52:12 +01:00
  • 399722a63a
    Merge #941: Clean up git tree Jonas Nick 2021-05-14 20:04:07 +00:00
  • 09b3bb8648 Clean up git tree Tim Ruffing 2021-05-12 11:49:36 +02:00
  • bf0ac46066
    Merge #930: Add ARM32/ARM64 CI Jonas Nick 2021-05-13 19:31:49 +00:00
  • 202a030f7d
    Merge #850: add secp256k1_ec_pubkey_cmp method Jonas Nick 2021-05-13 19:17:35 +00:00
  • 1e78c18d5b
    Merge bitcoin-core/secp256k1#940: contrib: Explain explicit header guards Pieter Wuille 2021-05-11 20:10:00 -07:00
  • 69394879b6
    Merge #926: secp256k1.h: clarify that by default arguments must be != NULL Tim Ruffing 2021-05-07 23:20:05 +02:00
  • 6eceec6d56 add secp256k1_xonly_pubkey_cmp method Andrew Poelstra 2020-11-30 18:42:32 +00:00
  • 0d9561ae87 add secp256k1_ec_pubkey_cmp method Andrew Poelstra 2020-11-22 17:33:46 +00:00
  • 22a9ea154a contrib: Explain explicit header guards Tim Ruffing 2021-05-06 17:12:11 +02:00
  • 6c52ae8724
    Merge #937: Have ge_set_gej_var, gej_double_var and ge_set_all_gej_var initialize all fields of their outputs. Tim Ruffing 2021-05-06 09:38:18 +02:00
  • 185a6af227
    Merge #925: changed include statements without prefix 'include/' Tim Ruffing 2021-05-05 20:14:39 +02:00
  • 14c9739a1f tests: Improve secp256k1_ge_set_all_gej_var for some infinity inputs Tim Ruffing 2021-05-05 09:38:22 +02:00
  • 4a19668c37 tests: Test secp256k1_ge_set_all_gej_var for all infinity inputs Tim Ruffing 2021-05-05 09:38:22 +02:00
  • 3c90bdda95 change local lib headers to be relative for those pointing at "include/" dir William Bright 2021-05-04 13:19:33 -04:00
  • 45b6468d7e Have secp256k1_ge_set_all_gej_var initialize all fields. Previous behaviour would not initialize r->y values in the case where infinity is passed in. Furthermore, the previous behaviour wouldn't initialize anything in the case where all inputs were infinity. Russell O'Connor 2021-05-04 16:17:00 -04:00
  • 31c0f6de41 Have secp256k1_gej_double_var initialize all fields. Previous behaviour would not initialize r->x and r->y values in the case where infinity is passed in. Russell O'Connor 2021-05-04 15:49:48 -04:00
  • dd6c3de322 Have secp256k1_ge_set_gej_var initialize all fields. Previous behaviour would not initialize r->x and r->y values in the case where infinity is passed in. Russell O'Connor 2021-05-04 14:59:47 -04:00
  • d0bd2693e3
    Merge bitcoin-core/secp256k1#936: Fix gen_context/ASM build on ARM Pieter Wuille 2021-05-04 11:30:32 -07:00
  • 8bbad7a18e Add asm build to ARM32 CI Pieter Wuille 2021-05-02 13:39:22 -07:00
  • 7d65ed5214 Add ARM32/ARM64 CI Pieter Wuille 2021-05-02 12:48:38 -07:00
  • c8483520c9 Makefile.am: Don't pass a variable twice Tim Ruffing 2021-05-03 14:11:38 +02:00
  • 2161f31785 Makefile.am: Honor config when building gen_context Tim Ruffing 2021-05-03 13:05:33 +02:00
  • 99f47c20ec gen_context: Don't use external ASM because it complicates the build Tim Ruffing 2021-05-03 14:11:08 +02:00
  • 98e0358d29
    Merge #933: Avoids a missing brace warning in schnorrsig/tests_impl.h on old compilers Jonas Nick 2021-05-03 09:51:28 +00:00
  • 99e2d5be0d Avoids a missing brace warning in schnorrsig/tests_impl.h on old compilers. Gregory Maxwell 2021-05-02 20:02:12 +00:00
  • 34388af6b6
    Merge #922: Add mingw32-w64/wine CI build Jonas Nick 2021-05-02 12:57:34 +00:00
  • 7012a188e6
    Merge #928: Define SECP256K1_BUILD in secp256k1.c directly. Tim Ruffing 2021-05-02 11:40:34 +02:00
  • ed5a199bed tests: fopen /dev/urandom in binary mode Tim Ruffing 2021-05-01 13:06:55 +02:00
  • ae9e648526 Define SECP256K1_BUILD in secp256k1.c directly. Gregory Maxwell 2021-05-01 17:08:52 +00:00
  • 4dc37bf81b Add mingw32-w64/wine CI build Pieter Wuille 2021-04-17 10:57:16 -07:00
  • 0881633dfd secp256k1.h: clarify that by default arguments must be != NULL Jonas Nick 2021-04-28 16:57:49 +00:00
  • efad3506a8
    Merge #906: Use modified divsteps with initial delta=1/2 for constant-time Tim Ruffing 2021-04-22 20:11:51 +02:00
  • cc2c09e3a7
    Merge #918: Clean up configuration in gen_context Jonas Nick 2021-04-19 16:59:03 +00:00
  • 07067967ee add ECMULT_GEN_PREC_BITS to basic_config.h Aaron Voisine 2021-04-10 11:37:08 -07:00
  • a3aa2628c7 gen_context: Don't include basic-config.h Tim Ruffing 2021-04-15 16:17:53 +02:00
  • be0609fd54 Add unit tests for edge cases with delta=1/2 variant of divsteps Pieter Wuille 2021-03-25 22:50:15 -07:00
  • cd393ce228 Optimization: only do 59 hddivsteps per iteration instead of 62 Pieter Wuille 2021-01-15 15:20:39 -08:00
  • 277b224b6a Use modified divsteps with initial delta=1/2 for constant-time Pieter Wuille 2021-01-01 11:15:10 -08:00
  • 376ca366db Fix typo in explanation Pieter Wuille 2021-03-29 16:33:36 -07:00
  • 1e5d50fa93
    Merge #889: fix uninitialized read in tests Jonas Nick 2021-04-07 12:52:49 +00:00
  • f3708a1ecb
    Merge #117: Add ECDSA adaptor signatures module Jonas Nick 2021-04-06 12:13:32 +00:00
  • 5710ebacb9
    Merge #128: Make function argument name consistent with doc Jonas Nick 2021-04-01 18:30:04 +00:00
  • b0ffa92319 ecdsa_adaptor: add tests ecdsa-adaptor-sigs Jesse Posner 2021-03-05 01:03:43 -08:00
  • 6955af5ca8 ecdsa_adaptor: add ECDSA adaptor signature APIs Jesse Posner 2021-03-05 00:10:05 -08:00
  • c083cc6e52
    Merge #903: Make argument of fe_normalizes_to_zero{_var} const Jonas Nick 2021-03-26 14:56:55 +00:00
  • 6e898534ff
    Merge #907: changed import to use brackets <> for openssl Jonas Nick 2021-03-26 14:01:47 +00:00
  • cc82ad5ab7
    Make function argument name consistent with doc Sanket Kanjalkar 2021-03-24 01:44:15 -07:00
  • 4504472269 changed import to use brackets <> for openssl as they are not local to the project William Bright 2021-03-20 19:59:51 -04:00
  • 26de4dfeb1
    Merge #831: Safegcd inverses, drop Jacobi symbols, remove libgmp Pieter Wuille 2021-03-17 17:03:17 -07:00
  • b508e5dd9b ecdsa_adaptor: add support for proof of discrete logarithm equality Jesse Posner 2021-03-05 00:04:03 -08:00
  • d8f336564f ecdsa_adaptor: add nonce function and tags Jesse Posner 2021-03-05 00:00:13 -08:00
  • 654cd633f5 ecdsa_adaptor: initialize project Jesse Posner 2021-03-04 23:38:48 -08:00
  • 23c3fb629b Make argument of fe_normalizes_to_zero{_var} const Pieter Wuille 2021-03-12 10:31:54 -08:00
  • 24ad04fc06 Make scalar_inverse{,_var} benchmark scale with SECP256K1_BENCH_ITERS Pieter Wuille 2021-01-22 15:47:44 -08:00
  • ebc1af700f Optimization: track f,g limb count and pass to new variable-time update_fg_var Peter Dettman 2020-12-15 18:17:19 -08:00
  • b306935ac1 Optimization: use formulas instead of lookup tables for cancelling g bits Peter Dettman 2020-12-15 16:19:08 -08:00
  • 9164a1b658 Optimization: special-case zero modulus limbs in modinv64 Pieter Wuille 2020-11-28 15:58:22 -08:00
  • 1f233b3fa0 Remove num/gmp support Pieter Wuille 2020-10-11 16:04:58 -07:00
  • fac477f822
    Merge #126: Upstream PRs #854 #852 #857 #858 #860 #845 #862 #875 #878 #874 #877 #880 #864 #882 #894 #891 #901 Jonas Nick 2021-03-12 20:39:50 +00:00
  • 20448b8d09 Remove unused Jacobi symbol support Pieter Wuille 2020-10-11 15:56:17 -07:00
  • 5437e7bdfb Remove unused scalar_sqr Pieter Wuille 2021-01-23 19:24:33 -08:00
  • aa9cc52180 Improve field/scalar inverse tests Pieter Wuille 2020-10-11 23:20:32 -07:00
  • 1e0e885c8a Make field/scalar code use the new modinv modules for inverses Pieter Wuille 2020-11-29 14:02:01 -08:00
  • 436281afdc Move secp256k1_fe_inverse{_var} to per-impl files Pieter Wuille 2020-10-11 15:41:54 -07:00
  • aa404d53be Move secp256k1_scalar_{inverse{_var},is_even} to per-impl files Pieter Wuille 2020-10-11 15:30:37 -07:00
  • 08d54964e5 Improve bounds checks in modinv modules Pieter Wuille 2020-12-23 11:13:57 -08:00
  • 6a7861f646
    Merge #127: sync-upstream: Create proper links to upstream PRs Jonas Nick 2021-03-10 21:21:48 +00:00
  • 4091e61924 cirrus: increase timeout for macOS tasks Jonas Nick 2021-03-10 21:02:19 +00:00
  • 136ed8f84d sync-upstream: Fix output of command to reproduce Tim Ruffing 2021-03-10 16:02:32 +01:00
  • 38f1e777d4 sync-upstream: Create proper links to upstream PRs Tim Ruffing 2021-03-10 15:07:07 +01:00
  • 79d4c3ac68 whitelist: add SECP_INCLUDES to bench_whitelist CPPFLAGS Jonas Nick 2021-03-10 13:28:16 +00:00
  • 649bf201d8 musig: fix tests for 32-bit Jonas Nick 2021-03-10 13:20:01 +00:00
  • 151aac00d3 Add tests for modinv modules Pieter Wuille 2020-12-22 18:24:36 -08:00
  • d8a92fcc4c Add extensive comments on the safegcd algorithm and implementation Pieter Wuille 2020-12-03 16:26:58 -08:00
  • 8e415acba2 Add safegcd based modular inverse modules Peter Dettman 2020-11-29 14:01:03 -08:00
  • de0a643c3d Add secp256k1_ctz{32,64}_var functions Pieter Wuille 2020-10-11 19:10:58 -07:00
  • d4ca81f48e Merge commits 'dc6e5c3a 2d9e7175 b61f9da5 98dac878 8c727b90 328aaef2 f2d9aeae b732701f db726782 5671e5f3 a4abaab7 659d0d47 f8c0b57e 24d1656c 3a8b47bc ebdba03c 4c3ba88c ' into temp-merge-901 Jonas Nick 2021-03-08 13:01:12 +00:00
  • 4c3ba88c3a
    Merge #901: ci: Switch all Linux builds to Debian and more improvements Tim Ruffing 2021-03-07 22:16:20 +01:00
  • 9361f360bb ci: Select number of parallel make jobs depending on CI environment Tim Ruffing 2021-03-03 01:21:18 +01:00
  • 28eccdf806 ci: Split output of logs into multiple sections Tim Ruffing 2021-03-02 00:09:05 +01:00
  • c7f754fe4d ci: Run PRs on merge result instead of on the source branch Tim Ruffing 2021-03-01 23:50:54 +01:00
  • b994a8be3c ci: Print information about binaries using "file" Tim Ruffing 2021-02-26 17:36:34 +01:00
  • f24e122d13 ci: Switch all Linux builds to Debian Tim Ruffing 2021-02-26 15:52:40 +01:00
  • ebdba03cb5
    Merge #891: build: Add workaround for automake 1.13 and older Tim Ruffing 2021-03-02 15:25:00 +01:00
  • 3a8b47bc6d
    Merge #894: ctime_test: move context randomization test to the end Jonas Nick 2021-02-22 22:05:43 +00:00
  • 6da00ec624
    Merge pull request #124 from apoelstra/2021-02--rename-klepto Andrew Poelstra 2021-02-10 19:06:07 +00:00
  • e354c5751d ecdsa_s2c: rename anti-klepto to anti-exfil Andrew Poelstra 2021-02-09 22:46:03 +00:00
  • 7d3497cdc4 ctime_test: move context randomization test to the end Jonas Nick 2021-02-04 23:17:09 +00:00
  • 99a1cfec17 print warnings for conditional-uninitialized PiRK 2021-01-31 18:41:35 +01:00
  • 3d2cf6c5bd initialize variable in tests PiRK 2021-01-29 11:49:51 +01:00
  • f329bba244 build: Add workaround for automake 1.13 and older Tim Ruffing 2021-02-01 22:54:09 +01:00
  • 24d1656c32
    Merge #882: Use bit ops instead of int mult for constant-time logic in gej_add_ge Jonas Nick 2021-02-01 10:23:05 +00:00