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

Add Bandersnatch curve #159

Merged
merged 1 commit into from
Nov 3, 2021
Merged

Add Bandersnatch curve #159

merged 1 commit into from
Nov 3, 2021

Conversation

yelhousni
Copy link
Contributor

A proposition to add bandersnatch curve (in twisted Edwards form) to gnark. This PR implements Bandersnatch as a separate package from twistededwards mainly because each companion curve is identified by the base curve ID (e.g. BLS12-381 for both Bandersnatch and Jubjub). This has the advantage to keep backward compatibility but duplicates the exact same code. The other option is to create in gnark-crypto an ID for companion curves but gnark users should update their code.

@gbotrel
Copy link
Collaborator

gbotrel commented Nov 3, 2021

Will leave the duplicated code for this release to avoid API changes, but revisit along side #80 .
Track here: #165.

@gbotrel gbotrel merged commit c1e3204 into develop Nov 3, 2021
@gbotrel gbotrel deleted the std/bandersnatch branch November 3, 2021 20:29
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