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

Square root on BW6 can be optimized #52

Open
kobigurk opened this issue Aug 16, 2020 · 2 comments
Open

Square root on BW6 can be optimized #52

kobigurk opened this issue Aug 16, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@kobigurk
Copy link
Collaborator

kobigurk commented Aug 16, 2020

It seems like the square root implementation in Zexe is Tonelli-Shanks, and since q = 3 mod 4 it can be optimized. This affects, for example, proof deserialization or random group element generation for testing.

cc @jon-chuang

@kobigurk kobigurk added the enhancement New feature or request label Aug 16, 2020
@jon-chuang
Copy link

How much better is this?

@kobigurk
Copy link
Collaborator Author

Not sure tbh, haven't checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants