-
Notifications
You must be signed in to change notification settings - Fork 5
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
Powers of two multiples gadget implemented for Twisted Edwards Curves #36
Conversation
Switch to ark-transcript
…ts still needs to be fixed)
- Clean up linearization test.
Cond Add extendend with TE
Ok, i finally noticed it |
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.
Blocker: #39
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.
LGTM
@drskalman @swasilyev is there any blocker? |
Please repeat wo reformatting all the code. Also there s no need in a trait for te/sw gadgets. The circuit knows in which form the data is. |
Or first reformat, add the formatting rules to the ci, then send the pr |
(x1 - x2) * (x1 - x2) * (x1 + x2 + x3) | ||
- (y2 - y1) * (y2 - y1) | ||
) + (F::one() - b) * (y3 - y1); | ||
let mut c1 = b * ((x1 - x2) * (x1 - x2) * (x1 + x2 + x3) - (y2 - y1) * (y2 - y1)) |
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.
Here I don't know if @swasilyev wants to maintain its formatting
Still not adequate for review. The traits have to be removed. |
Closes #35