SysTutorials

ML-DSA (Dilithium): The Post-Quantum Lattice Signature Standard

ML-DSA (Module-Lattice Digital Signature Algorithm), standardized as FIPS 204 in August 2024, is NIST’s primary post-quantum signature scheme. It descends from the CRYSTALS-Dilithium submission and is the designated replacement for RSA and ECDSA signatures in TLS certificates, code signing, and document signing as the post-quantum migration proceeds.

How it works

ML-DSA operates on module lattices: vectors of polynomials with coefficients modulo q = 8,380,417, reduced modulo X^256 + 1. Its security rests on two lattice problems believed hard for classical and quantum computers alike:

Signing uses the Fiat-Shamir-with-aborts construction. The signer derives a challenge from the message, computes a response, and checks that the response satisfies a safety norm. If it does not, the signer retries with a new challenge. The aborted attempts are discarded and never revealed, which is what makes each released signature statistically independent of the secret key. Verification recomputes the challenge from the message and the response, checks that the response is short enough, and uses a short hint in the signature to reconstruct the commitment from a public key that stores only the high-order bits of the vector t = A·s₁ + s₂. No sampling is involved, which keeps verification fast and easy to implement in constant time.

Parameter sets

Parameter setNIST security levelPublic keySignature
ML-DSA-44Category 2 (~128-bit)1,312 B2,420 B
ML-DSA-65Category 3 (~192-bit)1,952 B3,309 B
ML-DSA-87Category 5 (~256-bit)2,592 B4,627 B

ML-DSA-65 is the common default and pairs with ML-KEM-768, the key encapsulation mechanism already deployed in TLS.

Performance

All ML-DSA arithmetic is integer-only polynomial multiplication via the Number Theoretic Transform. There is no floating point and no discrete Gaussian sampling, which makes implementations straightforward to harden against timing side channels. That is the main reason NIST selected it as the default signature: FN-DSA (Falcon) produces smaller signatures but is considerably harder to implement securely. Key generation, signing, and verification all complete in tens to hundreds of microseconds on commodity CPUs, and the 1,952-byte public key of ML-DSA-65 fits comfortably in an X.509 certificate.

Signing modes

ML-DSA defines two signing modes. Deterministic signing derives the entire computation from the key and the message, so the same message always yields the same signature. Hedged signing also mixes in fresh randomness, which keeps the scheme safe if the random source is weak and guards against the fault attacks that purely deterministic signing invites. Implementations such as OpenSSL 3.5 default to the hedged mode; both are standardized and interoperable on the verification side.

Adoption

← All posts