Commit Graph

  • 64b34979ed
    Merge bitcoin-core/secp256k1#748: Add usage examples Jonas Nick 2022-02-23 17:36:13 +00:00
  • 7c9502cece
    Add a copy of the CC0 license to the examples Elichai Turkel 2021-07-04 17:42:30 +03:00
  • 42e03432e6
    Add usage examples to the readme Elichai Turkel 2020-04-30 15:08:50 +03:00
  • 517644eab1
    Optionally compile the examples in autotools, compile+run in travis Elichai Turkel 2020-04-30 14:34:24 +03:00
  • 422a7cc86a
    Add a ecdh shared secret example Elichai Turkel 2020-04-30 14:33:22 +03:00
  • b0cfbcc143
    Add a Schnorr signing and verifying example Elichai Turkel 2020-11-09 18:11:43 +02:00
  • fee7d4bf9e
    Add an ECDSA signing and verifying example Elichai Turkel 2020-04-30 13:37:52 +03:00
  • ac71020ebe group: Save a normalize_to_zero in gej_add_ge Tim Ruffing 2022-02-04 15:11:38 +01:00
  • 1253a27756
    Merge bitcoin-core/secp256k1#1033: Add _fe_half and use in _gej_add_ge and _gej_double Tim Ruffing 2022-02-21 10:59:28 +01:00
  • 3ef94aa5ba
    Merge bitcoin-core/secp256k1#1026: ecdh: Add test computing shared_secret=basepoint with random inputs Jonas Nick 2022-02-11 19:35:24 +00:00
  • 3531a43b5b ecdh: Make generator_basepoint test depend on global iteration count Tim Ruffing 2022-02-09 11:35:45 +01:00
  • c881dd49bd ecdh: Add test computing shared_secret=basepoint with random inputs Tim Ruffing 2021-12-03 12:58:49 +01:00
  • 077528317d
    Merge bitcoin-core/secp256k1#1074: ci: Retry brew update a few times to avoid random failures Jonas Nick 2022-02-08 17:11:42 +00:00
  • e51ad3b737 ci: Retry brew update a few times to avoid random failures Tim Ruffing 2022-02-08 14:09:58 +01:00
  • b1cb969e8a ci: Revert "Attempt to make macOS builds more reliable" Tim Ruffing 2022-02-08 13:53:05 +01:00
  • f0edc90755 musig: fix number of tweaks in tweak_test Jonas Nick 2022-02-04 10:54:11 +00:00
  • 5dcc6f8dbd
    Merge bitcoin-core/secp256k1#1069: build: Replace use of deprecated autoconf macro AC_PROG_CC_C89 Jonas Nick 2022-02-06 20:43:36 +00:00
  • 59547943d6
    Merge bitcoin-core/secp256k1#1072: ci: Attempt to make macOS builds more reliable Jonas Nick 2022-02-06 19:24:32 +00:00
  • 85b00a1c65
    Merge bitcoin-core/secp256k1#1068: sage: Fix incompatibility with sage 9.4 Jonas Nick 2022-02-05 22:01:10 +00:00
  • ebb1beea78 sage: Ensure that constraints are always fastfracs Tim Ruffing 2022-02-04 15:06:58 +01:00
  • d8d54859ed ci: Run sage prover on CI Tim Ruffing 2022-02-03 12:58:55 +01:00
  • 77cfa98dbc sage: Normalize sign of polynomial factors in prover Tim Ruffing 2022-02-03 12:46:42 +01:00
  • eae75869cf sage: Exit with non-zero status in case of failures Tim Ruffing 2022-01-31 17:53:04 +01:00
  • d9396a56da ci: Attempt to make macOS builds more reliable Tim Ruffing 2022-02-04 10:44:50 +01:00
  • e0db3f8a25 build: Replace use of deprecated autoconf macro AC_PROG_CC_C89 laanwj 2022-02-02 16:46:13 +01:00
  • e848c3799c Update sage files for new formulae Peter Dettman 2021-12-27 14:02:13 +07:00
  • d64bb5d4f3 Add fe_half tests for worst-case inputs Peter Dettman 2021-12-23 16:41:10 +07:00
  • b54d843eac sage: Fix printing of errors Tim Ruffing 2022-01-31 15:17:46 +01:00
  • 725d895fc5
    Merge elementsproject/secp256k1-zkp#165: musig-spec: improve security argument for handling infinity Jonas Nick 2022-01-31 14:06:31 +00:00
  • 4eb8b932ff Further improve doubling formula using fe_half Peter Dettman 2021-12-23 14:18:46 +07:00
  • 557b31fac3 Doubling formula using fe_half Pieter Wuille 2021-12-22 19:39:22 -05:00
  • 2cbb4b1a42 Run more iterations of run_field_misc Pieter Wuille 2021-12-21 20:47:06 -05:00
  • 9cc5c257ed Add test for secp256k1_fe_half Pieter Wuille 2021-12-21 20:39:55 -05:00
  • 925f78d55e Add _fe_half and use in _gej_add_ge Peter Dettman 2021-12-06 01:24:30 +07:00
  • e108d0039c sage: Fix incompatibility with sage 9.4 Tim Ruffing 2022-01-31 12:13:37 +01:00
  • aa1acb4bd1 musig-spec: improve security argument for handling infinity Elliott Jin 2022-01-26 18:24:39 -08:00
  • d8a2463246
    Merge bitcoin-core/secp256k1#899: Reduce stratch space needed by ecmult_strauss_wnaf. Jonas Nick 2022-01-26 14:46:33 +00:00
  • 73f0cbd3cc
    Merge ElementsProject/secp256k1-zkp#157: Add description of MuSig signing to musig-spec.md Tim Ruffing 2022-01-25 10:55:01 +01:00
  • 8fd97d8116
    Merge ElementsProject/secp256k1-zkp#158: Small musig improvements Tim Ruffing 2022-01-25 10:53:30 +01:00
  • 772df3694e
    Merge ElementsProject/secp256k1-zkp#151: MuSig: Add Minimal Compatibility with BIP32 Tweaking Tim Ruffing 2022-01-25 10:17:17 +01:00
  • 0a40a4861a
    Merge bitcoin-core/secp256k1#1049: Faster fixed-input ecmult tests Tim Ruffing 2022-01-24 21:50:14 +01:00
  • 69b392f3cb musig: move explanation for aggnonce=inf to spec Jonas Nick 2021-12-31 20:56:49 +00:00
  • 4824220bb7 musig-spec: describe NonceGen, NonceAgg, Sign,PartialSig{Verify,Agg} Jonas Nick 2022-01-05 22:54:24 +00:00
  • 3c122d0780 musig-spec: improve definition of lift_x Jonas Nick 2022-01-05 22:53:58 +00:00
  • e0bb2d7009 musig-spec: improve KeyAgg description Jonas Nick 2021-12-29 19:40:18 +00:00
  • b8f4e75d89 musig-spec: move to doc directory Jonas Nick 2022-01-01 20:49:39 +00:00
  • 070e772211 Faster fixed-input ecmult tests Pieter Wuille 2021-12-22 13:39:45 -05:00
  • c8aa516b57
    Merge bitcoin-core/secp256k1#1064: Modulo-reduce msg32 inside RFC6979 nonce fn to match spec. Fixes #1063 Pieter Wuille 2022-01-22 18:37:59 -05:00
  • 8088eddc53 musig: add test vector for ordinary (non xonly) tweaking Elliott Jin 2022-01-04 12:09:43 -08:00
  • 57a17929fc musig: add ordinary and xonly tweaking to the example Jonas Nick 2021-10-26 15:52:10 +00:00
  • 37107361a0 musig: allow ordinary, non-xonly tweaking Jonas Nick 2021-10-25 21:50:08 +00:00
  • c519b46879 musig: add pubkey_get to obtain a full pubkey from a keyagg_cache Jonas Nick 2021-10-25 21:57:30 +00:00
  • b797a500ec Create a SECP256K1_ECMULT_TABLE_VERIFY macro. Russell O'Connor 2022-01-18 22:41:00 -05:00
  • a731200cc3 Replace ECMULT_TABLE_GET_GE_STORAGE macro with a function. Russell O'Connor 2022-01-18 17:27:12 -05:00
  • fe34d9f341 Eliminate input_pos state field from ecmult_strauss_wnaf. Russell O'Connor 2021-02-27 14:07:45 -05:00
  • 0397d00ba0 Eliminate na_1 and na_lam state fields from ecmult_strauss_wnaf. Russell O'Connor 2021-02-27 08:36:22 -05:00
  • 7ba3ffcca0 Remove the unused pre_a_lam allocations. Russell O'Connor 2021-02-27 08:00:55 -05:00
  • b3b57ad6ee Eliminate the pre_a_lam array from ecmult_strauss_wnaf. Russell O'Connor 2021-02-27 07:57:16 -05:00
  • ae7ba0f922 Remove the unused prej allocations. Russell O'Connor 2021-02-26 16:10:59 -05:00
  • e5c18892db Eliminate the prej array from ecmult_strauss_wnaf. Russell O'Connor 2021-02-26 15:18:50 -05:00
  • c9da1baad1 Move secp256k1_fe_one to field.h Russell O'Connor 2022-01-19 09:53:02 -05:00
  • 45f37b6506
    Modulo-reduce msg32 inside RFC6979 nonce fn to match spec. Fixes #1063. Paul Miller 2022-01-17 04:07:16 +02:00
  • a5b5909e8d
    Merge elementsproject/secp256k1-zkp#163: Typo, add subscript i Jonas Nick 2022-01-15 15:11:50 +00:00
  • 44001ad716
    Typo fix, add subscript i Kalle Rosenbaum 2022-01-15 12:31:00 +01:00
  • eb5e71b5dc
    Merge elementsproject/secp256k1-zkp#162: whitelist: remove ability to specific nonce function Jonas Nick 2022-01-13 16:47:42 +00:00
  • 11d675dce8 whitelist: remove ability to specific nonce function Andrew Poelstra 2022-01-06 19:12:14 +00:00
  • 21e2d65b79
    Merge ElementsProject/secp256k1-zkp#159: Sync Upstream Tim Ruffing 2022-01-05 18:37:06 +01:00
  • b7ebe6436c Test APIs of funcs that need an ecmult_gen ctx with static ctx Jonas Nick 2022-01-04 12:57:57 +00:00
  • d895b10c18 musig: mention musig.md in example Jonas Nick 2021-12-31 17:06:40 +00:00
  • 588009d26f musig: improve doc of partial_sig_verify regarding signing sessions Jonas Nick 2021-12-30 17:50:57 +00:00
  • 72c8deac03 Merge commits with sync-upstream.sh Jonas Nick 2022-01-01 21:59:25 +00:00
  • a1102b1219
    Merge bitcoin-core/secp256k1#1029: Simpler and faster ecdh skew fixup Pieter Wuille 2021-12-31 14:43:47 -05:00
  • b1094953c4 musig: remove superfluous comment Jonas Nick 2021-12-30 16:57:30 +00:00
  • e82144edfb Fixup skew before global Z fixup Peter Dettman 2021-12-26 14:56:28 +07:00
  • 40b624c90b Add tests for _gej_cmov Peter Dettman 2021-12-24 16:51:12 +07:00
  • 8c13a9bfe1 ECDH skews by 0 or 1 Peter Dettman 2021-12-03 23:55:40 +07:00
  • 1515099433 Simpler and faster ecdh skew fixup Peter Dettman 2021-12-03 21:08:56 +07:00
  • 39a36db94a
    Merge bitcoin-core/secp256k1#1054: tests: Fix test whose result is implementation-defined Tim Ruffing 2021-12-25 21:27:08 +01:00
  • a310e79ee5
    Merge bitcoin-core/secp256k1#1052: Use xoshiro256++ instead of RFC6979 for tests Tim Ruffing 2021-12-25 18:35:23 +01:00
  • 423b6d19d3
    Merge bitcoin-core/secp256k1#964: Add release-process.md Tim Ruffing 2021-12-25 01:02:23 +01:00
  • 9281c9f4e1
    Merge bitcoin-core/secp256k1#1053: ecmult: move _ecmult_odd_multiples_table_globalz_windowa Tim Ruffing 2021-12-25 00:10:56 +01:00
  • 77a19750b4 Use xoshiro256++ PRNG instead of RFC6979 in tests Pieter Wuille 2021-12-24 11:19:29 -05:00
  • 5f2efe684e secp256k1_testrand_int(2**N) -> secp256k1_testrand_bits(N) Pieter Wuille 2021-12-24 08:23:46 -05:00
  • 05e049b73c ecmult: move _ecmult_odd_multiples_table_globalz_windowa siv2r 2021-12-24 00:11:51 +05:30
  • 3d7cbafb5f tests: Fix test whose result is implementation-defined Tim Ruffing 2021-12-23 19:28:08 +01:00
  • 3ed0d02bf7 doc: add CHANGELOG template Jonas Nick 2021-07-06 21:51:36 +00:00
  • 6f42dc16c8 doc: add release_process.md Jonas Nick 2021-07-06 21:07:03 +00:00
  • 0bd3e4243c build: set library version to 0.0.0 explicitly Jonas Nick 2021-07-06 21:06:46 +00:00
  • b4b02fd8c4 build: change libsecp version from 0.1 to 0.1.0-pre Jonas Nick 2021-07-06 21:23:33 +00:00
  • 09971a3ffd
    Merge bitcoin-core/secp256k1#1047: ci: Various improvements Jonas Nick 2021-12-22 18:14:09 +00:00
  • 0b83b203e1
    Merge bitcoin-core/secp256k1#1030: doc: Fix upper bounds + cleanup in field_5x52_impl.h comment Tim Ruffing 2021-12-22 18:53:05 +01:00
  • 1287786c7a doc: Add comment to top of field_10x26_impl.h Elliott Jin 2021-12-06 08:54:32 -08:00
  • 58da5bd589 doc: Fix upper bounds + cleanup in field_5x52_impl.h comment Elliott Jin 2021-12-03 08:36:49 -08:00
  • b39d431aed
    Merge bitcoin-core/secp256k1#1044: Add another ecmult_multi test Jonas Nick 2021-12-22 14:14:48 +00:00
  • b4ac1a1d5f ci: Run valgrind/memcheck tasks with 2 CPUs Tim Ruffing 2021-12-21 13:13:59 +01:00
  • e70acab601 ci: Use Cirrus "greedy" flag to use idle CPU time when available Tim Ruffing 2021-12-20 18:00:13 +01:00
  • d07e30176e ci: Update brew on macOS Tim Ruffing 2021-12-20 15:43:00 +01:00
  • 22382f0ea0 ci: Test different ecmult window sizes Tim Ruffing 2021-12-15 14:10:46 +01:00
  • a69df3ad24
    Merge bitcoin-core/secp256k1#816: Improve checks at top of _fe_negate methods Tim Ruffing 2021-12-22 11:10:54 +01:00
  • 22d25c8e0a Add another ecmult_multi test Pieter Wuille 2021-12-18 11:37:19 -05:00