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.
| Attribute | NIST SP 800-208 | RFC 8554 |
|---|---|---|
| Publisher and type | NIST, a final publication recommending stateful hash-based signature schemes | IRTF, an Informational document from the Crypto Forum Research Group |
| Title | Recommendation for Stateful Hash-Based Signature Schemes | Leighton-Micali Hash-Based Signatures |
| Date and status | Final, dated October 2020 (10/29/20), with an earlier draft posted 12/11/19 | Published April 2019 as an Informational document, by D. McGrew, M. Curcio and S. Fluhrer of Cisco Systems |
| Schemes covered | LMS, its multi-tree variant HSS, XMSS and its multi-tree variant XMSS^MT | LMS and HSS only; XMSS is not covered |
| Signature coverage | Covers the stateful schemes listed above | Specifies a one-time signature scheme and a general N-time signature scheme |
| LM-OTS and LMS typecodes | The sources listed on this page do not give typecode values for this document | LM-OTS typecodes 0x00000001 to 0x00000004 (W1 to W8); LMS typecodes 0x00000005 to 0x00000009 (H5 to H25) |
| LM-OTS signature sizes | The sources listed on this page do not give signature sizes for this document | 8516 bytes (W1), 4292 bytes (W2), 2180 bytes (W4), 1124 bytes (W8) |
| Referenced by | Normative 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 entry | Used 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.
RFC 8554, Leighton-Micali Hash-Based Signatures, was published in April 2019 as an Informational document of the IRTF, produced by the Crypto Forum Research Group. The authors are D. McGrew, M. Curcio and S. Fluhrer of Cisco Systems. As an Informational RFC, it describes the scheme for the community and does not set an Internet standard. It specifies a one-time signature scheme and a general N-time signature scheme built from it, which is what LMS is.
- Document status: Informational, from the IRTF, not an IETF standards-track document. Teams should not describe it as an Internet standard.
- Authors and origin: Cisco Systems authors, published through the Crypto Forum Research Group.
- Typecodes and formats: It defines LM-OTS typecodes LMOTS_SHA256_N32_W1 to W8 (0x00000001 to 0x00000004) and LMS typecodes LMS_SHA256_M32_H5, H10, H15, H20 and H25 (0x00000005 to 0x00000009). Parsers and test vectors depend on these values.
- Signature sizes: It gives LM-OTS signature sizes of 8516 bytes (W1), 4292 bytes (W2), 2180 bytes (W4) and 1124 bytes (W8). Plan storage and bandwidth budgets against the parameter set you choose.
- State handling: It states that signing APIs must be able to update key state, and that implementations using nonvolatile storage must write the updated state before the signature is released. It also recommends keeping second-level HSS keys in RAM only.
RFC 8554 is the document an engineer or test lab uses to check byte formats. Confirm which edition of the RFC your implementation follows before comparing results.
The two documents describe the same family of LMS and HSS constructions, but from different positions. SP 800-208 tells an organization which schemes are recommended and how a stateful scheme should be governed. RFC 8554 tells an implementer how the signature is built and encoded. A design that is reviewed against SP 800-208 still needs RFC 8554 for interoperability, and an implementation written from RFC 8554 still needs SP 800-208 when a federal or regulated customer asks for a NIST reference. Newer IETF work also depends on both: 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.
- Shared subject: LMS and HSS appear in both, so the core scheme is the same subject in each.
- Different scope: SP 800-208 covers XMSS and XMSS^MT, which RFC 8554 does not.
- Different function: Recommendation and governance on one side, bit-level specification on the other.
- Downstream use: RFC 9802 (June 2025) defines X.509 algorithm identifiers for HSS, XMSS and XMSSMT, with the HSS OID defined in RFC 9708, so certificate work draws on both.
- Validation link: The CAVP prerequisites page lists an LMS version 1.0 entry for key generation, signing and verification that requires all hash functions and XOFs used.
Do not treat the two as interchangeable for a given product. Confirm the scheme, parameter set and document revision the product actually implements, and ask the vendor which of the two documents its test evidence follows.
Practitioners meet these documents in different places depending on their role. A security lead or compliance reviewer usually sees SP 800-208 in a questionnaire, a procurement requirement or a validation prerequisite. An engineer or platform team usually meets RFC 8554 through a library, a test vector file, a parser or a certificate profile. Both appear in architecture reviews when a team needs to choose between stateful and stateless hash-based signatures, which is where SP 800-208 and FIPS 205 are compared.
- Compliance and procurement: Vendor-risk questions that ask which NIST document a stateful scheme is built to.
- Validation and labs: CAVP and CMVP evidence references, with SP 800-140C listing the stateful schemes under its heading 6.2.3.2.
- Engineering: Implementation tickets that quote RFC 8554 typecodes, signature sizes or state rules.
- PKI teams: Certificate profiles that rely on RFC 9802 and its use of RFC 8554 Section 6.2.
- Architecture reviews: Decisions between LMS or HSS and the stateless FIPS 205 standard, where state management is a deciding factor.
When a vendor cites either document, ask for the exact revision, the scheme and parameter set it uses, and the test evidence that supports the claim.
Before accepting a claim that a product uses LMS or HSS, verify it against the source documents rather than a summary. The points below are the ones that most often cause confusion in reviews.
- Document revision: Confirm the October 2020 final of SP 800-208, not the December 2019 draft, and confirm the RFC 8554 edition the implementation follows.
- Scheme scope: Check whether the product uses LMS, HSS, XMSS or XMSS^MT, since only SP 800-208 covers the XMSS schemes.
- State management: Ask how the product writes updated key state to nonvolatile storage before releasing a signature, as RFC 8554 requires, and whether second-level keys stay in RAM.
- Parameter set: Match the typecodes and signature sizes to the chosen parameters, and confirm storage and bandwidth budgets.
- Validation evidence: Ask for the CAVP or module validation entry that covers the scheme, and check that it names the version tested.
NIST's later transition report (NIST IR 8547) and the FIPS 140-3 module requirements are separate questions. Keep them distinct when reviewing a product's evidence.
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 textTypecodes 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 textWrite 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 textSecond-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 textWhere 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.
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.
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.
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.
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.
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.
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.
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 textInformational 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 pageHSS 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.

