What is RFC 8554 and why does it come up in post-quantum planning?
If you met RFC 8554 in a vendor document, tender or audit request, the short answer is that it is the IETF Informational RFC defining the LM-OTS and LMS signature schemes and the hierarchical HSS scheme, all used for hash-based digital signatures. It was published in April 2019 by D. McGrew, M. Curcio and S. Fluhrer of Cisco Systems, as an Informational RFC from the IRTF Crypto Forum Research Group. Its abstract states that these hash-based signatures would remain secure even if an attacker could build a quantum computer, which is why it appears in post-quantum conversations. The specification does not depend on large integer mathematics, and it sits alongside RFC 8391 (XMSS) as one of the two hash-based signature families the IETF documented.
Security reviewers, certificate and PKI teams, firmware teams and vendors meet RFC 8554 most often when a product claims hash-based signing for firmware updates, code signing or certificate chains. The most important practical point is that LMS and HSS are stateful. A one-time private key must never sign a second message, and the leaf index must be updated in nonvolatile memory before a signature is released. A vendor answer that omits how state is stored, backed up and protected is incomplete. Also note that RFC 8554 is not a NIST FIPS standard. NIST covers LMS and HSS in SP 800-208, while FIPS 205 (SLH-DSA) is NIST's stateless hash-based standard.
When you review a vendor answer that cites RFC 8554, confirm which LM-OTS and LMS parameter sets the product uses, since signature size depends on those choices. Ask how the state counter is protected against rollback, cloning and loss, and whether the product follows the state and backup guidance in RFC 10033. Confirm whether the product's use of LMS or HSS is defined by a further profile, such as RFC 9708 for CMS or RFC 9802 for X.509 certificates, and check the relevant versions yourself against the RFC text and the vendor's documentation.
Which names, numbers and parameter sets does RFC 8554 use?
This table lists the names, identifiers and parameter-set codes that RFC 8554 assigns, so you can match a vendor's wording to the specification. Read the parameter-set name as the exact identifier of the variant you are being asked about, because the RFC number alone covers the whole family. The main takeaway is that a tender or certificate that names a parameter set such as LMS_SHA256_M32_H10 is more precise than one that cites only RFC 8554.
| Item | Value | What it means for you |
|---|---|---|
| Full title | Leighton-Micali Hash-Based Signatures | The title a reviewer should expect to see in the specification and in vendor references to it. |
| Abbreviations | LMS, HSS, LM-OTS | LMS is the single-tree signature scheme, HSS is the hierarchical scheme built from LMS trees, and LM-OTS is the one-time signature scheme underneath them. |
| RFC number | RFC 8554 (April 2019) | An Informational RFC from the IRTF Crypto Forum Research Group, not an Internet Standards Track document. |
| NIST cross-reference | NIST SP 800-208 (October 2020) | The NIST publication that also covers LMS and HSS, which assessors may cite alongside the RFC. |
| LM-OTS typecodes | 0x00000001 to 0x00000004 | Assigned to LMOTS_SHA256_N32_W1, W2, W4 and W8. Each one fixes the Winternitz parameter and therefore the signature size. |
| LMS typecodes | 0x00000005 to 0x00000009 | Assigned to LMS_SHA256_M32_H5, H10, H15, H20 and H25. The H value sets tree height, which affects signature size and the number of signatures a key can produce. |
| Example parameter-set name | LMS_SHA256_M32_H10 | Illustrative of how a tender may quote the variant. Confirm the exact name against the specification before relying on it. |
| Signature size driver | 12 + n*(p+1) + m*h bytes | Signature size depends on the LM-OTS and LMS sets chosen, so the parameter-set name determines the bytes your systems must store and transmit. |
Where do practitioners meet RFC 8554 in protocols, products and documents?
RFC 8554 is rarely read on its own. Practitioners meet it inside CMS signing and X.509 certificate specifications, firmware and code-signing discussions, NIST guidance on stateful hash-based signatures, vendor answers and tender language, and audit requests. Each card below names one place it shows up and what to check there.
Certificates and CMS signing
RFC 9708 defines how HSS/LMS is used in CMS and obsoletes RFC 8708, using the algorithm identifier id-alg-hss-lms-hashsig with OID 1.2.840.113549.1.9.16.3.17 and absent parameters. RFC 9802 reuses that OID for HSS in X.509 certificates and CRLs and encodes HSS public keys as RFC 8554 describes. When a document names one of these OIDs, check whether it refers to the RFC 8554 key format or to a different key type.
RFC 9708 textFirmware and code-signing use
LMS and HSS are stateful, so a signing device must record each one-time leaf index in nonvolatile memory before releasing a signature. RFC 8554 states that a one-time private key must never sign a second message. Ask vendors whether their firmware or code-signing tooling tracks that state durably, and how the key is recovered if the state is lost.
NIST SP 800-208 as a reference
NIST SP 800-208, published in October 2020, covers LMS and HSS together with XMSS and XMSS^MT. Procurement and compliance teams often cite it when asking vendors which stateful hash-based scheme they use. Confirm which parameter sets and state-handling controls a vendor's implementation follows, since the standard and RFC 8554 are separate documents.
NIST SP 800-208Vendor documents and tender language
Vendor answers and tender requirements may name LMS, HSS or RFC 8554 without stating a product version or parameter set. Ask which LM-OTS and LMS parameter sets are implemented, and whether the RFC 8554 typecodes are supported. The sources listed on this page do not say which commercial products implement LMS or HSS, so confirm support with each vendor in writing.
Audit requests and state controls
Auditors and assessors may ask how a stateful signing key is protected from reuse, backed up and restored. RFC 10033, an Informational document from September 2026, gives guidance on state and backup management for stateful hash-based signatures, including LMS and HSS. Use it as a reference when preparing evidence for these requests, and confirm the controls against your own environment.
RFC 10033 detailsWhat does RFC 8554 do inside a signing system?
RFC 8554 defines three layers that work together. LM-OTS is the one-time signature scheme: it signs a single message with a one-time key, and that key must never sign a second message. LMS builds a tree of many one-time keys beneath a single public key, so one published key can authenticate many signatures over time. HSS chains LMS trees across between 1 and 8 levels, which lets a deployment grow its capacity. The RFC requires all implementations to support one level, so a one-level LMS setup is the baseline any conforming product must provide. When reviewing a vendor, confirm which of these layers the product implements and how many levels it supports.
Signature size depends on the parameter sets chosen, not on a single fixed figure. The RFC gives LM-OTS signature sizes of 8516 bytes for W1, 4292 bytes for W2, 2180 bytes for W4 and 1124 bytes for W8, all with n=32. An LMS public key is 56 bytes when m=32. The LMS signature size is given as 12 + n*(p+1) + m*h bytes, so the height of the tree and the Winternitz setting both move the result. Ask the vendor which LM-OTS and LMS typecodes it uses, since the typecodes fix those parameters, and check the resulting signature length against the message and certificate sizes your systems can carry.
The stateful design is the operational point reviewers should press on. RFC 8554 states that LMS and HSS are stateful, so the leaf index must be updated in nonvolatile memory before a signature is released, and a one-time private key must never sign a second message. A system that restores an old state, such as from a backup or a cloned virtual machine, can reuse a one-time key. Ask how the product stores and advances its state, how backups are handled, and whether the vendor follows the state management guidance in RFC 10033. Plan for this in key custody, not only in the algorithm choice.
Is RFC 8554 a standard that is required or recommended?
RFC 8554 is not an Internet Standards Track specification. It was published in April 2019 as an Informational RFC from the IRTF Crypto Forum Research Group, so the document describes the LM-OTS and LMS (and HSS) schemes but does not set an IETF standard that implementations must follow. Its status alone does not tell you whether a regulator, a federal customer or your own policy requires it. Treat the RFC as the reference text for the algorithm, and check the requirement separately.
The schemes move toward standards-track status through follow-on documents. RFC 9708 (January 2025, Proposed Standard) defines how HSS/LMS signatures are used in CMS, and RFC 9802 (June 2025, Proposed Standard) does the same for X.509 certificates and CRLs. NIST SP 800-208, published in October 2020, covers LMS and HSS alongside XMSS, and RFC 10033 (September 2026, Informational) gives guidance on state and backup management for stateful hash-based signatures. Confirm which of these your use case relies on, since the sources do not say they are mandatory for any organization.
Before you write a requirement or a vendor answer that cites LMS, confirm the obligation with the party that imposes it. Check the contract, the federal or sector rule, or the internal policy that applies to your systems, and confirm the parameter sets and state-management controls your vendor actually implements. The sources listed on this page do not establish that any body requires RFC 8554 for a commercial organization.
What should a migration team do about RFC 8554 in its inventory?
The sequence below turns RFC 8554 from a term in a vendor document into a recorded inventory entry with a known parameter set, a confirmed state-management model and a tested signing path. Each step produces evidence a reviewer can check before anything moves to production.
Locate every hash-based signing and verification point
Search the environment for systems that issue or verify LMS or HSS signatures, including firmware signing, software update packages, code-signing pipelines, document signing and any certificate or CMS workflow that carries HSS keys. Application owners, build and release engineers and PKI administrators should each check their own areas, because these signatures often sit inside tools that the security team does not own. The step is complete when each finding is recorded with the system name, the signing or verification role and the owner. Confirm the list against the RFC 9708 and RFC 9802 usage points if the environment uses CMS or X.509 carriage.
Record the LMS or HSS parameter set for each use
For every finding, record the LM-OTS and LMS parameter set in use, using the typecodes RFC 8554 assigns, and whether the scheme runs as a single LMS tree or as a multi-level HSS hierarchy. Signature size depends on these choices, so the record also feeds storage and message-size planning. Ask the component owner to show the configuration or key metadata rather than relying on memory. The step is complete when each entry names a specific parameter set and level count that a reviewer can verify against the configuration.
Confirm whether each component is stateful
RFC 8554 describes LMS and HSS as stateful schemes, so each component must be checked for how it tracks the leaf index. Ask the owner where the index is held, whether it is stored in nonvolatile memory, and whether it is updated before a signature is released. Note that NIST describes SLH-DSA as stateless, so a system using a different scheme cannot be assumed to share this property. The step is complete when each stateful component has a documented answer to where and how the index is persisted.
Verify that one-time keys cannot sign twice
RFC 8554 states that a one-time private key must never sign a second message, so this check tests the control that enforces it. Review how the signing service handles key reuse after a crash, restore from backup, virtual machine snapshot or failover, since any of these can roll the leaf index back. Ask the owner to describe the controls in place and any backup or state-management guidance they follow, including the principles in RFC 10033. The step is complete when the team has a written description of the controls and an explicit finding for any path where an index could be reset.
Ask vendors about parameter sets and state controls
Send each vendor that supplies a component with a signing role a written request. Ask which LM-OTS and LMS parameter sets and HSS level counts the product supports, how it stores and protects the leaf index, how it prevents one-time key reuse, and whether it has been tested against RFC 8554 and its successors. Ask for the answers in writing with the product version they apply to, because support can differ between releases and editions. The step is complete when each vendor response is on file, dated and matched to a specific product version in the inventory.
Test the signing path in a non-production environment
Before any rollout, run the chosen parameter set and state-management design in a test environment that mirrors the production signing path, including backup and restore. Confirm that signatures verify with the intended parsers and tools, and that a restore or failover cannot produce a second signature with the same leaf index. Record the test results, the versions tested and any deviation from vendor claims. The step is complete when the test record shows successful verification and a tested failure scenario, and the team has signed off on moving the component forward.
Where LM-OTS, LMS and HSS sit in the hash-based family
The diagram starts with LM-OTS, the one-time signature scheme that signs a single message per key. LMS builds on it as a Merkle tree of LM-OTS keys, with each tree defined by typecodes such as LMS_SHA256_M32_H5. HSS chains several LMS trees into a hierarchy of 1 to 8 levels, and a one-level HSS is treated as LMS. The bottom of the chain shows the documents that carry HSS keys and signatures: RFC 9708 for CMS and RFC 9802 for X.509 certificates and CRLs, with NIST SP 800-208 as the reference for the family. Check the state handling at each hand-off, because LMS and HSS are stateful.
How LM-OTS, LMS and HSS relate, and which documents carry HSS keys and signatures.
What do people mix up about RFC 8554, LMS and HSS?
RFC 8554 is often confused with its neighbors in the hash-based signature family, and with the rules that govern where it is used. Each card below separates one common mix-up from what the specification actually says, so you can check vendor answers and tender language accurately.
LMS and HSS are not separate algorithms
HSS is not a different signature scheme from LMS. It is a hierarchy built from LMS trees, allowing between 1 and 8 levels, and LMS is treated as HSS with one level. Every implementation must support the one-level case. When a vendor says it supports HSS, ask whether it supports multi-level trees, and at which depth, because the two are not the same feature.
RFC 8554 textRFC 8554 is not RFC 8391
RFC 8554 defines LMS and HSS. RFC 8391 defines XMSS, a different hash-based signature scheme. Both are Informational RFCs from the IRTF, and both belong to the same family, which is why they are often mentioned together. A citation to one does not establish anything about the other, so confirm which document a product or tender actually names.
RFC 8391 textStateful is not interchangeable with stateless
LMS and HSS are stateful. A one-time private key must never sign a second message, and the leaf index must be updated in nonvolatile memory before a signature is released. NIST describes SLH-DSA in FIPS 205 as stateless, so it does not carry this operational burden. Treat the two as different operating models, with different key handling, backup and recovery requirements.
FIPS 205 pageAn RFC number is not a compliance certificate
RFC 8554 is a specification, not an audit result, a certification or a validation. Citing its number tells a reader which design a product follows, not that the product is compliant or approved for any use. Ask vendors for the scope, version and independent assessment of their implementation, and confirm state management with the specification's own guidance.
Stateful signing needs its own controls
Because LMS and HSS keys carry state, an implementation that restores an old state copy or runs on two nodes can reuse a one-time key. RFC 10033 gives guidance and security considerations for state and backup management of stateful hash-based signatures, including LMS and HSS. Check whether a product documents its state handling against that guidance before accepting it in a design.
RFC 10033 pageWhat do people search about RFC 8554?
What does RFC 8554 stand for?
RFC 8554 is titled "Leighton-Micali Hash-Based Signatures". The number is the IETF Request for Comments identifier, and the title names the two schemes it specifies: LM-OTS, a one-time signature scheme, and LMS, a signature scheme built from it. The RFC was published in April 2019 by D. McGrew, M. Curcio and S. Fluhrer of Cisco Systems. It is an Informational RFC from the IRTF Crypto Forum Research Group, so it describes a technique and does not carry Internet Standards Track status. When a document or tender cites "RFC 8554", it means this specification and its LMS and HSS parameter sets. Confirm the exact revision your vendor implements, because later RFCs such as RFC 9708 and RFC 9802 reference LMS and HSS keys but do not replace RFC 8554 itself. The abstract states that hash-based signatures of this kind would remain secure even if an attacker could build a quantum computer, which is the reason the document is cited in post-quantum planning.
Is LMS the same as HSS?
No, but they are closely related. LMS is the single-tree scheme, and RFC 8554 treats it as HSS with one level. HSS, the hierarchical signature system, builds on LMS trees by stacking them, and the RFC allows between 1 and 8 levels. Every implementation is required to support the one-level case, so an LMS-only product is still a conforming HSS implementation at one level. Engineers often see the names used interchangeably in product sheets, which can hide a real difference: a multi-level HSS deployment has more keys to manage and more state to protect than a single LMS tree. When a vendor says it supports "LMS", ask whether it also supports HSS levels above one, and which parameter sets it includes. These choices affect signature size, the number of signatures a key can produce, and the operational work of managing key state.
Is RFC 8554 a NIST standard?
No. RFC 8554 is an IETF document. NIST covers LMS and HSS separately in NIST SP 800-208, published in October 2020, which also covers XMSS and XMSS^MT. SP 800-208 is the NIST publication that federal and contractor reviewers usually cite for hash-based stateful signatures. NIST's post-quantum standards are a different set: FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA), all published as final on 13 August 2024. FIPS 205 is stateless, while LMS and HSS are stateful, so the two families carry different operational requirements. A compliance document that names RFC 8554 should be read against the NIST publication it relies on, and the reviewer should confirm which of those documents a federal customer or contract actually requires.
Why does state matter for LMS?
LMS and HSS are stateful. RFC 8554 requires that a one-time private key never sign a second message, and that the leaf index be updated in nonvolatile memory before the signature is released. If the state is lost, rolled back or copied, the same one-time key can be used twice, which weakens the security of the scheme. This is an operational property, not a mathematical one, so it shows up in deployment: backups of signing keys need careful handling, virtual machine snapshots can silently restore an old index, and clustered signers must not share state without coordination. RFC 10033 gives guidance and security considerations for state and backup management of stateful hash-based signatures, including LMS and HSS. Before approving a deployment, ask the vendor how the leaf index is stored, how it is protected from rollback, and what happens when a signer is restored from backup.
Does my product use RFC 8554?
You cannot tell from the RFC name alone, so ask the vendor directly. Products that use LMS or HSS will typically reference the algorithm identifiers defined in the RFC, such as the LMS typecodes from 0x00000005 (LMS_SHA256_M32_H5) through 0x00000009 (LMS_SHA256_M32_H25), or the LM-OTS typecodes from 0x00000001 to 0x00000004. Certificate and CMS profiles reference LMS and HSS through later documents: RFC 9708 defines HSS/LMS in CMS with the identifier id-alg-hss-lms-hashsig, and RFC 9802 reuses OID 1.2.840.113549.1.9.16.3.17 for HSS in X.509 certificates and CRLs. Check whether the product's documentation names the RFC, the parameter sets and the profile it implements. If it does not, treat the claim as unverified and record the answer in your inventory. Do not infer support from a general statement about hash-based or post-quantum signatures.
What should I ask a vendor about RFC 8554?
Ask specific questions that can be checked against documentation or a test. Which RFC 8554 features are supported, meaning LM-OTS, LMS, HSS and which level counts? Which typecodes and parameter sets are implemented, and what signature and public key sizes result? How is the leaf index stored, protected from rollback and recovered after restore, and how is it handled in clustered or virtualized deployments? Does the product follow the guidance in RFC 10033 on state and backup management? For certificates and CMS, does it implement RFC 9708 or RFC 9802, and which versions? Is any of this covered by a validation or listing, and if so, which module and version does it name? Ask also how the vendor supports upgrades, key rotation and exhaustion of one-time keys. Record the answers as written evidence for your inventory and vendor-risk file.
How long does it take to adopt RFC 8554 in a deployment?
The sources listed on this page do not give a duration for adoption, and no figure is given here. Time depends on your signing volume, the number of keys and levels you need, how signing state is stored today, and whether your vendor already supports the parameter sets you require. The work usually splits into a one-time planning phase (inventory, parameter selection, state design) and a recurring operational phase (backup handling, key lifecycle, monitoring of leaf usage). When you request a quote or timeline, ask the vendor to break it into those phases and to state which items depend on their product roadmap. Any engagement, including a fixed-scope one from DeployOpen, should begin with a written scope that lists the systems, parameter sets and deliverables, so the timeline can be checked against that scope.
Can my team implement RFC 8554 without outside help?
Possibly, if your team has strong experience with signing infrastructure, key management and the operational discipline that stateful schemes require. The RFC is a specification, not a turnkey product, so implementers must handle parameter choice, serialization, state persistence and recovery correctly. The main risks are not in the algorithm itself but in how state is stored and restored. DeployOpen plans, implements, integrates and documents self-hosted platforms in a client's own infrastructure, and runs security testing, so a fixed-scope engagement can cover planning and testing alongside your team. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen does not publish a price list, and a quote follows from the written scope. DeployOpen is not an official partner or certified provider of any standards body or vendor named here.
How DeployOpen works on this
DeployOpen approaches RFC 8554 as an implementation question: which LMS and HSS parameter sets a system uses, how the stateful signing behavior is handled, and how the resulting evidence is documented for review. Work is scoped in writing before any changes begin, so the security, compliance and platform teams know what is covered.
How we scope
- Inventory which systems would sign with LMS or HSS and which ones only verify such signatures.
- Record the LM-OTS and LMS parameter sets in use, since signature size depends on those choices.
- Confirm whether the signing component is stateful and who is responsible for its leaf index state.
How we build
- Configure signing components so the leaf index is updated in nonvolatile memory before a signature is released.
- Check that a one-time private key cannot be reused, and test the signing path for that failure mode.
- Confirm that the verifying systems and certificate or CMS profiles support the chosen HSS/LMS encoding.
How we hand over
- Deliver a written record of the parameter sets, state storage location and signing workflow.
- Document backup and restore procedures for signing state, with the steps to avoid key reuse after a restore.
- Provide test results and configuration evidence that your auditors or vendor-risk reviewers can check.
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer.
- Ask us to retest after any change to signing hardware, storage or the parameter sets in use.

