SLH-DSA-128 vs SLH-DSA-256: security strength within the scheme

SLH-DSA-128 and SLH-DSA-256 are two parameter sets of the same stateless hash-based signature algorithm, mapped to NIST security levels 1 and 5. The main practical difference is signature size and key size, which roughly triple from the 128 to the 256 sets.

On this page

How SLH-DSA-128 and SLH-DSA-256 differ in strength and signature size

SLH-DSA-128 and SLH-DSA-256 are both parameter sets of the SLH-DSA algorithm specified in FIPS 205. The distinction that matters for most reviews is the NIST security level: the 128 sets map to level 1 and the 256 sets map to level 5, according to Appendix B of RFC 9909. The higher level comes with larger keys and signatures, so a choice between them is a trade between assurance and bytes on the wire and in storage.

Security leads, procurement and vendor-risk reviewers meet these names in vendor documents, tender requirements and standards that ask which set applies. Engineers configuring signing meet them in library options and in key and algorithm identifiers. When a document names a set, confirm whether it means the 128 or the 256 level and whether it refers to the small or fast variant, since the two choices are independent.

The size figures are where the two sets differ most. RFC 9909 Appendix B gives small-variant signatures of 7856 bytes for 128s and 29792 bytes for 256s, and fast-variant signatures of 17088 bytes for 128f and 49856 bytes for 256f. Public keys are 32 bytes at the 128 level and 64 bytes at the 256 level, and private keys are 64 bytes and 128 bytes respectively. Check these numbers against the exact parameter set your product lists, because a vendor may report sizes for a different variant.

When a requirement or contract names a level, ask the vendor which parameter set and hash family it implements and whether the stated level is the one the signing function actually uses. The sources listed on this page do not give signing or verification timings for either set, so request those figures from the implementer's own benchmarks before deciding.

SLH-DSA-128 and SLH-DSA-256 side by side

This table compares the 128 and 256 SLH-DSA parameter sets on security level, signature size, key sizes, hash family and defining documents. Read each row as the value the cited source gives for that set, and use the variant columns to match each size to the small or fast form you plan to deploy. The main takeaway is that the 256 sets move to a higher NIST level and larger signatures, and that the 128 sets use SHA-256 only while the 256 sets also use SHA-512.

AttributeSLH-DSA-128SLH-DSA-256
NIST security levelLevel 1 (RFC 9909, Appendix B)Level 5 (RFC 9909, Appendix B)
Small-variant signature size7856 bytes for 128s (RFC 9909, Appendix B)29792 bytes for 256s (RFC 9909, Appendix B)
Fast-variant signature size17088 bytes for 128f (RFC 9909, Appendix B)49856 bytes for 256f (RFC 9909, Appendix B)
Public key size32 bytes (2n, with n of 16) (RFC 9909)64 bytes (2n, with n of 32) (RFC 9909)
Private key size64 bytes (4n, with n of 16) (RFC 9909)128 bytes (4n, with n of 32) (RFC 9909)
Hash family in OpenSSL 3.5SHA2 128-bit sets use SHA-256 based functionsSHA2 256-bit sets use SHA-512 based functions as well as SHA-256
Defining documentsFIPS 205 and RFC 9909FIPS 205 and RFC 9909

What SLH-DSA-128 and SLH-DSA-256 are

SLH-DSA-128 and SLH-DSA-256 are both parameter sets of the stateless hash-based digital signature algorithm SLH-DSA. Each set is used to produce stateless hash-based signatures at a given NIST security level. The 128 set corresponds to security level 1 and the 256 set to security level 5, according to RFC 9909. Both sets are used for signing, not for key establishment.

  • Security level mapping: RFC 9909 Appendix B maps the 128 sets to NIST security level 1 and the 256 sets to level 5.
  • Purpose: Both sets produce signatures under the same algorithm, so the choice between them is a choice of security level and of the size and cost that come with it.
  • Key sizes: RFC 9909 gives public keys of 32 bytes and private keys of 64 bytes for the 128 sets, and 64 and 128 bytes for the 256 sets.
  • Variant coverage: Each strength level has small and fast variants, so the 128 and 256 names appear alongside an s or f suffix.

For systems that have to meet a specific NIST security level, confirm the level required by the relevant policy or contract, then match the parameter set to that level in the vendor documentation.

Differences that change systems, configurations and decisions

The two SLH-DSA parameter sets differ mainly in the NIST security level they map to, the size of the keys and signatures they produce, and the hash family behind them. The signing operation limit is the same at both levels, so the choice does not change how many signatures a key can make.

Security level mapping

RFC 9909 Appendix B maps the 128 parameter sets to NIST security level 1 and the 256 parameter sets to NIST security level 5. Security teams writing a policy that names a required level should record which level each SLH-DSA set is mapped to, and should check that the policy or contract text uses the same mapping. Level 5 is the higher of the two. The sources listed on this page do not say how a level maps to any other requirement, so confirm that against the document that sets the requirement.

NIST levels
1 vs 5
RFC 9909

Signature size at each variant

The small variant signature is 7856 bytes at 128s and 29792 bytes at 256s, and the fast variant is 17088 bytes at 128f and 49856 bytes at 256f, according to RFC 9909. Network paths, certificate chains and storage that carry these signatures must allow for the larger 256 sizes, and firmware or protocol message limits should be checked against the fast variant as well as the small one. Confirm the byte counts against the version of the spec your implementation follows.

RFC 9909

Key sizes at each level

RFC 9909 gives public keys of 2n bytes and private keys of 4n bytes, which works out to 32 and 64 bytes at the 128 level and 64 and 128 bytes at the 256 level. Key stores, hardware modules and secret storage sized for the 128 keys will need changes if they hold the 256 keys. Vendor-risk reviewers should ask how the private key is stored and whether it is exported, since the key size changes what has to be protected.

Hash family behind each set

The OpenSSL 3.5 documentation says the 128-bit SHA2 sets use SHA-256 based functions, while the 256-bit SHA2 sets use SHA-512 based functions as well as SHA-256. RFC 9909 lists SHAKE128 or SHAKE256 for the SHAKE family at the matching levels. Engineers should confirm which hash family a library or module implements for each set before choosing one, because the two families are not interchangeable in every deployment.

OpenSSL 3.5 docs

Shared signing operation limit

RFC 9814 and RFC 9909 both state that a single SLH-DSA tree must not be used for more than 2^64 signing operations, and that limit applies at every strength level. Choosing level 5 does not raise the number of signatures a key can make, so the limit must be managed through key rotation and usage tracking in the same way at both levels. Teams should record the signing count per key in their design documents, whichever level they select.

RFC 9814

Signing cost needs local measurement

RFC 9909 says the fast variants are optimized for key generation and signing speed, but it publishes no timing figures. Any difference in signing cost between the 128 and 256 sets has to come from the reader's own measurements on the hardware and library they plan to run. Ask vendors for benchmark results on the exact variant and level, and do not assume that a figure from another platform applies to yours.

Where SLH-DSA-128 and SLH-DSA-256 appear in products and documents

The two parameter sets are named in three places a reviewer can check. FIPS 205 is the base standard for SLH-DSA and defines the scheme that both sets belong to. RFC 9909 gives the object identifiers for the sets: under the arc 2.16.840.1.101.3.4.3, it assigns pure SLH-DSA identifiers at arcs 20 through 31, covering the 128, 192 and 256 levels in both the SHA2 and SHAKE hash families and in both the small and fast variants. RFC 9909 also maps the sets to NIST security levels, with the 128 sets at level 1 and the 256 sets at level 5. If a certificate, key or signature in your environment carries an identifier, the RFC 9909 table is the place to resolve it to a specific set and family.

OpenSSL 3.5 is the one product source the sources listed on this page cover. Its SLH-DSA documentation describes parameter support for the SHA2 128-bit set, which uses SHA-256 based functions, and for the SHA2 192-bit and 256-bit sets, which use SHA-512 based functions as well as SHA-256. The sources do not record product-level support for SLH-DSA-128 or SLH-DSA-256 in any other library, operating system, HSM, certificate authority or application. Before you rely on a product for either set, check that product's own documentation for the parameter sets it implements, the hash families it supports and the OIDs it emits, and confirm the version you run.

Treat the presence of a name in a document as a starting point, not as proof of support. When a vendor says a product supports SLH-DSA, ask which of the 128 or 256 sets it implements, in which hash family and variant, and whether signing and verification interoperate with the reference RFC 9909 identifiers. Record the answers with the product version, so the evidence can be checked against a later release.

How to work out which SLH-DSA set applies to your system

This sequence takes a requirement for a named NIST security level through to a specific SLH-DSA parameter set, then checks the size, hash family, variant and signing-limit details a vendor needs to confirm. The output is a written record of which set your system uses and what remains to verify.

  1. Identify the required NIST security level

    Start with the requirement, contract or internal policy that governs the system and find the NIST security level it names. Record the exact wording and the document reference. If the requirement names no level, note that gap and ask the requesting party to confirm it before going further. The output is a short written statement of the level required, with its source.

  2. Map the level to a 128 or 256 set

    Use RFC 9909 Appendix B, which maps the SLH-DSA parameter sets to NIST levels. The 128 sets correspond to level 1, the 192 sets to level 3 and the 256 sets to level 5. Compare your required level against this mapping and note which family of sets it points to. The output is the candidate set family, recorded alongside the requirement it came from.

  3. Check the signature size budget

    Compare the candidate set against the signature sizes RFC 9909 Appendix B gives for the small and fast variants. Small-variant signatures are 7856 bytes for 128s and 29792 bytes for 256s, and fast-variant signatures are 17088 bytes for 128f and 49856 bytes for 256f. Confirm that these sizes fit the protocol, certificate or storage limits in your design. The output is a pass or fail against your size budget for each candidate.

  4. Confirm the hash family the product implements

    Read the product's documentation to find which hash family it implements. For the SHA2 sets, the OpenSSL 3.5 documentation says the 128-bit sets use SHA-256 based functions, while the 192-bit and 256-bit sets use SHA-512 based functions as well as SHA-256. Check that the product's documentation matches this for the level you chose. The output is a written note of the hash family and the sets it supports, with the document version.

  5. Confirm the small or fast variant offered

    Find out whether the product offers the small or fast variant of your chosen set. RFC 9909 says the fast variants are optimized for key generation and signing speed but verify more slowly than the small sets, and it publishes no timing figures, so measure timing in your own environment if it matters. The output is the variant the product supports, plus your own timing results if you ran them.

  6. Ask about pure or HashSLH-DSA signing

    Ask the vendor whether the set is pure SLH-DSA, which signs the message directly, or HashSLH-DSA, which signs a pre-hashed digest. RFC 9909 names the pre-hash functions for each family. Record the answer as given, since the two modes produce different signature formats and are not interchangeable. The output is the vendor's written answer on signing mode.

  7. Ask whether the 2^64 signing limit is enforced

    RFC 9814 and RFC 9909 both say a single SLH-DSA tree must not be used for more than 2^64 signing operations, at every strength level. Ask the vendor whether the product enforces this limit or leaves it to the operator, and how it behaves when the limit is reached. The output is the vendor's written answer on whether enforcement is built in or operator-managed.

Common mix-ups between SLH-DSA-128 and SLH-DSA-256

The names SLH-DSA-128 and SLH-DSA-256 are easy to misread in vendor documents, standards and audit requests. The cards below cover the points where readers most often draw the wrong conclusion about what the level changes, what it does not change, and what a vendor label does or does not establish.

256 is a parameter set, not a new algorithm

SLH-DSA-256 is a parameter set of the single SLH-DSA scheme specified in FIPS 205, not a separate algorithm. The 128, 192 and 256 sets share one design and differ in the parameters chosen for each level. When a document lists SLH-DSA-256 next to SLH-DSA-128, the comparison is between two settings of the same scheme, so the review should confirm which parameter set a product implements rather than treating the two names as different algorithms.

FIPS 205 page

The 128 name is not a 128-bit key length

The number in SLH-DSA-128 identifies the NIST security level mapping, not the length of a classical key. RFC 9909 maps the 128 sets to NIST security level 1, the 192 sets to level 3 and the 256 sets to level 5. Reviewers reading a key length in a vendor document should not assume the 128 name describes a 128-bit classical key. Check the security level the document states and the key and signature sizes it lists.

RFC 9909

Signing limit is the same at every level

Moving from SLH-DSA-128 to SLH-DSA-256 does not change how many signatures one key tree may produce. RFC 9814 and RFC 9909 both state that a single SLH-DSA tree must not be used for more than 2^64 signing operations, at every strength level. Teams sizing signing volume should apply that limit to each parameter set and not assume a higher level raises it.

RFC 9814

SLH-DSA is not the stateful LMS or XMSS sets

NIST SP 800-208 specifies two stateful hash-based schemes, LMS and XMSS, and the SLH-DSA parameter sets are stateless. The names look alike, so a reviewer may read an LMS or XMSS parameter set in an approval or procurement document as an SLH-DSA set. Confirm which scheme a product implements before comparing parameter sets, because the state management and key export rules differ between them.

SP 800-208 page

A vendor label does not show validation

A product that names SLH-DSA-128 or SLH-DSA-256 in its documentation has not thereby shown a particular validation or approval. The sources listed on this page do not establish validation or approval status for any product. Ask the vendor for the validation or approval record, its scope, the module version it covers and the issuing body, and check those records directly rather than relying on the parameter set name.

Frequently asked questions about SLH-DSA-128 and SLH-DSA-256

Are SLH-DSA-128 and SLH-DSA-256 the same algorithm?

They are two parameter sets of the same algorithm, SLH-DSA, which NIST specifies in FIPS 205. RFC 9909 assigns separate object identifiers to the 128 and 256 sets, so each one is identified as a distinct signature algorithm in certificates and protocols. Both use the same design and the same family of hash functions, but they differ in size, security level and cost. Treat them as separate choices when you configure a system or read a vendor document, and confirm which set a given product actually implements.

Which SLH-DSA set is stronger?

RFC 9909 maps the 128 sets to NIST security level 1 and the 256 sets to NIST security level 5, so the 256 sets sit at the higher security category. The sources do not describe how much risk each level removes for a particular system, and the level alone does not decide the right choice for your environment. Your choice depends on the threat model, the data's required protection period and any rule or customer requirement that applies to you. Use the NIST level as one input and check the governing document for the level it asks for.

Does a rule or customer require SLH-DSA-128 or SLH-DSA-256?

The sources listed on this page do not record a requirement for either set. Whether one applies depends on the regulation, contract, procurement rule or customer security questionnaire that governs your system, and those documents set the security level they expect. Confirm the required level with the owner of each obligation, and ask your customer or auditor to name the set or NIST level in writing. Do not assume a level applies from the algorithm name alone.

Do I need both SLH-DSA-128 and SLH-DSA-256?

No. The two sets are alternatives, and a single key uses one parameter set. You choose the set for each key or signing role according to its requirement, so a system may run keys at different levels, but each key is created under one set. Keep a record of which set each key uses, because the set determines the signature size and the key sizes that your storage, protocols and certificates must handle.

How do signature sizes differ between the two sets?

RFC 9909 gives the small-variant signature sizes as 7856 bytes for 128s and 29792 bytes for 256s, and the fast-variant sizes as 17088 bytes for 128f and 49856 bytes for 256f. Public keys are 32 bytes for 128 and 64 bytes for 256, and private keys are 64 bytes for 128 and 128 bytes for 256. Check these figures against the size that your protocol, certificate or storage format allows, since larger signatures can affect message and handshake limits.

What should I ask a vendor about the SLH-DSA set they ship?

Ask which exact parameter set the product implements, for example SLH-DSA-SHA2-128s or SLH-DSA-SHAKE-256f, and whether it uses the pure or pre-hashed form. Ask which version and build of each library or module you are receiving, and whether the product's documentation states the NIST level. Request the vendor's written statement on the set, and ask whether any module that generates keys is validated, and under which standard. Keep the answers in your vendor-risk file so you can compare them against the requirement that governs your system.

Does the 256 set cost more to run than the 128 set?

The sources report larger signatures and public and private keys for the 256 sets, and RFC 9909 says the fast variants are tuned for signing speed but verify more slowly than the small sets. It publishes no timing figures, so the sources do not quantify the difference in cost between the two levels. Measure signing and verification time, storage and bandwidth in your own environment, using the exact set and variant you plan to deploy, before you estimate operating cost.

How DeployOpen works on this

DeployOpen helps teams decide between SLH-DSA-128 and SLH-DSA-256 by first confirming which security level the system needs and which signature sizes its protocols and certificates can carry. We then configure the chosen parameter set in the client's own environment and hand over the documentation needed for internal and vendor-risk review.

How we scope

  • We record which NIST security level each system is required to meet, as stated in the client's own policy or contract.
  • We list where signatures will be produced and verified, and what size limits the certificates, protocols and storage in those paths impose.
  • Scope, deliverables and timelines are agreed in writing before work starts, and ongoing support is available as a retainer.

How we build

  • We configure the selected SLH-DSA parameter set in the client's infrastructure, using the OID and hash family the chosen library supports.
  • We check signature and key sizes in the built system against the values in RFC 9909 Appendix B for the chosen set.
  • We test signing and verification paths in the client's environment and record the results, including the variant used for each path.

How we hand over

  • We document the parameter set, hash family, variant and security level chosen, with the reasons recorded against the client's scope.
  • We record the signing limit of 2^64 operations per tree that RFC 9814 and RFC 9909 state, and how the client tracks usage against it.
  • We deliver the documentation in a form the client's security, compliance and vendor-risk teams can review and reuse.

How we support

  • Ongoing support covers library upgrades and re-testing when the client changes the parameter set or the hash family in use.
  • Retainers can include periodic review of signature sizes and performance as the client's protocols and certificates change.
  • Where a question falls outside the published RFCs and NIST documents, we tell the client what to confirm with the vendor or standards body.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.