Skip to content

Commit

Permalink
mldsa: add third parameter set and KATs
Browse files Browse the repository at this point in the history
  • Loading branch information
marsella committed Jan 7, 2025
1 parent 6fd05ed commit dbf6670
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Primitive/Asymmetric/Signature/ML_DSA/Instantiations/ML_DSA_87.cry
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

Loading

0 comments on commit dbf6670

Please sign in to comment.