spec-fips-204-ml-dsa
NIST standard FIPS 204 specifying ML-DSA, a lattice-based (MLWE) post-quantum digital signature scheme derived from CRYSTALS-DILITHIUM, with key generation, signing, verification, and parameter sets.
Schemes: ML-DSA, ML-DSA-44, ML-DSA-65, ML-DSA-87, HashML-DSA, CRYSTALS-DILITHIUM, FIPS 186-5, FIPS 205
Findings (quotes checked against the source text)
-
ML-DSA is standardized with three parameter sets, each matching a different security strength, and is believed secure even against large-scale quantum computers.
ML-DSA is believed to be secure, even against adversaries in possession of a large-scale quantum computer.
-
ML-DSA is designed to be strongly existentially unforgeable under chosen message attack (SUF-CMA).
ML-DSA is designed to be strongly existentially unforgeable under chosen message attack (SUF-CMA).
-
ML-DSA is a Fiat-Shamir-with-aborts (Schnorr-like) lattice signature; rejection sampling corrects the bias that would otherwise leak the private key.
ML-DSA is a Schnorr-like signature with several optimizations.
-
Expected rejection-sampling repetitions in ML-DSA.Sign are 4.25, 5.1, and 3.85 for categories 2, 3, and 5, which bounds signing iterations for implementers.
These are 4.25, 5.1, and 3.85 for Categories 2, 3, and 5, respectively.
-
The draft standard omitted a malformed-input check when unpacking the hint, which breaks strong unforgeability; the final FIPS 204 restored it.
Failure to perform this check results in a signature scheme that is not
-
Signing randomness is hedged: rho-prime is derived from the private key, message, and a 256-bit rnd value, with an optional deterministic mode.
The ML-DSA standard also allows for an optional deterministic version in which
Numbers (as extracted, not quote-checked)
- Modulus q: 8380417 (2^23 - 2^13 + 1)
- Polynomial ring degree (X^256 + 1): 256 coefficients
- Public matrix seed rho: 256 bits
- Hash of public key tr (final version): 512 bits
- Expected rejection-sampling repetitions (categories 2, 3, 5): 4.25, 5.1, 3.85
- Sign_internal loop bound for 2^-256 failure: 814 iterations
- Challenge length c-tilde for ML-DSA-65 and ML-DSA-87: 384 bits and 512 bits
- Hamming weight tau of challenge polynomial (categories 2, 3, 5): 39, 49, 60
For builders
Use ML-DSA-65 or a parameter set chosen per your security category, and enforce the hint-unpacking malformed-input check and the standard's length checks, since the draft's omission broke SUF-CMA.
Limits
Key and signature size table (Table 2) is in the omitted middle of the text, so no byte sizes are extracted. Quantum security is stated as belief, not proof. Conformance does not guarantee implementation security.
Topics: sig-lattice standards-policy