-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(special primes accel): Support Crandall primes / Pseudo-Mersenne Prime fast reduction - closes #11 * feat(special primes accel): refactoring: p-1 support ompiles on 64-bit, renaming of lazy reduction both in Montgomery and Crandall to lazyReduction * feat(special primes accel): support 32-bit * chore: lazyReduction->lazyReduce * fix: fp mulsquare test * feat: Crandall exponentiation * feat: initial commit assembly for Crandall reduction, passing secp256k1, failing edwards25519 * feat(asm-crandall): actually use the assembly * feat(asm-crandall): fix sqrt test and short immediate * feat(crandall reduction): x86-adx reduction * feat(crandall reduction): add final reduce, deactivate adx partial reduce temporarily * feat(crandall reduction): fix adx partial reduce * feat(crandall reduction): prevent asm for mul on 32-bit * feat(bench): check overhead of field calls * feat(crandall reduction): prevent asm for mul on 32-bit reloaded * crandall-primes: reactivate tests for secp256k1
- Loading branch information
Showing
51 changed files
with
2,080 additions
and
498 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
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
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
Oops, something went wrong.