Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #174: Upstream PRs 1064, 1049, 899, 1068, 1072, 1069, 1074, 102…
…6, 1033, 748, 1079, 1088, 1090, 731, 1089, 995, 1094, 1093 645d9c5 examples: let musig use random.h instead of /dev/urandom (Jonas Nick) eccba5b examples: relicense musig example to CC0 public domain (Jonas Nick) 7c5af74 ci: fix missing EXPERIMENTAL flags (Jonas Nick) 03bea1e configure: add -zkp modules to dev-mode and remove redundant code (Jonas Nick) 2adb741 examples: rename example_musig to musig_example for consistency (Jonas Nick) 37d3692 tests: Add tests for _read_be32 and _write_be32 (Tim Ruffing) 616b43d util: Remove endianness detection (Tim Ruffing) 8d89b9e hash: Make code agnostic of endianness (Tim Ruffing) 55512d3 doc: clean up module help text in configure.ac (Elliott Jin) d9d94a9 doc: mention optional modules in README (Elliott Jin) 7f09d0f README: mention that ARM assembly is experimental (Jonas Nick) 80cf4ee build: stop treating schnorrsig, extrakeys modules as experimental (Jonas Nick) b8f8b99 docs: Fix return value for functions that don't have invalid inputs (Tim Ruffing) f813bb0 schnorrsig: Adapt example to new API (Tim Ruffing) 99e6568 schnorrsig: Rename schnorrsig_sign to schnorsig_sign32 and deprecate (Tim Ruffing) fc94a2d Use SECP256K1_DEPRECATED for existing deprecated API functions (Tim Ruffing) 3db0560 Add SECP256K1_DEPRECATED attribute for marking API parts as deprecated (Tim Ruffing) f8d9174 Add SHA256 bit counter tests (Tim Ruffing) 9b514ce Add test vector for very long SHA256 messages (Tim Ruffing) 8e3dde1 Simplify struct initializer for SHA256 padding (Tim Ruffing) eb28464 Change SHA256 byte counter from size_t to uint64_t (Tim Ruffing) 21b2eba configure: Remove redundant pkg-config code (Tim Ruffing) 0d253d5 configure: Use modern way to set AR (Tim Ruffing) e0838d6 configure: Add hidden --enable-dev-mode to enable all the stuff (Tim Ruffing) fabd579 configure: Remove redundant code that sets _enable variables (Tim Ruffing) 0d4226c configure: Use canonical variable prefix _enable consistently (Tim Ruffing) 7c9502c Add a copy of the CC0 license to the examples (Elichai Turkel) 42e0343 Add usage examples to the readme (Elichai Turkel) 517644e Optionally compile the examples in autotools, compile+run in travis (Elichai Turkel) 422a7cc Add a ecdh shared secret example (Elichai Turkel) b0cfbcc Add a Schnorr signing and verifying example (Elichai Turkel) fee7d4b Add an ECDSA signing and verifying example (Elichai Turkel) e848c37 Update sage files for new formulae (Peter Dettman) d64bb5d Add fe_half tests for worst-case inputs (Peter Dettman) 4eb8b93 Further improve doubling formula using fe_half (Peter Dettman) 557b31f Doubling formula using fe_half (Pieter Wuille) 2cbb4b1 Run more iterations of run_field_misc (Pieter Wuille) 9cc5c25 Add test for secp256k1_fe_half (Pieter Wuille) 925f78d Add _fe_half and use in _gej_add_ge (Peter Dettman) 3531a43 ecdh: Make generator_basepoint test depend on global iteration count (Tim Ruffing) c881dd4 ecdh: Add test computing shared_secret=basepoint with random inputs (Tim Ruffing) e51ad3b ci: Retry `brew update` a few times to avoid random failures (Tim Ruffing) b1cb969 ci: Revert "Attempt to make macOS builds more reliable" (Tim Ruffing) e0db3f8 build: Replace use of deprecated autoconf macro AC_PROG_CC_C89 (laanwj) d9396a5 ci: Attempt to make macOS builds more reliable (Tim Ruffing) ebb1bee sage: Ensure that constraints are always fastfracs (Tim Ruffing) d8d5485 ci: Run sage prover on CI (Tim Ruffing) 77cfa98 sage: Normalize sign of polynomial factors in prover (Tim Ruffing) eae7586 sage: Exit with non-zero status in case of failures (Tim Ruffing) b54d843 sage: Fix printing of errors (Tim Ruffing) e108d00 sage: Fix incompatibility with sage 9.4 (Tim Ruffing) b797a50 Create a SECP256K1_ECMULT_TABLE_VERIFY macro. (Russell O'Connor) a731200 Replace ECMULT_TABLE_GET_GE_STORAGE macro with a function. (Russell O'Connor) fe34d9f Eliminate input_pos state field from ecmult_strauss_wnaf. (Russell O'Connor) 0397d00 Eliminate na_1 and na_lam state fields from ecmult_strauss_wnaf. (Russell O'Connor) 7ba3ffc Remove the unused pre_a_lam allocations. (Russell O'Connor) b3b57ad Eliminate the pre_a_lam array from ecmult_strauss_wnaf. (Russell O'Connor) ae7ba0f Remove the unused prej allocations. (Russell O'Connor) e5c1889 Eliminate the prej array from ecmult_strauss_wnaf. (Russell O'Connor) c9da1ba Move secp256k1_fe_one to field.h (Russell O'Connor) 070e772 Faster fixed-input ecmult tests (Pieter Wuille) 45f37b6 Modulo-reduce msg32 inside RFC6979 nonce fn to match spec. Fixes #1063. (Paul Miller) Pull request description: [bitcoin-core/secp256k1#1064]: Modulo-reduce msg32 inside RFC6979 nonce fn to match spec. Fixes #1063 [bitcoin-core/secp256k1#1049]: Faster fixed-input ecmult tests [bitcoin-core/secp256k1#899]: Reduce stratch space needed by ecmult_strauss_wnaf. [bitcoin-core/secp256k1#1068]: sage: Fix incompatibility with sage 9.4 [bitcoin-core/secp256k1#1072]: ci: Attempt to make macOS builds more reliable [bitcoin-core/secp256k1#1069]: build: Replace use of deprecated autoconf macro AC_PROG_CC_C89 [bitcoin-core/secp256k1#1074]: ci: Retry brew update a few times to avoid random failures [bitcoin-core/secp256k1#1026]: ecdh: Add test computing shared_secret=basepoint with random inputs [bitcoin-core/secp256k1#1033]: Add _fe_half and use in _gej_add_ge and _gej_double [bitcoin-core/secp256k1#748]: Add usage examples [bitcoin-core/secp256k1#1079]: configure: Add hidden --enable-dev-mode to enable all the stuff [bitcoin-core/secp256k1#1088]: configure: Use modern way to set AR [bitcoin-core/secp256k1#1090]: configure: Remove redundant pkg-config code [bitcoin-core/secp256k1#731]: Change SHA256 byte counter from size_t to uint64_t [bitcoin-core/secp256k1#1089]: Schnorrsig API improvements [bitcoin-core/secp256k1#995]: build: stop treating schnorrsig, extrakeys modules as experimental [bitcoin-core/secp256k1#1094]: doc: Clarify configure flags for optional modules [bitcoin-core/secp256k1#1093]: hash: Make code agnostic of endianness This PR can be recreated with `./sync-upstream.sh range 8746600`. ACKs for top commit: real-or-random: ACK 645d9c5 I rederived the tree, and tested it with MSVC, including the musig example Tree-SHA512: 3b771630806ed8481053958c21820dce6e869371833cd18a5c430a2768bda8064ad2bb247afbe38e3fa37320a8b1dbbe65ad68c8963efb995d96aa29ae574884
- Loading branch information