Skip to content
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

Merge main into circuit #111

Merged
merged 9 commits into from
Jul 12, 2018
Merged

Merge main into circuit #111

merged 9 commits into from
Jul 12, 2018

Conversation

hdevalence
Copy link
Contributor

This pulls in the changes to use compressed points in the rangeproofs and inner product proofs.

The current circuit proof code stores the points in the circuit proof in uncompressed format, which is now inconsistent with the range proof code. Maybe this PR should also change the circuit proofs to use compressed points?

oleganza and others added 9 commits July 11, 2018 13:32
The `read32` function extracts the first 32 bytes of a slice as an
array. This makes the parsing code cleaner.
Canonical serialization format for RangeProof
Now that the IPP points are stored in compressed form, they have to be
decompressed during verification.
@hdevalence hdevalence added PTAL Ready for peer review T-r1cs Related to constraint system labels Jul 12, 2018
Copy link
Member

@cathieyun cathieyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@cathieyun cathieyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, let's also open an issue to change the circuit code to use compressed points.

@hdevalence
Copy link
Contributor Author

Oh, okay, I was going to add that to this PR.

I don't think it's super important, but it seems like when merging changes from main into circuit, we should re-structure the circuit code as needed as part of the merge PR, so that the changes are more atomic.

@hdevalence hdevalence deleted the merge-main-into-circuit branch July 13, 2018 18:30
@cathieyun
Copy link
Member

ok that sounds good for future changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PTAL Ready for peer review T-r1cs Related to constraint system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants