Skip to content

Conversation

ilitteri
Copy link
Collaborator

No description provided.

@ilitteri ilitteri self-assigned this Mar 31, 2023
// that the resulting point is on the curve.
//
// Returns the indices to the resulting point x and y coordinates.
func AddPoints(augendPointX, augendPointY, addendPointX, addendPointY int, ctx *backend.Context, checkPoint bool) (newPointX, newPointY int) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Point addition algorithm is wrong.

// that the resulting point is on the curve.
//
// Returns the indices to the resulting point x and y coordinates.
func DoublePoint(x, y int, ctx *backend.Context, checkPoint bool) (doubledX, doubledY int) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Also point double algorithm is wrong.

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.

1 participant