-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Sage script for dlog precomp constants calculation #359
Comments
@mratsim As far as I know, sage only supports Weierstrass curves and doesn't support Twisted Edwards curves like Banderwagon and Bandersnatch. So is there any way around this? |
We're working at the field level so we only need Fp = GF('0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001') |
Pasting my comment on modularization #369 (comment)
|
The PR #354 adds the pre-comp optimisation for
sqrt
, which has the constants prepared only forA
sage
script is supposed to be added for the calculation of the these constants for other curves. The algorithm for the calculation of the constants can be found herehttps://github.com/crate-crypto/go-ipa/blob/408dbffb2041271c95979a3fb79d98b268bf2880/bandersnatch/fp/sqrt.go#L45-L89
A corresponding sage script is supposed to be created and added inside the sage folder
The text was updated successfully, but these errors were encountered: