-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. I found the div_two trick in invNTT is slow, which introduces O(NlgN) more reductions. It seems better to merge the n^{-1} step with the last layer of invNTT. Actually, the modulo multiplication with a fixed value is fast via Shoup's accleration.
- Loading branch information
Showing
2 changed files
with
94 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters