NIST SP 800-208 vs RFC 8554: guidance and specification for LMS

NIST SP 800-208 is NIST's recommendation for stateful hash-based signatures, including LMS and XMSS. RFC 8554 is the IETF specification of LMS. Here is how they differ and where each applies.

On this page

NIST SP 800-208 vs RFC 8554: which one answers your LMS question

When a vendor, tender or audit names LMS or HSS and cites one of two documents, the first thing to check is which one. NIST SP 800-208 is a NIST recommendation, Recommendation for Stateful Hash-Based Signature Schemes, covering LMS, HSS, XMSS and XMSS^MT. RFC 8554, Leighton-Micali Hash-Based Signatures, is an IETF Informational specification of LMS and HSS only. The key distinction is that only SP 800-208 covers XMSS, so a citation of XMSS points to NIST, not to the RFC, and an answer that cites RFC 8554 alone does not cover XMSS or XMSS^MT.

The two documents are not interchangeable as sources. RFC 8554 is a detailed format and algorithm specification, with LM-OTS typecodes such as LMOTS_SHA256_N32_W1 through W8 and LMS typecodes such as LMS_SHA256_M32_H5 through H25, along with signature sizes ranging from 8516 bytes at W1 down to 1124 bytes at W8. It also states that implementations using nonvolatile storage must write updated key state before a signature is released, and it recommends keeping second-level HSS keys in RAM only. SP 800-208 is the NIST recommendation for the same family. Confirm which document the vendor's implementation is built against and which version of each it claims to follow.

This question usually arises for security teams reviewing vendor answers, vendor-risk reviewers checking tender language, and PKI engineers deciding how a certificate profile should reference the algorithm. Ask the vendor to name the document, the section and the parameter sets they implement. For X.509 use, RFC 9802 uses RFC 8554 Section 6.2 for the HSS public key and signature format and cites SP 800-208 as a normative reference for XMSS and XMSS^MT, so check both references in that profile.

How the two documents compare attribute by attribute

This table sets the two documents side by side on publisher, status, scope, signature coverage, typecodes, sizes and cross-references, so each attribute can be checked against the source. Read the rows as separate facts: SP 800-208 is a NIST recommendation that covers more schemes, while RFC 8554 is an IETF Informational document that specifies the LMS and HSS formats in detail. Confirm the exact version and revision you need before relying on any row.

AttributeNIST SP 800-208RFC 8554
Publisher and typeNIST, a final publication recommending stateful hash-based signature schemesIRTF, an Informational document from the Crypto Forum Research Group
TitleRecommendation for Stateful Hash-Based Signature SchemesLeighton-Micali Hash-Based Signatures
Date and statusFinal, dated October 2020 (10/29/20), with an earlier draft posted 12/11/19Published April 2019 as an Informational document, by D. McGrew, M. Curcio and S. Fluhrer of Cisco Systems
Schemes coveredLMS, its multi-tree variant HSS, XMSS and its multi-tree variant XMSS^MTLMS and HSS only; XMSS is not covered
Signature coverageCovers the stateful schemes listed aboveSpecifies a one-time signature scheme and a general N-time signature scheme
LM-OTS and LMS typecodesThe sources listed on this page do not give typecode values for this documentLM-OTS typecodes 0x00000001 to 0x00000004 (W1 to W8); LMS typecodes 0x00000005 to 0x00000009 (H5 to H25)
LM-OTS signature sizesThe sources listed on this page do not give signature sizes for this document8516 bytes (W1), 4292 bytes (W2), 2180 bytes (W4), 1124 bytes (W8)
Referenced byNormative reference for XMSS and XMSS^MT in RFC 9802; listed under heading 6.2.3.2 of SP 800-140C; CAVP prerequisites page has an LMS 1.0 entryUsed by RFC 9802 for the HSS public key and signature format (Section 6.2)

What SP 800-208 and RFC 8554 each are

NIST SP 800-208, Recommendation for Stateful Hash-Based Signature Schemes, is a NIST recommendation that specifies stateful hash-based signature schemes for use in federal and regulated settings. The final publication is dated October 2020 (10/29/20), and an earlier draft was posted on 12/11/19. The document specifies LMS and its multi-tree variant HSS, and it also specifies XMSS and its multi-tree variant XMSS^MT. That coverage of XMSS is the main scope difference from RFC 8554, which does not cover XMSS.

  • Final publication: The October 2020 final version is the reference that compliance and procurement documents usually cite. The December 2019 draft is an earlier stage and should not be cited as the current text.
  • Schemes covered: LMS, HSS, XMSS and XMSS^MT are all specified in this one recommendation.
  • Position in NIST's set: It sits beside the stateless standard FIPS 205 (SLH-DSA) and the lattice standards FIPS 203 and FIPS 204. NIST's SP 800-140C lists LMS, HSS, XMSS and XMSS^MT under its stateful hash-based signature heading and cites SP 800-208.
  • Where you meet it: In validation and evaluation paperwork, in vendor answers asking which NIST document a stateful scheme follows, and in CAVP prerequisite entries for LMS.

Before relying on the document, confirm the exact revision number and the publication date on the NIST page, and check whether a newer revision has been issued.

Six differences that matter when you read a vendor claim

Vendor claims about LMS or HSS often blur NIST's recommendation with the IETF specification. The six points below separate what each document covers, what a parser or configuration must support, and where the two documents disagree in kind, so you can check a claim against the right source.

XMSS sits only in NIST guidance

SP 800-208 covers XMSS and XMSS^MT as well as LMS and HSS. RFC 8554 does not specify XMSS at all. If a vendor says it supports the NIST hash-based stateful schemes, ask whether that covers XMSS or only LMS and HSS, because the two can be implemented and validated separately. Check the vendor's statement against each scheme by name.

SP 800-208 text

Typecodes and signature sizes in RFC 8554

RFC 8554 publishes the LM-OTS and LMS typecodes a parser or configuration must recognize, such as LMOTS_SHA256_N32_W1 through W8 and LMS_SHA256_M32_H5 through H25. It also gives the LM-OTS signature sizes for each Winternitz parameter. When a vendor claims interoperability, confirm that its parser reads these typecodes and that its storage and buffers accommodate the published sizes.

RFC 8554 text

Write key state before release

RFC 8554 requires that an implementation using nonvolatile storage write the updated key state before the signature is released. This is a control on the signing path, not a property of the algorithm. Ask vendors how their signing API persists state, what happens after a crash or restore, and whether they test for state reuse.

RFC 8554 text

Second-level keys kept in RAM

RFC 8554 recommends keeping second-level HSS keys in RAM only. This shapes where key material lives during operation and what survives a restart. A design that writes these keys to disk or to a shared store departs from the recommendation, so ask a vendor to state where each level's key material is held.

Recommendation versus Informational RFC

SP 800-208 is a NIST recommendation, while RFC 8554 is an IETF Informational document published by the IRTF's Crypto Forum Research Group. Neither is a mandate on its own, and they carry different weight in procurement and audit. When a vendor cites one of them as a requirement, check which document type it is and whether a contract or federal customer actually requires it.

RFC 9802 draws on both

RFC 9802, published in June 2025, defines X.509 identifiers for HSS, XMSS and XMSS^MT. It takes the HSS public key and signature format from RFC 8554 Section 6.2 and cites SP 800-208 as a normative reference for XMSS and XMSS^MT. A certificate using these identifiers therefore depends on both documents, so check each certificate profile against both sources.

RFC 9802 text

Where LMS, HSS and these two documents show up in practice

Most readers meet LMS and HSS in a reference, not in a standard they must implement directly. RFC 8554 Section 6.2 is the point where the HSS public key and signature format is defined, and RFC 9802, published in June 2025, uses that section for the HSS format and cites SP 800-208 as a normative reference for XMSS and XMSSMT. RFC 9802 also defines X.509 algorithm identifiers for HSS, XMSS and XMSSMT, with the HSS object identifier defined in RFC 9708. If your certificate profiles, PKI tooling or vendor documents refer to LMS, HSS or these identifiers, trace the reference back to the section it names and confirm which document and version your product implements.

NIST's own references point the other way. The SP 800-140C page lists LMS, HSS, XMSS and XMSSMT under heading 6.2.3.2, Stateful Hash-Based Signature Schemes, and cites SP 800-208 for them. This is the place in the validation supplement where a module's stateful signature support is described, so a reviewer checking a validation claim should look for that heading and the SP 800-208 citation. On the validation side, the CAVP prerequisites page has an entry for LMS version 1.0 covering keyGen, sigGen and sigVer, and it requires all hash functions and XOFs used to be validated as well. A validation listing for a product should be checked against that entry, not assumed from the presence of an LMS name in a datasheet.

Product and library support is where most reviewers will need to ask questions. The sources listed on this page do not name any specific product or library that implements LMS, HSS, XMSS or XMSSMT, so do not treat any vendor statement as confirmed here. Ask the vendor which document and version they implement, whether their stateful key handling follows the state-update requirements in RFC 8554, and whether a CAVP certificate covers the exact LMS version and hash functions in the build you will run. Vendor documentation and their certificate listings are the places to confirm these points for a given release.

How to work out which document applies to your system

This sequence establishes whether your system falls under NIST SP 800-208, RFC 8554, or both, and which parts of each apply. Each step produces a checked answer you can record and hand to your assessors or vendor-risk reviewers. Confirm every point against your own requirements, inventory and vendor documentation.

  1. Check the requirement or contract for the named document

    Start with the policy, contract or customer requirement that asked for stateful hash-based signatures, and record which document it names: NIST SP 800-208, RFC 8554, or both. Note whether the requirement names a specific scheme (LMS, HSS, XMSS or XMSS^MT) or only refers to stateful hash-based signatures in general. You know this step is done when the named document and scheme are written down with the clause that cites them.

  2. Check the inventory for XMSS or LMS and HSS

    Review your cryptographic inventory for every place a stateful hash-based signature scheme is used, such as code signing, firmware or document signing. Record whether each instance is XMSS or XMSS^MT, or LMS or HSS. This matters because SP 800-208 covers both families, while RFC 8554 covers only LMS and HSS. You know this step is done when every instance is listed with its scheme, owner and system.

  3. Check the vendor's typecodes and signature sizes

    For each LMS or HSS instance, ask the vendor for its documentation on which LM-OTS and LMS typecodes it implements, the signature sizes it produces, and how it handles key state. RFC 8554 defines these typecodes and sizes, so compare the vendor's answer against the RFC's definitions to confirm the match. You know this step is done when the vendor's typecodes, signature sizes and key-state behavior are recorded and each has been checked against the RFC.

  4. Confirm key-state handling in signing operations

    Ask the vendor how its signing operations update key state and when that state is written to nonvolatile storage. RFC 8554 requires that the updated state be written before a signature is released, and it recommends keeping second-level HSS keys in RAM only. Check whether the implementation follows these requirements and whether the vendor's design makes any exceptions. You know this step is done when the vendor has answered each point in writing and any gap is logged for follow-up.

  5. Check whether RFC 9802 X.509 identifiers are needed

    If your system issues or validates X.509 certificates that carry HSS, XMSS or XMSS^MT keys or signatures, check whether RFC 9802 applies. That document defines the X.509 algorithm identifiers for these schemes and uses RFC 8554 for the HSS format and SP 800-208 as a reference for XMSS. Confirm with your PKI team and vendor whether certificates in scope use these identifiers. You know this step is done when you have recorded whether certificate identifiers are in use and, if so, which RFC 9802 identifiers they carry.

  6. Confirm CAVP and module validation scope with the vendor

    Ask the vendor which algorithm validations and module validations cover the LMS or XMSS implementation you run. The CAVP prerequisites list an entry for LMS version 1.0 covering key generation, signature generation and signature verification, with all hash functions and XOFs used. Check whether the cryptographic module is validated under FIPS 140-3 and whether that validation names the stateful scheme. You know this step is done when the vendor has provided the validation certificate numbers and their scope, and you have confirmed in writing which algorithms and versions each one covers.

  7. Record the result and confirm against your environment

    Combine the results from the earlier steps into one record: the named document, the scheme in each system, the vendor's typecodes and key-state behavior, whether RFC 9802 identifiers apply, and the validation scope. Confirm each point against your own environment, since the sources describe the standards and do not describe your deployment. You know this step is done when the record is signed off by the security owner and each point is marked as confirmed in your environment.

Common mix-ups between the two documents

NIST SP 800-208 and RFC 8554 cover overlapping hash-based signature material, but they differ in publisher, status and scope. The cards below set out the readings most often mistaken, so reviewers can check which document a given claim actually rests on.

RFC 8554 does not cover XMSS

RFC 8554 specifies Leighton-Micali Hash-Based Signatures, including the one-time signature scheme and the general N-time scheme built from it. SP 800-208 also specifies XMSS and its multi-tree variant XMSS^MT, which RFC 8554 does not. When a vendor or tender asks for XMSS support, check SP 800-208 or the XMSS-specific documents, not RFC 8554, as the source for that claim.

RFC 8554 text

Informational RFC is not a NIST recommendation

RFC 8554 was published in April 2019 as an Informational document of the IRTF, a product of the Crypto Forum Research Group. It describes a specification and does not carry NIST's recommendation status. SP 800-208 is a NIST recommendation, a final publication dated October 2020. Do not treat a reference to RFC 8554 as evidence that NIST has endorsed a given configuration, and do not read SP 800-208 as an IETF document.

LMS is not the stateless FIPS 205 standard

LMS and its HSS variant are stateful hash-based schemes, specified in RFC 8554 and in SP 800-208. FIPS 205, titled Stateless Hash-Based Digital Signature Standard, is a different NIST standard, published on 13 August 2024, and specifies SLH-DSA. Stateful schemes require the signer to update and store key state before releasing a signature, which SLH-DSA does not. Confirm which of the two a system uses before applying either document's requirements.

FIPS 205 page

HSS is a variant of LMS

HSS is not a separate scheme from LMS. Both RFC 8554 and SP 800-208 treat HSS as the multi-tree form of LMS, which combines LMS trees across levels. A reference to HSS in a certificate profile or product listing therefore points to a configuration of the LMS scheme. Check which parameter set and levels a product implements, since the sources define HSS through its tree structure.

LMS support does not imply XMSS support

A product can implement LMS and HSS from RFC 8554 without implementing XMSS or XMSS^MT from SP 800-208. Vendors often list the two families together, so a single line in a datasheet may cover only one. Ask for the algorithm list and the test records for each family separately, and confirm the implementation against the version you plan to deploy.

Questions readers search about SP 800-208 and RFC 8554

Are NIST SP 800-208 and RFC 8554 the same document?

No. They are separate documents from different bodies, and they cover overlapping but different material. RFC 8554, Leighton-Micali Hash-Based Signatures, was published in April 2019 as an Informational document of the IRTF, written by D. McGrew, M. Curcio and S. Fluhrer of Cisco Systems. NIST SP 800-208, Recommendation for Stateful Hash-Based Signature Schemes, is a final publication dated October 2020. Both specify LMS and its multi-tree variant HSS, but SP 800-208 also covers XMSS and XMSS^MT, which RFC 8554 does not. Treat them as related sources rather than interchangeable ones, and check which one your vendor or customer cites.

Which one is newer, SP 800-208 or RFC 8554?

RFC 8554 was published first, in April 2019. NIST SP 800-208 has a draft posted on 11 December 2019 and a final publication dated 29 October 2020, so the NIST document is the later of the two. RFC 9802, published in June 2025, is a third and more recent document. It defines X.509 algorithm identifiers for HSS, XMSS and XMSS^MT, uses RFC 8554 Section 6.2 for the HSS public key and signature format, and lists SP 800-208 as a normative reference. Check the publication date of any version a vendor cites, since a later revision may change details.

Which one does a rule or customer usually ask for?

The sources listed on this page do not say which document a particular regulation, contract or customer requires. Ask the customer or the governing body which document they reference, and whether they expect the NIST guidance, the IETF specification or both. NIST documents appear in federal and NIST-referenced contexts, and the SP 800-140C page lists LMS, HSS, XMSS and XMSS^MT under the stateful hash-based signature schemes citing SP 800-208. Confirm the exact reference in the written requirement before you assume one document satisfies it.

Do I need both SP 800-208 and RFC 8554?

It depends on what your system implements and what your reviewers expect. Both documents describe LMS and HSS, so a system built on those schemes can be checked against either one. If you use XMSS or XMSS^MT, SP 800-208 is the document that covers them, because RFC 8554 does not. The two documents do not contradict each other on the shared material, but they are not the same text. Confirm with your assessors which references they will accept, and record in your inventory which document each deployed implementation was built against.

What should I ask a vendor about which one it implements?

Ask the vendor to name the exact document and version it implements, and which schemes it covers: LMS, HSS, XMSS or XMSS^MT. Ask whether it follows the RFC 8554 typecodes and signature formats, and whether it has been checked against SP 800-208 for the schemes it claims. Ask how it handles state: RFC 8554 states that signing APIs must update key state and that the updated state must be written to nonvolatile storage before a signature is released, and it recommends keeping second-level HSS keys in RAM only. Ask whether a CAVP validation exists for the LMS version it uses, and which hash functions it validates. Request the answers in writing with the version numbers.

Does using SP 800-208 or RFC 8554 mean my system is validated?

No. Following a specification does not make a product validated or certified. Validation is a separate process: the CAVP lists an LMS version 1.0 entry for keyGen, sigGen and sigVer, and that applies to algorithm testing, not to a whole product. A cryptographic module is assessed under FIPS 140-3 separately. Ask for the specific validation certificate, the module name, the version and the issuer, and do not read a document reference as evidence of validation. Your compliance team should confirm the validation status directly with the validating body.

What state handling risk should I check for in LMS implementations?

The main operational risk is key state. RFC 8554 requires that the signing process update key state and that an implementation using nonvolatile storage write the updated state before the signature is released. If state is rolled back, copied or written out of order, one-time keys can be reused, which undermines the scheme. Ask the vendor how state is stored, whether backups or virtual machine snapshots can restore an older state, and how the system prevents concurrent signing from two copies. These controls are an engineering responsibility, and neither document removes them.

How DeployOpen works on this

DeployOpen approaches LMS and HSS questions by first fixing which document governs your use, then scoping the implementation in writing before work begins. The work covers the stateful signature state handling that the sources describe, tested and documented in your own environment.

How we scope

  • We confirm which document your team must meet: SP 800-208 for LMS, HSS, XMSS or XMSS^MT, or RFC 8554 for LMS and HSS.
  • We record in the written scope whether XMSS or XMSS^MT is in or out, since RFC 8554 does not cover it.
  • We agree deliverables, timelines and responsibilities in writing before any work starts, as engagements are fixed-scope.

How we build

  • We implement LMS or HSS in your infrastructure, using the parameter and typecode choices your scope selects.
  • We design signing state handling so the updated key state is written before a signature is released, as RFC 8554 requires.
  • We check that second-level HSS keys follow the RAM-only recommendation in RFC 8554 where your design uses that approach.

How we hand over

  • We document the signing state storage, update order and key handling so your security team can review them directly.
  • We provide a record of which hash functions and XOFs the implementation uses, to support any CAVP prerequisite checks you run.
  • We confirm the validation status of your chosen module against your own environment, since the sources do not certify our work.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • We retest the state handling and signing path after upgrades to the library or the underlying storage.
  • Ask your team to confirm current RFC and NIST revision status with the published documents before relying on any version.

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.