Signature family

ML-DSA

NIST's primary post-quantum signature scheme, standardised in FIPS 204

safe 3 variants NIST PQC standard (FIPS 204)

Overview

ML-DSA is the Module-Lattice-Based Digital Signature Algorithm standardised by NIST in FIPS 204. It is the general-purpose default for post-quantum signatures, with fast signing and verification and signatures of a few kilobytes.

ML-DSA is derived from CRYSTALS-Dilithium, selected by NIST at the end of the third round of its post-quantum process. It follows the Fiat-Shamir with aborts paradigm: the signer commits to a masked random vector, derives a challenge by hashing the commitment with the message, and responds with a combination of the secret and the mask. If the response would leak information about the secret, it is discarded and the process restarts.

Security rests on Module-LWE, which protects the secret key, and Module-SIS, which prevents forgeries. All sampling is uniform or from small bounded ranges, so unlike Falcon the scheme needs no Gaussian sampling or floating-point arithmetic, which makes constant-time implementation comparatively straightforward. FIPS 204 supports hedged signing (fresh randomness mixed with a secret seed) by default, a deterministic option, context strings, and a pre-hash mode (HashML-DSA).

Three parameter sets are defined: ML-DSA-44 (category 2), ML-DSA-65 (category 3) and ML-DSA-87 (category 5). Public keys are 1312 to 2592 bytes and signatures 2420 to 4627 bytes. Private keys are 2560 to 4896 bytes. ML-DSA-65 is the most commonly recommended parameter set, and composite and hybrid certificates combining ML-DSA with ECDSA or EdDSA are being standardised at the IETF.

History

2016–2025
  1. NIST calls for post-quantum KEMs and signatures

    NIST Post-Quantum Cryptography standardisation
  2. CRYSTALS-Dilithium submitted to NIST PQC

  3. 26 candidates advance to round 2

    NIST Post-Quantum Cryptography standardisation
  4. Round 3 finalists and alternates announced

    NIST Post-Quantum Cryptography standardisation
  5. Dilithium selected by NIST

  6. Draft FIPS 204 released

  7. ML-DSA published as FIPS 204

  8. HQC selected as a second KEM

    NIST Post-Quantum Cryptography standardisation

How it works

  1. KeyGen expands a public matrix A from a seed and samples short secrets s1, s2; the public key is the high bits of t = A*s1 + s2.
  2. Sign samples a masking vector y, commits to the high bits of A*y and hashes them with the message to get a sparse challenge c.
  3. The response z = y + c*s1 is checked against norm bounds and rejected and resampled if it could leak the secret.
  4. Verify recomputes the commitment from z, c and the public key, using hints, and checks the challenge hash.

Security notes

ML-DSA is considered sound and is NIST's recommended general-purpose post-quantum signature. Implementations should protect against side channels and fault attacks on the rejection loop and secret-dependent operations; hedged signing reduces exposure to fault attacks compared with purely deterministic signing.

Typical uses

Post-quantum certificates and PKICode, firmware and software update signingAuthentication in TLS, SSH and hybrid signature schemes

Variants in NextSSL

3
AlgorithmTierSizes (bytes)StandardsAPI
ML-DSA-44
ml-dsa-44
safe FIPS pk 1312 · sk 32 · sig 2420 · seed 32 · ctx 0–255 FIPS 204 safe
ML-DSA-65
ml-dsa-65
safe FIPS pk 1952 · sk 32 · sig 3309 · seed 32 · ctx 0–255 FIPS 204 safe
ML-DSA-87
ml-dsa-87
safe FIPS pk 2592 · sk 32 · sig 4627 · seed 32 · ctx 0–255 FIPS 204 safe

Frequently asked questions

Which ML-DSA variants does NextSSL include?

NextSSL registers 3 ML-DSA variants: ml-dsa-44, ml-dsa-65, ml-dsa-87.

Families with similar names