← Back to section · Post-Quantum Cryptography

Choosing Among SLH-DSA's Twelve Parameter Sets: Level, Hash, and the s/f Split

FIPS 205's twelve parameter sets are the product of three independent axes: security level (128/192/256), hash family (SHA2/SHAKE), and orientation (s = small and slow, f = fast and large). This article takes each axis in turn, gives a workable selection procedure, and covers the pure and pre-hash variants.

Published 22 November 2026 · 5 min read · PQ Frontier

Choosing Among SLH-DSA's Twelve Parameter Sets: Level, Hash, and the s/f Split
AI-generated site artwork
Video explainer · SLH-DSA: hash-tree signatures

SLH-DSA has a single parameter table yet offers twelve parameter sets — the most options of any NIST signature standard. Fortunately the twelve are not arbitrary: they are exactly the product of three independent axes — three security levels, two hash families, and two size/speed orientations. Understand what each axis controls, and “choosing parameters” turns from memorizing a table into a clear decision procedure.

Axis one: the security level fixes n, and n fixes every size

The 128, 192, and 256 in the parameter names correspond to NIST security strength categories, and technically they set the internal hash output length n to 16, 24, or 32 bytes. n is the scheme’s atomic size: every hash-chain node, every leaf, and every tree node is n bytes. Hence the public key is always 2n (public seed plus top tree root) — 32/48/64 bytes — and the private key always 4n (two secret seeds, the public seed, and the top root) — 64/96/128 bytes.

Signature size grows roughly linearly with n: among the s sets, signatures are 7,856 bytes at level 128, 16,224 at 192, and 29,792 at 256, and computation grows with them. Choose the level the way you would for any algorithm — match it to how long the data must remain trustworthy: root signatures that must hold for decades argue for 256, general deployment and ecosystem compatibility for 128, with 192 in between. Absent a compliance or lifetime argument, do not chase the top level by default: each step up costs real signature bytes and signing time.

Axis two: SHA2 or SHAKE — an ecosystem question, not a security one

The second axis is the internal hash function: the SHA2 family (built on SHA-256/SHA-512) or the SHAKE family (built on SHAKE256). At each level the two families yield identical signature sizes, and both security arguments rest on the standard properties of hash functions — preimage and second-preimage resistance and the like. Choosing one family over the other does not change the security level.

The real difference is the implementation ecosystem. In environments that already have FIPS 140-validated modules or hardware SHA acceleration (such as the x86 SHA instruction extensions or ARM’s SHA2 extensions), the SHA2 family is usually more direct to implement and easier to tune. The SHAKE family has a more uniform internal construction — one extendable-output function derives everything — which is more economical in from-scratch software stacks or on platforms already optimized around Keccak. Rule of thumb: follow whichever family your deployment environment already validates and accelerates; do not start a second stack just for the hash choice.

Axis three: s versus f — signing frequency decides

The third axis is the most distinctively SLH-DSA cut: within one level and one hash family there are two orientations. s is for small: signatures shrink — just 7,856 bytes at 128s — at the cost of markedly slower signing. f is for fast: signing is much quicker, at the cost of signatures more than doubling — 17,088 bytes at 128f, and 49,856 at 256f. Verification speed is similar for both; the gap is on the signing side.

The structural reason lies in how the hypertree and FORS are apportioned. The s sets use fewer hypertree layers and a leaner FORS configuration to cut the number of components a signature must carry, but each subtree is taller, so signing must rebuild larger subtrees on the spot — hence slower. The f sets add layers and enlarge FORS: a signature carries more, but every subtree is short and cheap to rebuild — hence faster. The selection criterion is therefore purely practical: infrequent signing with size sensitivity (offline roots, firmware, archival evidence) points to s; relatively frequent signing or latency sensitivity (batch issuance, online-but-infrequent services) points to f. If neither matters, default to s — small signatures never hurt in transport or storage.

A side axis: pure and pre-hash variants

For every parameter set, FIPS 205 also defines two usage variants. Pure SLH-DSA signs the message directly and digests it internally. The pre-hash variant (HashSLH-DSA) first compresses the message with a specified external hash and then signs the digest, adding a context string that separates application domains. Pre-hash suits very large messages or protocol stacks that already compute a digest (as some certificate and signing protocols do), but it shifts responsibility for “was the digest computed correctly” onto the caller. Without such a pre-existing constraint, use the pure variant and remove one failure surface.

A worked example: walking both ends of the procedure

Two typical scenarios show the procedure in action. Scenario one is the firmware signing root of an industrial controller: the device is expected to serve for 25 years, the root key signs each generation’s firmware release key — a handful of signatures a year — and signatures travel with firmware images to bandwidth-limited field networks. Lifetime sets the level first: a 25-year trust horizon goes straight to 256. Ecosystem sets the hash family: the signing machine and verification side are both built around existing FIPS modules, so SHA2. Frequency sets the orientation: rare signing, size-sensitive distribution — s. The result is SLH-DSA-SHA2-256s: a 29,792-byte signature is negligible against a megabyte-scale image, and the offline process absorbs the slow signing.

Scenario two is an internal CA’s batch issuance service: it signs short-lived code-signing certificates for thousands of internal services every day; certificates ride along with software packages on an internal network where size does not matter, but signing-queue latency feeds directly into the release pipeline. Lifetime sets the level: certificates valid for months need only 128. Ecosystem sets the family: the service runs on commodity servers with SHA hardware acceleration, so SHA2 again — a Keccak-optimized in-house stack would switch to SHAKE at identical sizes. Frequency sets the orientation: high-frequency and latency-sensitive — f. The landing point is around SLH-DSA-SHA2-128f. Two scenarios, one three-step procedure, utterly different outcomes — which is exactly why the parameter table was designed as three orthogonal axes.

Chaining the three axes gives the whole procedure: set the level by lifetime, the hash family by deployment ecosystem, and the orientation by signing frequency. Twelve parameter sets reduce to one three-step engineering judgment.

Sources and further reading

  • NIST, FIPS 205: Stateless Hash-Based Digital Signature Standard, 2024 (parameter table and signature sizes). https://doi.org/10.6028/NIST.FIPS.205
  • Bernstein et al., SPHINCS+ Specification. https://sphincs.org/
  • On this site: “SLH-DSA: The Conservative, Hash-Only Signature (FIPS 205)”

Tags: SLH-DSAFIPS 205parameter selectionSPHINCS+