-
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.
Merge pull request #195 from GaloisInc/182-rejection-sampling
ML-DSA: Add rejection sampling functions
- Loading branch information
Showing
2 changed files
with
179 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
Primitive/Asymmetric/Signature/ML_DSA/Instantiations/ML_DSA_44.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,21 @@ | ||
/** | ||
* Instantiation of the ML-DSA-44 parameter set. | ||
* [FIPS-204] Section 4, Table 1. | ||
* | ||
* This is in security strength category 2. | ||
* | ||
* @copyright Galois Inc | ||
* @author Marcella Hastings <marcella@galois.com> | ||
*/ | ||
module Primitive::Asymmetric::Signature::ML_DSA::Instantiations::ML_DSA_44 = | ||
Primitive::Asymmetric::Signature::ML_DSA::Specification where | ||
|
||
type q = 8380417 | ||
type τ = 39 | ||
type λ = 128 | ||
type γ1 = 2 ^^ 17 | ||
type γ2 = (q - 1) / 88 | ||
type k = 4 | ||
type ell = 4 | ||
type η = 2 | ||
type ω = 80 |
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