SLH-DSA vs LMS: stateless and stateful hash-based signatures

SLH-DSA is a stateless hash-based signature standard in FIPS 205, while LMS is a stateful one specified in NIST SP 800-208. The key distinction is whether the signer must track and never reuse one-time key state, which shapes key handling and operational risk.

On this page

Which hash-based signature applies when a reader sees SLH-DSA and LMS side by side

A vendor document, tender or audit request that names both SLH-DSA and LMS is asking a question that depends on one fact: whether the signing system must track state. SLH-DSA is stateless, specified in FIPS 205 (13 August 2024), which is based on SPHINCS+. LMS is stateful, specified in NIST SP 800-208 (October 2020), alongside its multi-tree variant HSS. The reader's first task is to find out which of the two the document actually means, because the operational obligations differ sharply between them.

Architects, PKI teams, firmware teams and procurement reviewers meet this question most often. Firmware and hardware signing, where LMS and HSS have been used, is a common setting, and the state-tracking requirement matters there because a reused one-time key can compromise a signing scheme. PKI and certificate teams see SLH-DSA in candidate algorithm lists, and procurement reviewers see both names in vendor questionnaires. The sources listed on this page do not say which products in a given tender use which scheme, so the reader should confirm that from the vendor's documentation.

Before accepting a vendor statement, ask whether signing keys are stateless or stateful, and whether the system stores and updates signing state across restarts, backups and clones. Confirm the specification and version the product implements (FIPS 205 for SLH-DSA, SP 800-208 for LMS) and the parameter set in use. Ask how the vendor prevents state reuse if the scheme is stateful, and what is documented for recovery. Answers to these questions determine whether the design fits the environment.

SLH-DSA and LMS attributes side by side

This table sets SLH-DSA (FIPS 205) against LMS (NIST SP 800-208) on the attributes the sources give, including status, state handling, purpose, and sizes where published. Read the state row first, since it separates the two schemes. The sizes shown for SLH-DSA come from RFC 9909, and the LMS sizes are not given here, so confirm them in the specification and your implementation.

AttributeSLH-DSALMS
Defining document and dateNIST FIPS 205, final, 13 August 2024, based on SPHINCS+NIST SP 800-208, final, October 2020
StatusFinal standardFinal special publication
Stateful or statelessStateless: no signing state must be tracked between signaturesStateful: the signer must track one-time key usage across signatures
PurposeGeneral digital signatures using hash-based constructionsHash-based signatures for specific settings, with state management required
Public key size32 to 64 bytes, depending on parameter set (RFC 9909)Not given here; confirm in SP 800-208
Signature sizeAbout 7,856 to 49,856 bytes, depending on parameter set (RFC 9909)Not given here; confirm in SP 800-208
Parameter set example sizes128s: 7,856-byte signature, 32-byte key; 256f: 49,856-byte signature, 64-byte keyNot given here; confirm in SP 800-208
Support in OpenSSLListed as a new feature in OpenSSL 3.5.0 (8 April 2025)The sources here do not say; check the OpenSSL release notes and documentation

What each scheme is and which document defines it

SLH-DSA is the stateless hash-based digital signature algorithm specified in NIST FIPS 205, published as a final standard on 13 August 2024. FIPS 205 states that the algorithm is based on SPHINCS+, so the name you will see in older papers, submissions and some vendor material is the earlier design from which the standard was derived. Because the scheme is stateless, a signer does not have to record and update a counter or internal state after each signature, and this is the main operational difference from LMS. Practitioners usually meet SLH-DSA in NIST's standards catalogue, in the FIPS 205 text itself, and in the IETF's work on encoding it for protocols.

  • Defining document: FIPS 205, the NIST final standard for SLH-DSA, dated 13 August 2024.
  • Lineage: The standard states it is based on SPHINCS+. Check which parameter names your tooling uses before assuming two labels refer to the same settings.
  • Signing state: The scheme is stateless, so signing does not require tracking a state that must never be reused across cloned or restored systems.
  • Protocol encodings: RFC 9909 (December 2025) defines SLH-DSA for use in certificates and other protocol structures, and lists signature and public key sizes for the six 128, 192 and 256 bit parameter sets. Signature sizes are large, for example 7,856 bytes for the 128s set, so confirm size limits in your protocols.
  • Software support: OpenSSL 3.5.0, dated 8 April 2025, lists SLH-DSA among its new post-quantum algorithm features. Confirm the exact version and build flags in your environment before relying on it.

Before you rely on SLH-DSA in a design, check the FIPS 205 parameter set you intend to use, the RFC encoding your protocol needs, and the library version your platform ships.

Which differences in key handling change operations

SLH-DSA and LMS both produce hash-based signatures, but they put very different demands on the teams that run them. The cards below cover what each approach requires in state management, what goes wrong when state is mishandled, how the sizes compare across parameter sets, and what to confirm about tooling before choosing one.

Signing state management for LMS

LMS, specified in NIST SP 800-208, is a stateful scheme, so each signing operation changes the private key state and that state must be stored and advanced correctly. Teams must decide where the state lives, how it is persisted after every signature, and how it is backed up without rolling back to an earlier value. Treat the signing key as a stateful resource with its own lifecycle, access controls and operational runbook before any production use.

NIST SP 800-208

No signing state for SLH-DSA

SLH-DSA, specified in FIPS 205, is stateless, so a signer does not need to track a counter or index between signatures. Teams do not need to build a persistence layer that must survive failover, restore and cloning of signing hosts. Operational effort shifts toward key generation, storage of the private key and the parameter set chosen, and the verification path in each consuming system.

FIPS 205

Risk of state reuse

If a stateful signer restores an older state, for example from a backup or a cloned virtual machine, it can reuse a one-time signing index that was already used. The sources describe this reuse as the central operational hazard of stateful hash-based schemes. Teams should confirm how their implementation enforces state advancement, whether it refuses to sign when state is uncertain, and what procedure applies after a restore or a failover.

Public key and signature sizes

RFC 9909 lists SLH-DSA public keys of 32, 48 and 64 bytes depending on security level, and signatures from 7,856 bytes to 49,856 bytes across its parameter sets. Signature size therefore varies widely with the variant chosen, and it affects certificate chains, protocol message sizes and storage. Check the sizes for the exact variant before sizing buffers, bandwidth budgets or message formats.

RFC 9909

Parameter set choice

SLH-DSA is defined as a family of parameter sets that differ in hash function and in the small (s) or fast (f) signing profile, so the choice changes both size and signing cost. Teams should record which set they deploy, map it to the security category they are targeting, and document why. Changing the set later can change message sizes and interoperability, so the choice should be reviewed as a design decision.

Tooling support to confirm

OpenSSL 3.5.0 lists SLH-DSA as a new feature, but the sources listed on this page do not say which libraries, hardware security modules or signing services support LMS and which support SLH-DSA at the versions you run. Ask each vendor which algorithm and parameter set it implements, whether it enforces state for stateful schemes, and how it tests state recovery. Confirm these points against the product documentation for the exact version before committing.

OpenSSL 3.5 notes

Where SLH-DSA and LMS show up in protocols, products and documents

The two schemes appear in different kinds of documents. SLH-DSA is a NIST standard published as FIPS 205 on 13 August 2024, and it is the one most likely to show up in library release notes and product feature lists. OpenSSL 3.5.0, dated 8 April 2025, lists SLH-DSA among its new post-quantum algorithms alongside ML-KEM and ML-DSA, so a team running that release or a later one can check whether SLH-DSA is available in the build and configuration they actually deploy. LMS is specified differently. NIST SP 800-208, final in October 2020, defines the stateful hash-based schemes LMS and XMSS, along with the multi-tree variants HSS and XMSS^MT, so LMS is referenced in a NIST special publication rather than a FIPS. Reviewers should not assume that a library listing one scheme implies support for the other.

Neither hash-based scheme has an entry in the TLS 1.3 signature list. RFC 8446 defines the SignatureScheme code points for schemes such as rsa_pss_rsae_sha256 (0x0804), ecdsa_secp256r1_sha256 (0x0403) and ed25519 (0x0807), and the sources listed here do not give protocol code points for SLH-DSA or LMS. A team that wants either scheme in a TLS handshake, certificate chain or other protocol exchange should not rely on this page to establish that it is possible. The sources do not say how either scheme would be negotiated on the wire, so the next step is to read the relevant protocol specification and the vendor documentation for the exact release in use.

How SLH-DSA and LMS relate across standards and state handling

The diagram starts with SPHINCS+, the scheme that FIPS 205 is based on, and shows it leading to SLH-DSA, which FIPS 205 specifies as a stateless hash-based signature algorithm. A separate branch starts with SP 800-208, which specifies the stateful schemes LMS and XMSS and their multi-tree variants HSS and XMSS^MT. The split between the two branches is the state-handling distinction: SLH-DSA carries no signing state between signatures, while LMS, HSS, XMSS and XMSS^MT do. When reading the diagram, check which branch your deployment uses, because the operational obligations for managing signing state apply only to the stateful branch.

The diagram splits SLH-DSA (stateless) from LMS, HSS, XMSS and XMSS^MT (stateful).

Whether SLH-DSA and LMS are used together or one replaces the other

The sources do not describe SLH-DSA and LMS as interchangeable, and they do not present either one as a replacement for the other. They are distinct specifications with different origins and different roles. SLH-DSA is a stateless hash-based signature algorithm specified in NIST FIPS 205, which states that it is based on SPHINCS+. LMS is a stateful hash-based signature scheme specified in NIST SP 800-208, alongside XMSS and their multi-tree variants. Because one is stateless and the other is stateful, a system that uses one does not thereby use the other, and the two should not be treated as drop-in substitutes when reviewing a design or a vendor document.

Any combined use of SLH-DSA and LMS in a single system depends on that system's design, and the sources listed on this page do not describe such a combination. If a product or architecture is said to use both, confirm in its design documentation which algorithm signs which artifact, how keys for each are generated and stored, and whether the two are used for separate purposes or for the same function. Check the vendor's documentation for the versions in use, since the sources here do not cover how any particular product implements either scheme.

For a review, ask the vendor to state explicitly which of the two standards each signing function uses, and to point to the specification version it follows. Where a document mentions only one name, do not assume the other is also present or that the two are equivalent. The NIST specifications, NIST FIPS 205 and NIST SP 800-208, are the natural references for confirming what each scheme defines.

How to work out which scheme applies to your system

This sequence establishes whether your system needs SLH-DSA (stateless) or LMS (stateful), or neither, by tracing the requirement, the places signing keys live, and the state handling your signing environment can support. It ends with a tested configuration that you can show to a reviewer or vendor.

  1. Identify the named scheme in the requirement

    Start by reading the requirement, contract, tender or internal policy that asks for hash-based signatures. Record whether it names SLH-DSA, LMS, or neither, and which document it cites, such as NIST FIPS 205 for SLH-DSA or NIST SP 800-208 for LMS. If the requirement names neither scheme, note that the choice is open and the decision rests on the later steps. This step is done when you have a written note quoting the exact clause and the scheme or document it refers to.

  2. Inventory where signing keys are generated

    List every place a signing key is created in your environment, including build pipelines, hardware security modules, firmware signing stations, and vendor-managed services. For each location, record who controls the generation process and whether it is an online system or an offline ceremony. The output is a table of key generation points that you will check against state requirements in the next steps. Keys generated in more than one place need separate notes, because stateful schemes depend on where the state is kept.

  3. Inventory where signing keys are stored

    For each generation point, record where the private key is stored afterward, such as an HSM, a file on disk, a cloud key service, or a smart card. Note whether the storage can be accessed by more than one signing process at the same time, since that affects how state is shared. The output is a storage map alongside the generation map. This step is done when every signing key appears in both maps with a named owner.

  4. Check whether the environment can persist and protect state

    Stateful schemes such as LMS, as specified in NIST SP 800-208, require the signer to record which one-time signing index has been used and never reuse it. For each signing environment in your inventory, confirm with its operators that it can write that state durably after every signature, that the state survives restarts and failover, and that it cannot be rolled back or copied to a second signer. If any environment cannot meet all three conditions, record it as unable to use LMS. This step is done when each environment has a written yes or no answer, supported by the operator's documented behavior.

  5. Confirm vendor support in documentation

    For each product or service that will produce or verify these signatures, check its current documentation for SLH-DSA or LMS support. Record the product name, version, the scheme it documents, and the document section that states it. Where documentation is silent, do not assume support: list the item as unconfirmed and ask the vendor in writing. OpenSSL 3.5.0 lists SLH-DSA as a new feature, which shows what a written support statement looks like, but you must check your own product's version against its own notes. This step is done when every component has a documented answer or an open question logged.

  6. Test signing and verification in your configuration

    Build a test in a non-production environment that matches your real signing path, including key generation, storage, state handling if applicable, and the verifier your relying parties use. Generate a signature, verify it with the independent verifier, and confirm the signature sizes match the published figures for the scheme and parameter set you chose. Repeat the test after a simulated restart to confirm that stateful signers do not reuse an index. Save the test scripts, versions and results as evidence. This step is done when the test passes in your own configuration and the results are filed with the decision record.

  7. Record the scheme decision and the reasons

    Write a short decision record that names the scheme chosen, or states that neither applies, and cites the requirement from the first step, the storage and state findings from the second and third steps, the vendor answers from the fourth, and the test results from the fifth. Include the product versions tested and the date of the test. Have the security owner and the system owner sign it before rollout. This record is the document a reviewer or auditor will ask for first, so keep it with the key inventory.

Common mix-ups between SLH-DSA, SPHINCS+, LMS and XMSS

SLH-DSA, SPHINCS+, LMS and XMSS all use hash-based signatures, which is why they get confused in vendor documents and tender responses. The cards below separate the naming history, the stateless and stateful split, and the parameter set labels, so you can match each name to the scheme your reviewers are asking about.

SPHINCS+ became SLH-DSA

SLH-DSA is the name of the standardized scheme in FIPS 205, published as a final standard on 13 August 2024. FIPS 205 states that it is based on SPHINCS+, so the two names refer to the same family of design, but the standardized specification is the one a vendor should cite. Older documents, research papers and some library code still say SPHINCS+, so check which name and which specification a product uses before comparing signature sizes or behavior.

FIPS 205 text

LMS and XMSS are different specifications

LMS and XMSS are both stateful hash-based signature schemes, but they are separate specifications, and NIST SP 800-208 specifies both along with their multi-tree variants HSS and XMSS^MT. Treating them as interchangeable is a common error, because keys, parameters and tooling do not carry over between them. Ask which named scheme and which SP 800-208 variant a product implements.

SP 800-208 text

Stateful is not the same as weaker

The stateful or stateless label describes how signing state is handled, namely whether the signer must track a counter of one-time keys that it has already used. It does not, by itself, say that one scheme is weaker than the other, and the sources supplied for this page do not support a ranking. Stateful schemes carry the operational requirement that state must never be reused, which is a deployment concern rather than a security grade.

SP 800-208 text

Stateless is not universally simpler

Stateless schemes remove the need to track signing state, which removes one class of operational failure, but they produce much larger signatures than the stateful alternatives. The supplied RFC 9909 sizes show SLH-DSA signatures in the thousands to tens of thousands of bytes depending on the parameter set. Simplicity in key handling does not mean simplicity in bandwidth, storage or certificate size, so evaluate both.

128s signature
7,856 bytes
RFC 9909 text

Read 128s and 128f as parameter sets

The labels 128s and 128f in RFC 9909 name SLH-DSA parameter sets, and the 's' and 'f' suffixes indicate small and fast variants that trade signature size against signing speed. A reviewer who sees 128s in one document and 128f in another is looking at two different configurations with different sizes, not two algorithms. Confirm which parameter set a product uses, since the choice changes the signature and public key bytes you must plan for.

128f signature
17,088 bytes
RFC 9909 text

Questions people ask about SLH-DSA and LMS

Are SLH-DSA and LMS the same signature scheme?

No. They are both hash-based signature schemes, but they are specified in different documents and work differently. SLH-DSA is the stateless scheme standardized in FIPS 205, which states that it is based on SPHINCS+. LMS is a stateful scheme specified in NIST SP 800-208, which also covers XMSS and the multi-tree variants HSS and XMSS^MT. Because they come from different specifications, a signature made with one is not verifiable as the other. Check the parameter identifiers and the specification each system implements before assuming interoperability.

Which hash-based signature scheme is stateless?

SLH-DSA is the stateless one. The sources describe FIPS 205 as specifying a stateless hash-based digital signature algorithm. LMS, specified in NIST SP 800-208, is stateful. A stateful scheme requires the signer to track and update internal state with each signature so that a one-time key is never reused. Handling that state correctly is an operational responsibility, which is why state management is the main point to review when a system uses LMS. The sources do not describe how a particular product stores or protects that state, so confirm this with the vendor.

Do we need both SLH-DSA and LMS?

The sources do not say that an organization must deploy both. Each scheme is a distinct standard with its own parameter sets and tooling, so the choice depends on what your systems need and what your regulator, customer or contract requires. Your own environment decides it: whether you can operate a stateful signer safely, whether you need a stateless option that is simpler to deploy, and which schemes your certificate authority, firmware signing tools and libraries support. If a rule or customer names one of them, that requirement controls the decision.

Which hash-based signature does a rule or customer require?

The sources listed on this page do not identify a specific rule or customer requirement that names SLH-DSA or LMS. Requirements of this kind come from the contract, the regulator or the security policy that applies to your organization, so start there and ask the party directly which algorithm and which parameter set they expect. Do not assume that a general reference to hash-based signatures satisfies a named requirement. Ask for the exact algorithm identifier in writing and record it as part of your compliance evidence.

What should we ask a vendor about state handling for LMS?

Ask how the product stores the LMS private key state, how it prevents reuse of a one-time key after a failure, backup or restore, and what happens if state is rolled back. Also ask which LMS parameter set and multi-tree variant (HSS or similar) the product implements, and whether it follows NIST SP 800-208. The sources do not describe any vendor's state handling, so treat the answers as unverified until you confirm them in your own environment. Request the operational procedures and the test evidence the vendor has for these cases.

What should we ask a vendor about SLH-DSA parameter sets?

Ask which SLH-DSA parameter sets the product supports and which ones it is configured to use. RFC 9909 lists signature and public key sizes in bytes for each set. For example, it lists 7,856 bytes for the signature and 32 bytes for the public key in the 128s set, and 17,088 and 32 bytes for 128f. Use those figures to check that your protocol fields, certificate sizes and storage can accept the chosen set. Confirm the set identifiers in writing and check that the vendor's implementation matches FIPS 205 and RFC 9909.

Where can we read the official definitions of these schemes?

Start with the primary specifications. FIPS 205 at NIST FIPS 205 defines SLH-DSA. NIST SP 800-208 at NIST SP 800-208 defines LMS and XMSS. RFC 9909 at RFC 9909 gives SLH-DSA sizes for protocol use. Compare any vendor claim directly against these documents, and confirm the version and edition your product implements, since specifications can be revised.

How DeployOpen works on this

DeployOpen approaches SLH-DSA and LMS as two different hash-based signature designs with different key handling, so each engagement starts by confirming which scheme a system needs and how it will hold state. We plan, build, test and document the work inside your own infrastructure, then hand over evidence your security and compliance teams can review.

How we scope

  • We confirm which signing systems and code paths would use SLH-DSA or LMS, and why.
  • We record whether each signing role can tolerate stateless signing or must track one-time key state.
  • Scope, deliverables and timelines are agreed in writing before any work starts.

How we build

  • We deploy or configure the signing components against the parameter sets your scope names.
  • For stateful LMS deployments, we design where the signing counter is stored and how it is protected.
  • We test signing, verification and failure handling, including what happens if key state is lost or reused.

How we hand over

  • We document the chosen scheme, parameter sets, key storage locations and state-handling procedures.
  • We provide configuration records and test results that your auditors and reviewers can check.
  • We walk your operations team through backup, key rotation and recovery steps for each signing system.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer.
  • We can retest signing systems after library upgrades, such as OpenSSL releases that add SLH-DSA support.
  • Confirm with the implementation vendor and the RFC or NIST document for your exact version before relying on compatibility.

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.