-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upstream PRs 1064, 1049, 899, 1068, 1072, 1069, 1074, 1026, 1033, 748, 1079, 1088, 1090, 731, 1089, 995, 1094, 1093 #174
Merged
real-or-random
merged 81 commits into
BlockstreamResearch:master
from
jonasnick:temp-merge-1093
Apr 1, 2022
Merged
Changes from all commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
45f37b6
Modulo-reduce msg32 inside RFC6979 nonce fn to match spec. Fixes #1063.
paulmillr c9da1ba
Move secp256k1_fe_one to field.h
roconnor-blockstream e5c1889
Eliminate the prej array from ecmult_strauss_wnaf.
roconnor-blockstream ae7ba0f
Remove the unused prej allocations.
roconnor-blockstream b3b57ad
Eliminate the pre_a_lam array from ecmult_strauss_wnaf.
roconnor-blockstream 7ba3ffc
Remove the unused pre_a_lam allocations.
roconnor-blockstream 0397d00
Eliminate na_1 and na_lam state fields from ecmult_strauss_wnaf.
roconnor-blockstream fe34d9f
Eliminate input_pos state field from ecmult_strauss_wnaf.
roconnor-blockstream a731200
Replace ECMULT_TABLE_GET_GE_STORAGE macro with a function.
roconnor-blockstream b797a50
Create a SECP256K1_ECMULT_TABLE_VERIFY macro.
roconnor-blockstream c8aa516
Merge bitcoin-core/secp256k1#1064: Modulo-reduce msg32 inside RFC6979…
sipa 070e772
Faster fixed-input ecmult tests
sipa 0a40a48
Merge bitcoin-core/secp256k1#1049: Faster fixed-input ecmult tests
real-or-random d8a2463
Merge bitcoin-core/secp256k1#899: Reduce stratch space needed by ecmu…
jonasnick e108d00
sage: Fix incompatibility with sage 9.4
real-or-random 925f78d
Add _fe_half and use in _gej_add_ge
peterdettman 9cc5c25
Add test for secp256k1_fe_half
sipa 2cbb4b1
Run more iterations of run_field_misc
sipa 557b31f
Doubling formula using fe_half
sipa 4eb8b93
Further improve doubling formula using fe_half
peterdettman b54d843
sage: Fix printing of errors
real-or-random d64bb5d
Add fe_half tests for worst-case inputs
peterdettman e848c37
Update sage files for new formulae
peterdettman e0db3f8
build: Replace use of deprecated autoconf macro AC_PROG_CC_C89
laanwj d9396a5
ci: Attempt to make macOS builds more reliable
real-or-random eae7586
sage: Exit with non-zero status in case of failures
real-or-random 77cfa98
sage: Normalize sign of polynomial factors in prover
real-or-random d8d5485
ci: Run sage prover on CI
real-or-random ebb1bee
sage: Ensure that constraints are always fastfracs
real-or-random 85b00a1
Merge bitcoin-core/secp256k1#1068: sage: Fix incompatibility with sag…
jonasnick 5954794
Merge bitcoin-core/secp256k1#1072: ci: Attempt to make macOS builds m…
jonasnick 5dcc6f8
Merge bitcoin-core/secp256k1#1069: build: Replace use of deprecated a…
jonasnick b1cb969
ci: Revert "Attempt to make macOS builds more reliable"
real-or-random e51ad3b
ci: Retry `brew update` a few times to avoid random failures
real-or-random 0775283
Merge bitcoin-core/secp256k1#1074: ci: Retry brew update a few times …
jonasnick c881dd4
ecdh: Add test computing shared_secret=basepoint with random inputs
real-or-random 3531a43
ecdh: Make generator_basepoint test depend on global iteration count
real-or-random 3ef94aa
Merge bitcoin-core/secp256k1#1026: ecdh: Add test computing shared_se…
jonasnick 1253a27
Merge bitcoin-core/secp256k1#1033: Add _fe_half and use in _gej_add_g…
real-or-random fee7d4b
Add an ECDSA signing and verifying example
elichai b0cfbcc
Add a Schnorr signing and verifying example
elichai 422a7cc
Add a ecdh shared secret example
elichai 517644e
Optionally compile the examples in autotools, compile+run in travis
elichai 42e0343
Add usage examples to the readme
elichai 7c9502c
Add a copy of the CC0 license to the examples
elichai 64b3497
Merge bitcoin-core/secp256k1#748: Add usage examples
jonasnick 0d4226c
configure: Use canonical variable prefix _enable consistently
real-or-random fabd579
configure: Remove redundant code that sets _enable variables
real-or-random e0838d6
configure: Add hidden --enable-dev-mode to enable all the stuff
real-or-random ac83be3
Merge bitcoin-core/secp256k1#1079: configure: Add hidden --enable-dev…
jonasnick eb28464
Change SHA256 byte counter from size_t to uint64_t
real-or-random 8e3dde1
Simplify struct initializer for SHA256 padding
real-or-random 9b514ce
Add test vector for very long SHA256 messages
real-or-random 0d253d5
configure: Use modern way to set AR
real-or-random 0e5cbd0
Merge bitcoin-core/secp256k1#1088: configure: Use modern way to set AR
jonasnick 21b2eba
configure: Remove redundant pkg-config code
real-or-random e0508ee
Merge bitcoin-core/secp256k1#1090: configure: Remove redundant pkg-co…
real-or-random 80cf4ee
build: stop treating schnorrsig, extrakeys modules as experimental
jonasnick 3db0560
Add SECP256K1_DEPRECATED attribute for marking API parts as deprecated
real-or-random fc94a2d
Use SECP256K1_DEPRECATED for existing deprecated API functions
real-or-random 99e6568
schnorrsig: Rename schnorrsig_sign to schnorsig_sign32 and deprecate
real-or-random f813bb0
schnorrsig: Adapt example to new API
real-or-random b8f8b99
docs: Fix return value for functions that don't have invalid inputs
real-or-random 7f09d0f
README: mention that ARM assembly is experimental
jonasnick f8d9174
Add SHA256 bit counter tests
real-or-random 587239d
Merge bitcoin-core/secp256k1#731: Change SHA256 byte counter from siz…
real-or-random 1ac7e31
Merge bitcoin-core/secp256k1#1089: Schnorrsig API improvements
real-or-random d0ad581
Merge bitcoin-core/secp256k1#995: build: stop treating schnorrsig, ex…
real-or-random 8d89b9e
hash: Make code agnostic of endianness
real-or-random 616b43d
util: Remove endianness detection
real-or-random d9d94a9
doc: mention optional modules in README
robot-dreams 55512d3
doc: clean up module help text in configure.ac
robot-dreams 912b7cc
Merge bitcoin-core/secp256k1#1094: doc: Clarify configure flags for o…
jonasnick 37d3692
tests: Add tests for _read_be32 and _write_be32
real-or-random 8746600
Merge bitcoin-core/secp256k1#1093: hash: Make code agnostic of endian…
real-or-random 8298c0c
Merge commits 'c8aa516b 0a40a486 d8a24632 85b00a1c 59547943 5dcc6f8d …
jonasnick 2adb741
examples: rename example_musig to musig_example for consistency
jonasnick 03bea1e
configure: add -zkp modules to dev-mode and remove redundant code
jonasnick 7c5af74
ci: fix missing EXPERIMENTAL flags
jonasnick eccba5b
examples: relicense musig example to CC0 public domain
jonasnick 645d9c5
examples: let musig use random.h instead of /dev/urandom
jonasnick File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And the musig example does not need
-lbcrypt
because windows is not supported. The example should probably be changed to support window, so it's ok to leave the change here in the PR even if you don't want to change the example in this PR.