← Back to section · Standards & Specifications
FIPS 204 and FIPS 205 Read Side by Side: The Anatomy and Division of Labour of Two Signature Standards
Published on the same day and both about signatures, yet mirror images in anatomy: three parameter sets for ML-DSA against twelve for SLH-DSA, the internal/external layering, and the shared design of context strings and pre-hashing — the division of labour seen from the documents themselves.
On 13 August 2024 NIST published three post-quantum standards on a single day, two of them digital signatures: FIPS 204 defines the module-lattice-based ML-DSA (from CRYSTALS-Dilithium), and FIPS 205 the stateless hash-based SLH-DSA (from SPHINCS+). Read side by side, the two standards’ anatomies resemble a mirror: under an identical chapter skeleton, almost every design decision points in the opposite direction. That contrast is no accident — it is the projection of two different security assumptions onto the page.
Same skeleton, two roots of trust
Both standards are organised the same way: scope of approval first, then the internal algorithms, then the external functions, with parameter sets collected in tables. But the wording of the approval already reveals the division of labour: ML-DSA’s security rests on the hardness of module-lattice problems; SLH-DSA is explicitly described as relying only on the security properties of the hash functions it uses — it needs no additional algebraic assumption.
This is exactly why NIST kept two signature standards: should the lattice assumption ever suffer a major challenge, the hash-based route can still stand on its own. Noticing this “fuse” logic while reading helps explain why the clearly faster ML-DSA did not become the only signature standard.
Internal and external: a shared layered writing
In the same lineage as the two layers of FIPS 203, both signature standards split the algorithm into an inner and an outer layer. The inner layer is the “textbook” core algorithm: given randomness and a message, it produces a signature deterministically (or in the prescribed manner). The outer layer adds the mechanisms deployment requires on top of the inner layer, and performs the input checks the standard prescribes.
Two shared outer-layer designs stand out. The first is the context parameter (context string): signing may attach a string identifying the intended use, separating the signing domains of one key across different protocols and preventing cross-protocol misuse. The second is the pre-hash mode: besides the “pure mode” that signs the complete message, both standards define a mode in which a message digest is computed externally first and the digest is signed (called HashML-DSA in ML-DSA’s case), serving scenarios where messages are large or a digest has already been produced elsewhere. Pure and pre-hash modes use different domain-separation identifiers, and their signatures are not interchangeable in verification — details like these are written as normative clauses that implementers must follow item by item.
Parameter sets: three against twelve
The most visible difference between the two standards is the parameter table. ML-DSA has only three sets — ML-DSA-44, ML-DSA-65 and ML-DSA-87 — corresponding to security categories 2, 3 and 5. SLH-DSA has twelve: first split by hash function into SHA2 and SHAKE families, each expanded by security categories 1, 3 and 5 and by “s” (small signature) / “f” (fast signing) variants.
The difference in count follows from the algorithms’ characters: SLH-DSA’s signature size and speed can be traded off over a wide range, so the standard spells out every trade-off point; ML-DSA’s parameter space is comparatively convergent. Both standards share one principle: the tabulated parameters form a closed set and implementers may not invent combinations; which tier or set to use is a decision for usage guidance and agency policy, not written into the standard body.
Stateless: the keyword in the title of 205
The full name of FIPS 205 deliberately carries the word “stateless” — its fundamental distinction from the other family of hash-based signatures, the stateful LMS/XMSS, which SP 800-208 approves separately with strict state-management requirements. SLH-DSA’s private key needs no counter-like state maintained during use; the same key can sign repeatedly with no risk of forgery through state reuse. This property lets it slot into existing signature infrastructures unchanged, and it is why the standard’s text repeatedly emphasises how its internal one-time signature components are composed and amplified.
For the reader this suggests a method: when a standard singles out a property in its title or approval scope, that is usually exactly where it draws the line against its siblings.
Signing randomness: a quiet but crucial difference
Both standards also handle signing randomness at the external interface, but differently. ML-DSA’s inner algorithm can be essentially deterministic: the same key signing the same message always yields the same signature. Determinism brings reproducibility, and also risk — if faults are injected during signing, a deterministic structure is easier to exploit. FIPS 204’s external interface therefore defaults to a “hedged” mode: fresh randomness is mixed into each signing operation so that signatures differ from one run to the next, while room is retained for a deterministic variant under controlled conditions, with clauses stating the conditions and requirements for each.
SLH-DSA’s randomness, by contrast, is built into the algorithm’s structure: its digest computation for the message itself introduces a randomised component derived from the private key, so two signatures of the same message differ naturally. Differences of this kind are invisible in the parameter tables, yet they directly shape the focus of implementation security assessment: auditing ML-DSA means checking the randomness source and whether hedging is enabled; auditing SLH-DSA means checking that its internal randomisation is spliced exactly as the standard prescribes. When reading a standard, the randomness clauses are worth a separate note.
Incidentally, the parameter tables of the two standards share one more detail: every parameter set is annotated with its security category and gives the exact byte sizes of public keys, private keys and signatures. Size figures cited in procurement and capacity planning should be taken directly from these tables, not from vendor literature’s retelling.
Conclusion
Read together, 204 and 205 reveal NIST’s portfolio strategy: one fast and one conservative, one primary and one backup, uniform in anatomy and complementary in assumptions. Implementers following them should treat the shared outer mechanisms (context, pre-hashing, input checks) as hard clauses, and leave parameter selection to guidance and policy. Only with the division of labour read clearly can a selection meeting answer “why this standard, and which tier”.
Tags: FIPS 204FIPS 205ML-DSASLH-DSA