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

Simplify the canonicity check for variable-base scalar multiplication #121

Merged
merged 2 commits into from
Jun 17, 2021

Conversation

daira
Copy link
Contributor

@daira daira commented Jun 16, 2021

Range-check the low 130 bits rather than the low 127 bits.

Signed-off-by: Daira Hopwood daira@jacaranda.org

by range-checking the low 130 bits rather than the low 127 bits.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Copy link
Contributor

@therealyingtong therealyingtong left a comment

Choose a reason for hiding this comment

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

Tested ACK.

src/circuit/gadget/ecc/chip/mul/overflow.rs Outdated Show resolved Hide resolved
Co-authored-by: ying tong <yingtong@z.cash>
@daira
Copy link
Contributor Author

daira commented Jun 17, 2021

This will be re-reviewed as part of #111, and it simplifies that PR, so it doesn't need more than one review here.

@daira daira merged commit 4bcd4e4 into zcash:ecc-mul Jun 17, 2021
@daira daira deleted the ecc-mul-simplification branch June 17, 2021 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants