-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4-way KeccaK-f[1600] using AVX2 to speed up Dilithium
Also speeds up Dilithium by adding more AVX2 optimised routines. Non AVX2: BenchmarkPermutationFunction-8 3594723 326 ns/op AVX2: BenchmarkF1600x4-8 2926183 399 ns/op Dilithium Mode 3 using 4-way f[1600]: BenchmarkSkUnpack-8 37950 30844 ns/op BenchmarkPkUnpack-8 39169 30442 ns/op BenchmarkVerify-8 76672 15513 ns/op BenchmarkSign-8 10000 125782 ns/op BenchmarkGenerateKey-8 17419 68635 ns/op BenchmarkPublicFromPrivate-8 134430 9250 ns/op Without: BenchmarkSkUnpack-8 18980 61840 ns/op BenchmarkPkUnpack-8 19743 60087 ns/op BenchmarkVerify-8 39998 30421 ns/op BenchmarkSign-8 5420 228631 ns/op BenchmarkGenerateKey-8 12037 99672 ns/op BenchmarkPublicFromPrivate-8 107148 11512 ns/op See #113
- Loading branch information
Showing
62 changed files
with
4,635 additions
and
320 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
2 changes: 1 addition & 1 deletion
2
sign/dilithium/internal/aes.go → sign/dilithium/internal/common/aes.go
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package internal | ||
package common | ||
|
||
import ( | ||
"crypto/aes" | ||
|
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
2 changes: 1 addition & 1 deletion
2
sign/dilithium/internal/field_test.go → sign/dilithium/internal/common/field_test.go
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package internal | ||
package common | ||
|
||
import ( | ||
"flag" | ||
|
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.