-
Notifications
You must be signed in to change notification settings - Fork 256
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
Implement GLV for the Bandersnatch curve #718
Comments
Happy to take this! Wanted to add the Banderwagon construction too used for Ethereum Verkle trees. Edit: Nevermind. arkworks-rs/curves#102 Already resolves this. |
@CPerezz Actually this is still open - the PR you mention was using the old GLV interface which has since changed. I believe this should be a simple change, given that the code was already in an older PR to curves, but I temporarily removed it as it wasn't clear why the curve parameters were different. |
I am in the process of adding GLV for secp256k1 and would take this one, and ideally streamline the process, with addition script that helps people in the future to generate the parameters. |
^ I will do the GLV for the simple curves (a=0) today. For those with more than one parameters, anyone with a good reference? For Ed curve, do we just implement the one for the ed config, or more? |
Hey @weikengchen this script from Gnark might help. We used it to generate all the endo params in |
^ do you happen to have one for more complicated cases like Bandersnatch? I.e., twisted edwards curves. They have endo, but very different. |
Sadly no.. At least I',m not aware of it. We don't have any TwEd curves in cc: @yelhousni maybe you've derived the script and I missed it? |
Summary
We removed the parameters for Bandersnatch from arkworks-rs/curves#158 due to subsequent changes in the Bandersnatch parameters (although producing isomorphic curves).
First, let's implement the new curve parameters and then see about enabling GLV for it.
For Admin Use
The text was updated successfully, but these errors were encountered: