-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mldsa: add third parameter set and KATs
- Loading branch information
Showing
2 changed files
with
131 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
Primitive/Asymmetric/Signature/ML_DSA/Instantiations/ML_DSA_87.cry
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* Instantiation of the ML-DSA-87 parameter set. | ||
* [FIPS-204] Section 4, Table 1. | ||
* | ||
* This is in security strength category 5. | ||
* | ||
* @copyright Galois Inc | ||
* @author Marcella Hastings <[email protected]> | ||
*/ | ||
module Primitive::Asymmetric::Signature::ML_DSA::Instantiations::ML_DSA_87 = | ||
Primitive::Asymmetric::Signature::ML_DSA::ML_DSA where | ||
|
||
type q = 8380417 | ||
type τ = 60 | ||
type λ = 256 | ||
type γ1 = 2 ^^ 19 | ||
type γ2 = (q - 1) / 32 | ||
type k = 8 | ||
type ell = 7 | ||
type η = 2 | ||
type ω = 75 | ||
|
Oops, something went wrong.