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

Banderwagon: clearing cofactors #378

Closed
mratsim opened this issue May 8, 2024 · 1 comment
Closed

Banderwagon: clearing cofactors #378

mratsim opened this issue May 8, 2024 · 1 comment

Comments

@mratsim
Copy link
Owner

mratsim commented May 8, 2024

The documentation is clear on clearing Bandersnatch cofactor: https://hackmd.io/@6iQDuIePQjyYBqDChYw_jg/BJBNcv9fq#Bandersnatch-Subgroup

However it is unclear if this also applies for Banderwagon.

Clearing cofactor is necessary for a generic test suites for endomorphism acceleration (see #298)

The alternatives are:

  • Repeatedly creating points and checking if (1-aX²)/p = 1 which is not ideally if probability is low as it will slow down CI.
  • Or scalar multiplying a generator point.
    This is somewhat self-defeating if what we want to test is scalar multiplication
@mratsim
Copy link
Owner Author

mratsim commented Jun 27, 2024

There is no cofactor to clear since the curve is of prime order. However we can move from Bandersnatch to Banderwagon by adapting the deserialization strategy.

@mratsim mratsim closed this as completed Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant