Which LMS and XMSS firmware signing functions depend on RSA and elliptic-curve keys

LMS and XMSS are hash-based signature schemes, so their signing and verification rely on hash functions rather than RSA or elliptic-curve keys. Security leads should confirm which parts of their own firmware chain still use RSA or ECDSA alongside them.

On this page

Do LMS and XMSS firmware signing functions depend on RSA and elliptic-curve keys?

LMS and XMSS signatures do not rest on the hardness of RSA or elliptic-curve problems. According to RFC 8391, the security of XMSS depends only on properties of its underlying hash functions and not on mathematical hardness assumptions, and RFC 8554 makes the same point for LMS, noting that hash-based signatures would remain secure even if attackers built a quantum computer. So for the signature scheme itself, the question of RSA and ECDSA dependency is largely answered. What remains is the chain around it: the hash functions the schemes use, the certificates that carry the public keys, and the key state that must never repeat. Those are the places where classical public-key cryptography can still appear, and they are what the security lead needs to inventory.

Firmware, release and security teams should own this question, along with anyone deciding whether a device chain still needs RSA or ECDSA anywhere. A release engineer should confirm which hash function the signing and verifying code uses, since the defined LMS parameter sets use SHA-256. A PKI or platform owner should check whether any certificate in the chain still carries an RSA or ECDSA key, because RFC 9802 allows HSS, XMSS and XMSS^MT keys and signatures inside X.509 certificates and CRLs, meaning the chain may be mixed. Someone must also confirm whether the boot or verification code still calls RSA or ECDSA routines for any step, such as a legacy root or a fallback path. The answer to each check is specific to a product and version, not to the scheme.

Which LMS, HSS, XMSS and XMSS^MT parts rely on which primitives

This table lists each LMS, HSS, XMSS and XMSS^MT component against the primitive it relies on, the specification or source that defines it, and the date of that source. Read the primitive column to see which security property each component depends on. The main takeaway is that the hash-based schemes depend on hash functions rather than on RSA or elliptic-curve hardness, but the MCUboot integration adds a collision-resistance dependence on SHA-256 that the reader should review in their own design.

ComponentPrimitive dependencySource and date
LMS and HSS (parameter sets)SHA-256 hash function; LM-OTS and LMS hash functions should matchRFC 8554, April 2019
XMSS and XMSS^MT (hash-function security)Security depends only on properties of the underlying hash functions, not on number-theoretic hardness assumptionsRFC 8391, May 2018
MCUboot LMS verificationSHA-256 digest of the image is verified instead of the full message, adding a dependence on SHA-256 collision resistanceMCUboot PR 2707, latest comment 4 December 2026
X.509 carriage of HSS, XMSS and XMSS^MTPublic keys and signatures carried in certificates and CRLs; the signature algorithm itself is hash-basedRFC 9802, June 2025
Approval of LMS, HSS, XMSS and XMSS^MTTwo stateful hash-based schemes and their multi-tree variants are approved; the schemes are stateful and require secret key state managementNIST SP 800-208, 29 October 2020
Operational state handlingStateful signing: reuse of a one-time key state removes all security guarantees; confirm state handling in your own buildRFC 8554, April 2019; RFC 8391, May 2018; RFC 10033, September 2026

Which parts of a firmware signing chain still touch RSA or elliptic-curve keys

A firmware signing chain is rarely one algorithm. The LMS or XMSS signature itself is hash-based, but the images, certificates, key custody and earlier boot stages around it may still depend on RSA or elliptic-curve keys. Each card below names one part of the chain to inventory and the point to confirm in your own environment.

The LMS or XMSS signature itself

RFC 8554 states that LMS provides asymmetric authentication without large-integer arithmetic, and RFC 8391 states that XMSS security depends only on the properties of its underlying hash functions. The signature step itself does not use RSA or elliptic-curve keys. The defined LMS parameter sets use SHA-256. Confirm which parameter set and hash function your build uses, and whether any other signature in the chain is produced by the same tool.

RFC 8554 text

Image digest and collision resistance

MCUboot pull request 2707 has the bootloader verify a SHA-256 digest of the image instead of the full message. The author notes this adds a dependence on SHA-256 collision resistance. This is a hash dependence rather than a public-key one, but it is part of what the signature actually protects. Confirm whether your bootloader build includes this change and which digest it computes.

MCUboot PR 2707

Public-key, keyhash and LMS TLVs

The MCUboot pull request stores the LMS signature using the existing public-key TLV and keyhash TLV, plus a new LMS TLV type 0x26. The public-key and keyhash fields therefore carry LMS material, not RSA or elliptic-curve keys, in that build. Confirm in your image format that no legacy RSA or ECDSA TLV remains in the signed image headers, and that the keyhash you verify against is the LMS key you intended.

MCUboot PR 2707

Certificate and CRL carriage

RFC 9802 places HSS, XMSS and XMSSMT public keys and signatures in X.509 certificates and certificate revocation lists, so a certificate chain can carry hash-based signatures. Where your chain uses certificates, the issuing and intermediate certificates may still be signed with RSA or ECDSA. Confirm which certificates in your signing hierarchy are hash-based and which remain classical, and whether your CRL signer is included in that inventory.

RFC 9802 text

HSM key custody

Thales TCT states that SP 800-208 requires the HSM to not allow export of private keying material, so keys cannot be cloned to other HSMs for high availability or backed up to offline cold storage. This shapes how the signing key is held, and the HSM and its management or wrapping keys may themselves rely on RSA or elliptic-curve keys. Confirm with your HSM vendor which keys protect the signing key and which algorithms they use, and how the one-time state is kept consistent across units.

Thales TCT page

Earlier boot stages

A firmware image is often verified by a chain of earlier stages, and those stages commonly verify images with RSA or ECDSA even when the final image uses LMS or XMSS. The CISA product category lists do not name firmware, secure boot, code signing or hardware roots of trust, so these stages are not covered by that listing. Confirm the algorithm used at every stage from the ROM onward, and treat the weakest verifying stage as the effective exposure of the chain.

CISA product categories

How the dependency differs by signing setup

In a standalone LMS or HSS image signing setup, the signature itself is hash-based. RFC 8554 states that LMS provides asymmetric authentication without large-integer arithmetic, and that the defined parameter sets use SHA-256. Within that setup, the sources listed on this page describe no RSA or elliptic-curve operation in the signature path. The classical dependencies to check are elsewhere: the transport that delivers the image, the key custody system that holds the LMS private key, and any wrapper that authenticates the update server.

  • Signature primitive: LMS and HSS signatures rely on hash functions, per RFC 8554, with the hash function of the LM-OTS and LMS levels matched as the RFC recommends.
  • Digest verification: The MCUboot LMS pull request #2707, with its latest visible comment dated 4 December 2026, has the bootloader verify a SHA-256 digest of the image instead of the full message, which adds a dependence on SHA-256 collision resistance.
  • Transport and delivery: The sources do not say whether the download channel uses RSA or ECDSA. Confirm the TLS configuration of the update server separately.
  • Key custody: Where the LMS private key sits in an HSM, the sources note that SP 800-208 bars export of the keying material. Any HSM-side RSA or ECDSA keys still need their own inventory.
  • Operator checklist: Confirm the signing host and update server stack directly with the vendor or project, since the sources do not describe any particular vendor's implementation.

Check the update transport and the key custody system before concluding that the standalone signature path has no classical dependency.

How to map RSA and elliptic-curve dependencies in an LMS or XMSS signing chain

This sequence produces a verified inventory of every signature and verification point in an LMS or XMSS firmware boot and update chain, showing which points depend on RSA or ECDSA, which hash functions and parameter sets they use, and whether state handling is controlled. Each step ends with a recorded check, so the result can be reviewed and audited.

  1. List every signature and verification point

    Walk the boot and update chain from the immutable root of trust through each bootloader stage, the image verifier, the update agent and any recovery path. Record each point where a signature is generated or checked, including certificate chains, manifest signatures and key-hash comparisons. Owners are typically the firmware engineer and the platform security lead, working from the build configuration and the bootloader source. The step closes when the list is complete and each entry names its file, function or configuration key.

  2. Mark the algorithm family at each point

    For each entry, label whether it uses LMS, HSS, XMSS, XMSS^MT, RSA or ECDSA. Check the signature format and the algorithm identifier in the code and in the certificate or TLV type, since a single chain can mix families. Note where a hash-based signature is wrapped inside an X.509 certificate, because RFC 9802 defines how HSS, XMSS and XMSS^MT keys and signatures are carried there. The step closes when every entry carries exactly one algorithm label and any mixed chain is flagged for follow-up.

  3. Confirm hash functions and parameter sets

    Compare the hash function and parameter set in each LMS or XMSS entry against the sources. RFC 8554 says the defined LMS parameter sets use SHA-256 and recommends that the LM-OTS and LMS hash functions match. NIST SP 800-208 approves LMS, HSS, XMSS and XMSS^MT. Record the parameter identifiers the build actually uses and confirm each one appears in those documents. Where the bootloader hashes a digest instead of the full message, note the added reliance on SHA-256 collision resistance, as discussed in open MCUboot pull request 2707. The step closes when each parameter set is matched to a source or marked as unconfirmed.

  4. Verify state handling for each stateful key

    LMS, HSS, XMSS and XMSS^MT are stateful, so confirm how the signing side tracks the one-time key index and prevents reuse. RFC 8554 says a private key value that has signed one message must not sign another, and RFC 8391 says reuse removes all cryptographic guarantees. RFC 10033 covers state and backup management and says double-signing allows forgeries. Ask the signing service owner where state is stored, how it is protected from restore-from-backup reuse, and whether signing logs exist. The step closes when every stateful key has a documented state location and a stated reuse control, or an open item is recorded.

  5. Check hardware custody of signing keys

    Where signing keys sit in a hardware security module, confirm the HSM policy against the export limits described by Thales for SP 800-208 stateful schemes, which prohibit exporting private keying material. Note whether that limit blocks cloning to another HSM for high availability or offline backup, and how the team plans around it. The step closes when each signing key has a recorded custody location, an export status and a backup approach that the security lead has reviewed.

  6. Record each entry as an inventory item

    Write one inventory entry per signature or verification point with its location, algorithm family, hash function, parameter set, state control and custody location. Include the build or release identifier the entry applies to, because a version change can alter the chain. Store the inventory under change control so later reviews can compare against it. The step closes when every entry from the earlier steps appears in the inventory with no blank fields.

  7. Close each step with a recorded check

    Review the inventory against the list from the first step and confirm that every open item has an owner and a next action. Confirm that the entries marked RSA or ECDSA are separated from the hash-based entries, because CISA's product category lists do not name firmware, secure boot or code signing, so the inventory cannot rely on those lists for scope. The step closes when the reviewer signs off the inventory and every unresolved item is recorded with an owner.

What the sources do not establish, and what to ask the vendor

The sources listed on this page do not describe any vendor product, firmware release or bootloader. The cards below separate what the standards and the MCUboot work establish from what a given product must still confirm, and give the question to put to the vendor or project for each gap.

LMS or XMSS support by release

RFC 8554 and RFC 8391 define the schemes, and NIST SP 800-208 approves them, but the sources listed here do not say whether any firmware product or bootloader release implements them. The MCUboot pull request is an open change, not a shipped feature. Ask the vendor or project which exact release, edition and board support includes an LMS or XMSS verifier, and whether that support is in a tagged release or only on a development branch.

MCUboot PR 2707

RSA or ECDSA still in verification

Adding an LMS or XMSS verifier does not by itself remove an RSA or ECDSA check. The MCUboot pull request stores the signature with the existing public-key TLV and keyhash TLV, which suggests the older key material may still be in the image. The sources listed here do not establish whether a product's verification path still calls RSA or ECDSA for any signature. Ask whether the chain of trust on a given release checks only hash-based signatures, or still checks an RSA or ECDSA signature first.

State and backup under RFC 10033

RFC 10033 says that a double-signed one-time key allows forgeries, and that verifiers must trust the signer not to reuse state. The sources listed here do not describe how any product stores signing state, replicates it across a build farm, or restores it from backup. Thales TCT notes that SP 800-208 bars exporting private keying material from an HSM, which limits cloning for high availability. Ask how the product tracks state, whether it is safe to restore from backup, and how reuse is prevented or detected.

RFC 10033 text

Post-quantum roadmap and notices

The sources listed here do not describe any vendor or project post-quantum roadmap, transition guide, deprecation notice or release schedule for LMS or XMSS firmware signing. The CISA product category lists name hardware security modules under identity and access management, and do not name firmware, secure boot, code signing or hardware roots of trust as categories. Ask the vendor whether it has published a roadmap, a dated commitment or a deprecation plan for its current signing algorithms, and where that document is.

CISA category lists

Certificates carrying hash-based signatures

RFC 9802 places HSS, XMSS and XMSSMT public keys and signatures in X.509 certificates and CRLs, so a certificate chain could carry these signatures. The sources listed here do not say whether any product's certificate issuance, chain validation or revocation handling supports them. Ask whether the product's PKI path accepts HSS or XMSS certificates today, and whether revocation lists are checked for them.

RFC 9802

What can go wrong when a chain mixes hash-based and classical signatures

When a firmware image is signed with LMS or XMSS but the chain around it still includes an RSA or ECDSA stage, the chain is only as strong as its weakest link. A bootloader that accepts a classical certificate or signature alongside a hash-based one still depends on the classical algorithm for that step, and a forged classical signature would be accepted even if the LMS signature were sound. Engineers should map every signature check in the boot path, including certificate chains, manifests and any fallback verification code, and record which algorithm each check relies on. RFC 9802 places HSS, XMSS and XMSSMT public keys and signatures in X.509 certificates, so a hash-based key can sit in a chain whose other links are classical. Confirm with the vendor whether the verifier can be configured to reject classical signatures for the firmware path.

The security of LMS and XMSS also depends on signing state. RFC 8554 states that a private key value that has signed one message MUST NOT be used to sign another, and that reusing a secret key state removes all cryptographic security guarantees. RFC 8391 makes the same point for XMSS, stating that these schemes should be used only in systems that prevent secret key state reuse. A build or signing service that restores a backup, runs on two replicas or rolls back a counter can therefore produce a state reuse that voids the scheme's protection, regardless of how strong the hash function is. Key custody and state handling should be reviewed as part of the signing design, and the review should ask how the signing service records each signature before releasing it.

Some verification designs add a further dependence. The MCUboot LMS pull request #2707, whose latest visible comment is dated 4 December 2026, has the bootloader verify a SHA-256 digest of the image rather than the full message, and its author notes this adds a dependence on SHA-256 collision resistance. Teams evaluating this approach should confirm whether their verifier relies on a digest, which hash it uses, and whether the signed digest is bound to the image metadata. RFC 10033, an Informational document from September 2026 on state and backup management for these schemes, states in section 4 that verifiers need no state management but must trust the signer not to reuse state, and that public signature logs can help detect reuse. Plan for that trust assumption in the signer's operations and document how reuse would be detected.

Questions security leads ask about LMS and XMSS dependencies

Are LMS and XMSS quantum safe?

LMS and XMSS are hash-based signature schemes, and their security rests on the properties of their underlying hash functions rather than on number-theoretic problems such as factoring or discrete logarithms. RFC 8391 states that XMSS security depends only on properties of its hash functions, and RFC 8554 states that hash-based signatures would remain secure even if attackers built a quantum computer. The defined LMS parameter sets use SHA-256. These sources describe the design. They do not certify any product, library or device as compliant or validated. Confirm with each vendor which parameter sets, hash functions and implementation versions it uses, and whether its implementation has been independently validated, because the RFCs describe the algorithms rather than any particular build.

Do LMS and XMSS remove RSA and ECDSA from the whole signing chain?

No. Using LMS or XMSS for the firmware image signature does not remove RSA or elliptic-curve keys from the rest of the chain. Certificates, key wrapping, transport security and any vendor tooling may still depend on those algorithms. The only way to remove them from a stage is to replace that stage's algorithm as well. Map each stage separately, including the signing key, the verification key in the boot ROM or bootloader, any certificate that binds the key, and the update channel. Then record for each whether it uses hash-based signatures, classical public-key cryptography or both.

What does a dependency inventory for LMS and XMSS signing need to include?

An inventory should list each signing function, the algorithm and parameter set it uses, the key it verifies against, and where that key is stored and anchored. It should also record every stage that still uses RSA or elliptic-curve keys, the component and version that performs verification, and the state-handling process for the signing key. Include the HSM or signing host, the build pipeline and any backup or cloning path. Note whether public-key material is carried in certificates, which RFC 9802 covers, or in firmware-specific structures. Ask each vendor for the exact version and configuration that applies to your devices, since the same family can behave differently across releases.

Can LMS and XMSS public keys and signatures be carried in X.509 certificates?

Yes. RFC 9802 specifies algorithm identifiers and ASN.1 encodings for HSS, XMSS and XMSS^MT in Internet X.509 certificates and certificate revocation lists, so a certificate chain can carry hash-based public keys and signatures. RFC 9802 is a Proposed Standard, published in June 2025. Confirm that your PKI software, certificate authority, client libraries and verifiers support these identifiers before relying on them, because support for a standard in a specification does not mean every component in your chain implements it.

What breaks if the signing state is reused?

Reusing signing state breaks the scheme's security. RFC 8554 states that a private key value that has signed one message must not be used to sign another, and that reusing a secret key state removes all cryptographic security guarantees. RFC 8391 says the same for XMSS and advises using these schemes only in systems that prevent state reuse. RFC 10033 adds that double-signing with the same one-time key allows forgeries. Verifiers need no state management, but they must trust the signer not to reuse state. Ask each vendor how the signing key state is stored, updated and protected against restoration of an older copy, including after backup, failover or cloning. The Thales TCT page notes that SP 800-208 requires the HSM to block export of private keying material, which limits how such keys can be cloned or backed up.

Can our team map LMS and XMSS dependencies ourselves, or do we need outside help?

Your team can do much of the mapping if it has access to the signing pipeline, the verification code in the boot chain, and the key management records. The harder parts are reviewing the HSM and signing-state procedures, tracing which verifiers in the field still rely on classical algorithms, and checking vendor claims against the actual builds. The sources on this page do not give durations or fees for that work. Tell outside help the scope in writing, including which devices, signing systems and certificate paths are in scope, and ask for a fixed deliverable such as a dependency map and a list of open questions for each vendor. DeployOpen can plan and run security reviews of firmware signing setups, including state handling and verification paths, when a client asks for that scope.

How DeployOpen works on this

DeployOpen maps where LMS and XMSS firmware signing flows and logins depend on RSA and elliptic-curve keys, then plans the changes in writing before any work starts. The work covers the signing and verification path, the certificates and key custody around it, and the state handling that stateful hash-based schemes require. Each engagement is fixed-scope, with deliverables agreed in advance.

How we scope

  • Scope is agreed in writing and names the firmware products, signing tools and verification code to be reviewed.
  • The written scope states which boot, update and certificate flows are covered and which are excluded.
  • Engagements are fixed-scope, and ongoing support can be added later as a retainer.

How we build

  • We inventory every signing and verification step and record where RSA or elliptic-curve keys are still involved.
  • We check how signing key state is stored, backed up and protected from reuse, since reuse removes all security guarantees.
  • We trace certificate chains and any HSM involvement, noting where SP 800-208 limits key export and cloning.

How we hand over

  • Deliverables include a dependency map that separates signing keys, verification keys, certificates and key state.
  • Each finding is tied to the product version, component and configuration it applies to, with a date stamp.
  • Open items name the questions to confirm with the vendor or project, such as published support for stronger settings.

How we support

  • We can review the migration plan with your firmware, security and certificate owners before changes are made.
  • Retesting after changes confirms that verification still works and that state handling matches the documented procedure.
  • Ongoing support, upgrades and continuous testing are available as retainers when the rollout spans many releases.

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.