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

Powers of two multiples gadget implemented for Twisted Edwards Curves #36

Closed
wants to merge 57 commits into from

Conversation

drskalman
Copy link
Collaborator

Closes #35

@swasilyev
Copy link
Collaborator

Ok, i finally noticed it

Copy link
Collaborator

@davxy davxy left a comment

Choose a reason for hiding this comment

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

Blocker: #39

Copy link
Collaborator

@davxy davxy left a comment

Choose a reason for hiding this comment

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

LGTM

@davxy
Copy link
Collaborator

davxy commented Nov 26, 2024

@drskalman @swasilyev is there any blocker?

@swasilyev
Copy link
Collaborator

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.

@swasilyev swasilyev closed this Dec 2, 2024
@swasilyev
Copy link
Collaborator

swasilyev commented Dec 2, 2024

Or first reformat, add the formatting rules to the ci, then send the pr

@swasilyev swasilyev reopened this Dec 4, 2024
(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))
Copy link
Collaborator

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

@davxy davxy self-requested a review December 4, 2024 14:05
@swasilyev
Copy link
Collaborator

Still not adequate for review. The traits have to be removed.

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.

Implement $2^{i}G$ gadget
3 participants