-
Notifications
You must be signed in to change notification settings - Fork 206
Use interleaving to improve performance of G2 arithmetic and pairings #84
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
Conversation
ITYM /2022/367 ? |
|
Indeed yes, IDK how the increment happened (gonna blame the new key Oard). |
3c80c48 to
2623717
Compare
|
I accidentally-on-purpose made it faster. Benchmarks on an M1 of the combined Fp2 and Fp6 changes relative to current |
This uses Algorithm 2 from https://eprint.iacr.org/2022/367 to speed up pairing operations.
This requires making `Fp2::mul` non-const, in order to be able to use `Fp::sum_of_products`. But `Fp2` is not public, so it doesn't affect the crate API.
e23e576 to
ed8f172
Compare
6c3a3ac to
ed8f172
Compare
|
Tried using the interleaving for |
This uses Algorithm 2 from https://eprint.iacr.org/2022/367 to speed up Fp2 and Fp6 multiplication.