-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AVX2: Work through basemul and document bounds
This commit adds a few comments to the AVX2 assembly for the base multiplication in NTT domain. In particular, it explains that each coefficient in the output of the basemul is bound by 2q in absolute value, and that, thus, the native AVX2 implementation of polyvec_basemul_acc_montgomery_cached_avx2() does not overflow. Signed-off-by: Hanno Becker <[email protected]>
- Loading branch information
1 parent
a2bf116
commit 2c4cdd2
Showing
2 changed files
with
27 additions
and
4 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