-
Notifications
You must be signed in to change notification settings - Fork 8
Generalize the range proof test relation #80
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
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
5c01c38
Generalize the range proof test relation
cjpatton 1fd98b5
SQUASH Run test on user specified input and bound
cjpatton 979e68d
SQUASH Simplify an iterator
cjpatton ad43032
SQUASH Fix bits computation
cjpatton c97ab34
SQUASH Remove reference for bit decomposition
cjpatton 7555c21
SQUASH Check that the bases add up to bound - 1
cjpatton 047f218
chore: better algorithm for base decomposition
mmaker a8f398b
SQUASH `bits` -> `whole_bits`, `num_bases` -> `bits`
cjpatton ffb1601
SQUASH Bit decomp should be constant time
cjpatton 57695d2
SQUASH Forgot to return `b`
cjpatton f399ffc
SQUSAH `bits` -> `bases.len()` for consistency
cjpatton 8e9e514
SQUASH Rename the function to use range
cjpatton de8bd57
Fix Mau09 link (#82)
bufferhe4d 39f5f80
chore: implement ConditionallySelectable for ComposedCommitment and C…
mmaker 391d135
nit: simplify code for range proofs.
mmaker 8269e82
cargo fmt
mmaker 743a719
Merge branch 'main' into cjpatton/krs-range-proof
mmaker cc438f7
Merge branch 'main' into cjpatton/krs-range-proof
mmaker 23f0d7b
fix: package name madness
mmaker 83609a7
chore: update range proof.
mmaker 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
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.
@mmaker I don't like the name
bitsfor this because it sounds like the number of bits we want to decompose the input into (i.e.,bases.len()). I rename towhole_bitsto denote the fact that it's the number of "non-remainder" bits.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.
makes sense, thanks