-
Notifications
You must be signed in to change notification settings - Fork 216
Bulletproofs (rangeproofs only) #23
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
Closed
apoelstra
wants to merge
61
commits into
BlockstreamResearch:secp256k1-zkp
from
apoelstra:bulletproofs-rangeonly
Closed
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
efc61dc
Add 64-bit integer utilities
gmaxwell ae1e576
Pedersen commitments, borromean ring signatures, and ZK range proofs.
gmaxwell 6d28767
Get rid of precomputed H tables (Pieter Wuille)
apoelstra cf40b1b
[RANGEPROOF BREAK] Use quadratic residue for tie break and modularity…
apoelstra d46fc3c
rangeproof: expose sidechannel message field in the signing API
apoelstra f4620de
Constant-time generator module
sipa 21bfb3c
Expose generator in pedersen/rangeproof API
sipa a2bc660
rangeproof: several API changes
apoelstra c174f0c
Implement ring-signature based whitelist delegation scheme
apoelstra 0c17f79
add surjection proof module
apoelstra e609591
rangeproof: fix memory leak in unit tests
apoelstra 7878a29
surjectionproof: tests_impl.h s/assert/CHECK/g
apoelstra 1e2d5c1
surjectionproof: add API unit tests
apoelstra 417bb06
surjectionproof: rename unit test functions to be more consistent wit…
apoelstra 0d81702
rangeproof: add API tests
apoelstra 7f17515
Fix include/secp256k1_rangeproof.h function argument documentation.
jonasnick 9b8a9d9
whitelist: fix serialize/parse API to take serialized length
apoelstra 37c57de
Fix checks of whitelist serialize/parse arguments
jonasnick b51886e
Add n_keys argument to whitelist_verify
jonasnick 526c654
Fix pedersen_blind_generator_blind_sum return value documentation
jonasnick b0e9aa8
Fix generator makefile
instagibbs ec1ef04
generator: remove unnecessary ARG_CHECK from generate()
apoelstra a707865
generator: add API tests
apoelstra 52a9f8f
add whitelist_impl.h to include for dist
instagibbs b1f31bc
Add whitelisting benchmark
jonasnick 0c77ae9
Minor bugfix. Wrong length due to NUL character.
datavetaren a3a1800
Reject surjection proofs with trailing garbage
real-or-random 9b2cf17
Test for rejection of trailing bytes in surjection proofs
real-or-random fb75faa
Test for rejection of trailing bytes in range proofs
real-or-random fb1ba32
fix spelling in documentation
instagibbs e065d7d
Expose generator in shared library
FrankC01 44fe43d
rangeproof: add fixed vector test case
apoelstra ae14e8a
rangeproof: check that points deserialize correctly when verifying ra…
apoelstra 32d7526
generator: verify correctness of point when parsing
apoelstra 60c173b
rangeproof: verify correctness of pedersen commitments when parsing
apoelstra 2ccf885
rangeproof: fix serialization of pedersen commintments
apoelstra 85fd42f
add unit test for generator and pedersen commitment roundtripping
apoelstra 71c5fe0
Add comment to explain effect of max_n_iterations in surjectionproof_…
jonasnick 53ad841
Add explanation about how BIP32 unhardened derivation can be used to …
jonasnick ed59fbe
Add trivial ecmult_multi algorithm. It is selected when no scratch sp…
jonasnick 8c444ee
use proper types for rangeproof min/max
instagibbs 12b0e5d
Enable more builds with rest of experimental flags
instagibbs 2b2429d
rangeproof: reduce iteration count in unit tests
apoelstra 6532fa0
Merge pull request #39 from instagibbs/more_builds
apoelstra 43dd1f4
Merge pull request #40 from instagibbs/size_t
apoelstra 8260800
add chacha20 function
apoelstra f0e4bb9
Add schnorrsig module which implements BIP-schnorr [0] compatible sig…
apoelstra 77d5b4a
Add MuSig module which allows creating n-of-n multisignatures and ada…
jonasnick 2fc700a
Add 3-of-3 MuSig example
jonasnick d5e22a5
Merge pull request #35 from jonasnick/2018-10-musig
apoelstra 892ab77
generator: add constant G and H generators
apoelstra db39447
split Pedersen commitments out into their own module
apoelstra 0ac92f4
commitment: allow setting the blinding factor generator for Pedersen …
apoelstra 72ffc02
bulletproofs: add module, full support for rangeproofs
apoelstra 14b003f
bulletproofs: add rangeproof rewinding capability
apoelstra 9601a66
bulletproofs: add benchmark
apoelstra 849a258
commitment and bulletproof: fix a bunch of typos and stuff (thanks Ti…
apoelstra 6922c91
bulletproofs: extensively comment inner product proof, remove a coupl…
apoelstra 81d22c9
bulletproofs: add `n_commits` to the hash of all rangeproof input data
apoelstra 5cda465
add new modules to travis
apoelstra 6fb7e05
rangeproof: reduce test iterations; add echo script to travis to prev…
apoelstra 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
since you're adding
bench_generator', you could also add the missing
bench_whitelist`