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

Implement Granger-Scott faster squaring in the cyclotomic subgroup. #449

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

armfazh
Copy link
Contributor

@armfazh armfazh commented Jul 16, 2023

Implement faster squaring by Granger-Scott.
See Page 7 of https://www.iacr.org/archive/pkc2010/60560212/60560212.pdf

BenchmarkFinalExpo/HardExp-16      1869311       1186504       -36.53%
BenchmarkFinalExpo/FinalExp-16     1941307       1283443       -33.89%
BenchmarkPair/Pair-16              2879087       2203070       -23.48%
BenchmarkPair/ProdPair3-16         10354636      9508109       -8.18%

@armfazh armfazh added the enhancement Improvement over something already in the project label Jul 16, 2023
@armfazh armfazh requested a review from bwesterb July 16, 2023 00:37
@armfazh armfazh self-assigned this Jul 16, 2023
@bwesterb bwesterb merged commit ede59c5 into cloudflare:main Jan 3, 2024
10 checks passed
@armfazh armfazh deleted the sqrGrangerScott branch January 22, 2024 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement over something already in the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants