CRYSTALS-Dilithium (Round 3)
The Round 3 submission of Dilithium, predecessor of the ML-DSA standard
Overview
CRYSTALS-Dilithium is the lattice-based signature scheme NIST selected in 2022 and later standardised, with changes, as ML-DSA in FIPS 204. This family preserves the third-round specification, including its AES-based and randomised variants.
Dilithium uses the Fiat-Shamir with aborts technique over module lattices: a commitment to a masked vector is hashed with the message into a sparse challenge, and the response is released only if it falls within bounds that make it statistically independent of the secret key. Public keys are compressed by publishing only the high bits of the key vector, with hints in the signature letting the verifier compensate.
ML-DSA is not byte-compatible with Round 3 Dilithium. FIPS 204 lengthened the public-key hash tr to 64 bytes, changed how the message representative and signing randomness are derived, added domain separation with context strings, and tightened hint encoding checks. Round 3 signatures do not verify under ML-DSA. Within each security level, the AES and SHAKE variants have identical key and signature sizes.
Twelve variants are present: Dilithium2, Dilithium3 and Dilithium5 (security categories 2, 3 and 5), each in deterministic and randomised (-r) signing modes, and each with an AES variant that expands the matrix and secrets with AES-256 in counter mode rather than SHAKE. The AES variants were not carried forward into ML-DSA. Signature and key sizes match those of the corresponding ML-DSA parameter sets, so size alone does not distinguish them.
History
2016–2025NIST calls for post-quantum KEMs and signatures
NIST Post-Quantum Cryptography standardisationCRYSTALS-Dilithium published
69 complete round-1 submissions published
NIST Post-Quantum Cryptography standardisation26 candidates advance to round 2
NIST Post-Quantum Cryptography standardisationRound 3 finalists and alternates announced
NIST Post-Quantum Cryptography standardisationKyber, Dilithium, Falcon and SPHINCS+ selected; round 4 opens
NIST Post-Quantum Cryptography standardisationFIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) published
NIST Post-Quantum Cryptography standardisationHQC selected as a second KEM
NIST Post-Quantum Cryptography standardisation
How it works
- A public matrix is expanded from a seed with SHAKE-128, or AES-256-CTR in the AES variants.
- Signing commits to a masked vector, hashes it with the message into a challenge, and computes a response.
- Responses that exceed norm bounds are rejected and the loop restarts.
- Randomised (-r) variants draw fresh randomness for the mask; the default variants derive it deterministically.
Security notes
Superseded by ML-DSA; new systems should implement FIPS 204. Round 3 Dilithium remains cryptographically sound but is not interoperable with ML-DSA, and the deterministic mode is more exposed to fault attacks than hedged signing.
Typical uses
Variants in NextSSL
12| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Dilithium2-AES-R-R3 dilithium2-aes-r-r3 |
unverified | pk 1312 · sk 2544 · sig 1–2420 · seed 0 · ctx 0 | — | root |
| Dilithium2-AES-R3 dilithium2-aes-r3 |
unverified | pk 1312 · sk 2544 · sig 1–2420 · seed 0 · ctx 0 | — | root |
| Dilithium2-R-R3 dilithium2-r-r3 |
unverified | pk 1312 · sk 2544 · sig 1–2420 · seed 0 · ctx 0 | — | root |
| Dilithium2-R3 dilithium2-r3 |
unverified | pk 1312 · sk 2544 · sig 1–2420 · seed 0 · ctx 0 | — | root |
| Dilithium3-AES-R-R3 dilithium3-aes-r-r3 |
unverified | pk 1952 · sk 4016 · sig 1–3293 · seed 0 · ctx 0 | — | root |
| Dilithium3-AES-R3 dilithium3-aes-r3 |
unverified | pk 1952 · sk 4016 · sig 1–3293 · seed 0 · ctx 0 | — | root |
| Dilithium3-R-R3 dilithium3-r-r3 |
unverified | pk 1952 · sk 4016 · sig 1–3293 · seed 0 · ctx 0 | — | root |
| Dilithium3-R3 dilithium3-r3 |
unverified | pk 1952 · sk 4016 · sig 1–3293 · seed 0 · ctx 0 | — | root |
| Dilithium5-AES-R-R3 dilithium5-aes-r-r3 |
unverified | pk 2592 · sk 4880 · sig 1–4595 · seed 0 · ctx 0 | — | root |
| Dilithium5-AES-R3 dilithium5-aes-r3 |
unverified | pk 2592 · sk 4880 · sig 1–4595 · seed 0 · ctx 0 | — | root |
| Dilithium5-R-R3 dilithium5-r-r3 |
unverified | pk 2592 · sk 4880 · sig 1–4595 · seed 0 · ctx 0 | — | root |
| Dilithium5-R3 dilithium5-r3 |
unverified | pk 2592 · sk 4880 · sig 1–4595 · seed 0 · ctx 0 | — | root |
Frequently asked questions
Which CRYSTALS-Dilithium (Round 3) variants does NextSSL include?
NextSSL registers 12 CRYSTALS-Dilithium (Round 3) variants: dilithium2-aes-r-r3, dilithium2-aes-r3, dilithium2-r-r3, dilithium2-r3, dilithium3-aes-r-r3, dilithium3-aes-r3, dilithium3-r-r3, dilithium3-r3, dilithium5-aes-r-r3, dilithium5-aes-r3 and more.
Families with similar names
sign · 4 variants
sign · 6 variants
sign · 1 variant
sign · 1 variant
sign · 1 variant
sign · 1 variant
sign · 1 variant
sign · 1 variant
Other digital signatures
All 503Related
The Round 3 submission of Kyber, predecessor of the ML-KEM standard
FalconCompact NTRU-lattice signatures using fast Fourier sampling, the basis of FN-DSA
ML-DSANIST's primary post-quantum signature scheme, standardised in FIPS 204
SPHINCS+ (Round 3)The Round 3 stateless hash-based signature, predecessor of SLH-DSA
AES-CTRCounter mode: turns AES into a fast, parallel stream cipher