What an LMS and XMSS firmware signing upgrade requires today
A firmware team that wants to sign images with LMS or XMSS should plan for this as mainly a state-management and key custody project, with signing and verifier code changes on top. The hash-based schemes are stateful: each signature advances a secret key state, and reusing that state removes the security guarantees. RFC 10033 says meeting these state-management requirements may require purpose-designed hardware such as hardware security modules, and recommends dedicated cryptographic hardware because it enables rollback-resistant counters, which are difficult to achieve in software alone. Budget for HSMs or an equivalent device early, since the counter design determines the rest of the build.
The key custody decisions follow from that. NIST SP 800-208, dated 29 October 2020, approves LMS and XMSS and their multi-tree variants, and it bars private key export. Thales TCT states that keying material should therefore be generated across a distributed set of HSMs to give redundancy over the key's lifetime. Confirm with your HSM vendor which firmware release supports LMS and HSS, since the sources give different dates for the same product line, and ask whether an existing device needs a firmware upgrade or only an add-on module. Plan for virtualized signing infrastructure carefully, because RFC 10033 warns that live cloning of a virtual machine can easily lead to state reuse.
On the verifier side, the sources describe concrete code work. RFC 8391 says standard signature APIs must be modified so they can return an updated secret key state, which breaks signing code written against a stateless interface. The MCUboot LMS pull request shows the cost in a bootloader: a reviewer measured flash use near 56.7% with LMS against 53.7% with ECDSA-P256 on a Cortex-M33, and about one second to verify a 23 KiB image against about a quarter second for ECDSA. That pull request also lacks Zephyr integration and leaves hybrid (dual) signature mode out of scope. wolfBoot needs IMAGE_SIGNATURE_SIZE set for LMS and XMSS, with the tools tools/lms/lms_siglen.sh and tools/xmss/xmss_siglen.sh to compute the size. Measure these numbers on your own target before committing to a design.
On hybrid mode, the sources do not address it for these schemes except in one place: the MCUboot author argues it is unnecessary for LMS, and that is a single author's view, not a standards position. Ask your vendors and integrators directly whether any hybrid option is planned, and record the answer with its date, because the RFC series is still moving. RFC 10033 is dated September 2026, and RFC 9802 (June 2025) covers X.509 encodings for these algorithms, so check whether your certificate and revocation tooling supports them before you plan those flows.
Which upgrade requirements apply to which product line and source
This table lists each product line and source named in the research, with the version or date it covers, what applies, and what does not. Read each row as a limit on that source only, since a requirement that holds for one HSM line or library does not carry over to another. The main takeaway is that hardware requirements, licensing and software support differ by product, so confirm each row against your own device, release and build before planning.
| Component or source | Version and date | What applies | What does not apply or is unconfirmed |
|---|---|---|---|
| RFC 10033 hardware guidance | Informational, September 2026 | Section 1.1 says meeting state-management requirements may require purpose-designed hardware such as HSMs. Section 4 recommends dedicated hardware for rollback-resistant counters. | The RFC does not require a specific product. Software-only counters can be difficult but are not ruled out. |
| Thales Luna T-Series HSM | Release 7.13.0, announced 30 June 2023 | Thales TCT announced that LMS and HSS ship in Luna T-Series HSMs with release 7.13.0. | A separate Thales TCT page states support starts in release 7.15.0 and gives no date, so confirm which release your device runs. |
| Luna 7 Functionality Module | Thales TCT page, undated in the sources | Installs on existing Luna 7 HSMs without a firmware upgrade, according to Thales TCT. | Confirm with Thales that your Luna 7 model and firmware level are supported by this module. |
| Utimaco Quantum Protect for u.trust General Purpose HSM Se-Series | Announced 2 April 2025 | The package can be activated in the field with no hardware exchange, and can also be added to Utimaco's next-generation HSM. | The announcement does not state the firmware version required, so confirm it with Utimaco before planning. |
| MCUboot LMS pull request 2707 | Reviewer measurements, date not stated in the sources | On a Cortex-M33, flash use was about 56.7% with LMS against 53.7% with ECDSA-P256. RAM was about 3.9% against 3.6%. Verifying a 23 KiB image took about one second against about a quarter second for ECDSA. | No Zephyr integration is included, and PSA has no LMS Kconfig option yet. Hybrid mode is out of scope and the author argues it is unnecessary for LMS. |
| wolfBoot signature-size settings | Manual Appendix H, undated in the sources | IMAGE_SIGNATURE_SIZE must be set for LMS and XMSS. Example values are 2644 for LMS (2 levels, height 5, Winternitz 8) and 2500 for XMSS-SHA2_10_256. | The example values apply only to those parameter sets. Compute your own size with the provided scripts. |
Why hardware and state management drive the upgrade cost
The largest cost in moving LMS or XMSS firmware signing to a post-quantum setup is often not the algorithm change itself but the state handling and the hardware around it. LMS and XMSS are stateful hash-based signature schemes: each one-time signing key is used once, and the signer must track which keys have already been used. RFC 10033, the IRTF guidance on state and backup management for these schemes, says in section 1.1 that meeting the state-management requirements may require purpose-designed hardware such as hardware security modules. Section 4 recommends dedicated cryptographic hardware because it enables rollback-resistant counters, which can be difficult to achieve in software alone. Before budgeting, confirm with your signing vendor whether their state store and counter design meets that guidance on your target hardware.
The reason state matters so much is that reusing secret key state removes all security guarantees. 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 of XMSS and adds that these schemes should be used only in systems that prevent secret key state reuse. For the upgrade this means the new signing path needs a state store that survives restarts, backups and failover without rolling back a counter. RFC 8391 also notes that standard signature APIs must be modified to return an updated key state, so signing code that assumes a stateless interface needs rework. Ask the vendor how the signing service records state and what happens when a counter is restored from an older backup.
Hardware and state requirements also shape the operating environment. RFC 10033 section 4 warns that live cloning of a virtual machine can easily lead to state reuse, which matters if you plan to run signing on virtualized infrastructure. For backup guidance, including how to handle state across recovery, read RFC 10033 directly, since it sets out the operational rules for LMS, HSS, XMSS and XMSS^MT deployments. Plan for the recurring cost of operating and auditing the state store and any HSMs, not only the one-time integration work.
Which parts of the signing chain change during an upgrade
An LMS or XMSS upgrade touches more than the signing algorithm. Key custody, signature size, bootloader verification code, the virtual hosts that run signing, and certificate encodings each change in a different way. Work through them together, because a decision in one area often sets constraints in the others.
Signing keys and HSM custody
NIST SP 800-208 bars private key export, so keying material generally has to be generated and held inside the HSM, not moved between devices. Thales TCT recommends generating the key across a distributed set of HSMs to keep redundancy over the key's lifetime. Thales says LMS and HSS ship in Luna T-Series release 7.13.0, while a separate Thales page gives release 7.15.0 with no date, so confirm the release and module version with the vendor before you plan around it. Ask whether a Luna 7 Functionality Module can be installed on your existing HSMs without a firmware upgrade.
Thales TCT pageSignature size and image layout
LMS and XMSS signatures are much larger than ECDSA signatures, so the image format and the space reserved for the signature must change. In wolfBoot, IMAGE_SIGNATURE_SIZE must be set for LMS and XMSS, with example values of 2644 bytes for LMS (2 levels, height 5, Winternitz 8) and 2500 bytes for XMSS-SHA2_10_256. Use the wolfBoot siglen scripts to compute the size for your exact parameters instead of copying the example. Check that the partition layout and any fixed header sizes still fit the new signature length.
wolfBoot manual Appendix HBootloader verification code
The verifier in the bootloader must be rewritten or updated to check LMS or XMSS signatures. The MCUboot LMS pull request measured on a Cortex-M33 flash use of about 56.7% with LMS against 53.7% with ECDSA-P256, RAM of about 3.9% against 3.6%, and about one second to verify a 23 KiB image against about a quarter second for ECDSA. That pull request has no Zephyr integration, and a reviewer noted PSA has no LMS Kconfig option yet. Confirm verification time and memory on your own target, and check which platform integration your RTOS actually supports.
MCUboot PR 2707Virtualized signing hosts
If signing runs in a virtual machine, the state that tracks one-time key use is at risk. RFC 10033 warns that live cloning of a VM can easily lead to state reuse, and reused state removes the security guarantees of LMS and XMSS. Decide whether signing stays on dedicated hardware or in a VM, and if it runs in a VM, define how snapshots, clones and restores are controlled. The RFC notes that dedicated cryptographic hardware can provide rollback-resistant counters that are hard to build in software alone.
RFC 10033 textCertificate encodings for X.509
If LMS or XMSS signatures appear in X.509 certificates or certificate revocation lists, the PKI tooling must handle the algorithm identifiers and ASN.1 encodings defined in RFC 9802, which is a Proposed Standard from June 2025. Certificate parsers, issuance systems and revocation checks may not accept these identifiers yet. Confirm with your PKI and verification vendors that they support RFC 9802 before you rely on certificate-based flows.
RFC 9802How the upgrade differs for HSM-backed, bootloader-only and virtualized signing
When LMS or XMSS signing runs inside a hardware security module, the HSM holds the private key and manages the one-time-use state that the schemes require. RFC 10033 says meeting the state-management requirements may need purpose-designed hardware, and recommends it because it enables rollback-resistant counters that are hard to achieve in software alone. Thales TCT announced on 30 June 2023 that LMS and HSS ship in Luna T-Series HSMs with release 7.13.0, while a separate Thales TCT page states support starts in release 7.15.0 and gives no date for that change, so the two sources should be reconciled with the vendor.
- Existing Luna 7 hardware: Thales TCT states a Luna 7 Functionality Module installs on existing Luna 7 HSMs without a firmware upgrade.
- Key generation: Because SP 800-208 bars private key export, Thales TCT advises generating keying material across a distributed set of HSMs for redundancy over the key's lifetime.
- Utimaco field activation: Utimaco's 2 April 2025 announcement says the Quantum Protect package for the u.trust General Purpose HSM Se-Series can be activated in the field with no hardware exchange, and can also be added to its next-generation HSM.
- Counter and state handling: Confirm how the HSM stores and advances the signing state, and whether its counters are rollback-resistant under your operating model.
Confirm with each vendor the exact release, module version and HSM model that carry LMS or XMSS, and whether the release you plan to run matches the one the vendor documents.
On embedded devices the bootloader usually only verifies signatures, so the signing key and state stay off the device. Verification needs the LMS or XMSS verifier code, the signature size set correctly and enough flash and RAM for larger signatures. The MCUboot LMS pull request does not include Zephyr integration, and a reviewer noted that PSA has no LMS Kconfig option yet. Its measurements on a Cortex-M33 showed flash use of about 56.7% with LMS against 53.7% with ECDSA-P256, RAM of about 3.9% against 3.6%, and about one second to verify a 23 KiB image against about a quarter second for ECDSA. Those figures come from one reviewer's test setup and are not a general benchmark.
- Signature size: wolfBoot requires
IMAGE_SIGNATURE_SIZEto be set for LMS and XMSS, with example values of 2644 for LMS (2 levels, height 5, Winternitz 8) and 2500 for XMSS-SHA2_10_256. - Size tooling: wolfBoot provides
tools/lms/lms_siglen.shandtools/xmss/xmss_siglen.shto compute the size for a given parameter set. - Verification time: The reviewer measured about one second for LMS verification of a 23 KiB image on a Cortex-M33, which affects boot time budgets.
- Hybrid mode: The MCUboot pull request leaves hybrid (dual) signature mode out of scope, and its author argues hybrid mode is unnecessary for LMS.
Confirm with the bootloader vendor or project whether a release with LMS or XMSS verification is available for your board and toolchain, and whether it is maintained.
Running signing on virtual machines or in cloud-hosted build systems adds a risk that the one-time-use state can be duplicated. RFC 10033 warns that live cloning of a VM can easily lead to state reuse, and RFC 8554 states that a private key value that has signed one message must not be used to sign another. RFC 8391 notes that standard signature APIs must be modified so the API can return an updated secret key state, which affects signing code that expects a stateless interface. Reuse removes the cryptographic guarantees, so the signing environment must prevent it by design.
- VM cloning: Live cloning, snapshot restore and backup restore can each re-expose a previously used state.
- API design: Signing code written for a stateless interface may need changes to persist the updated state before returning.
- Verifier trust: RFC 10033 says verifiers need no state management but must trust the signer not to reuse state, and that public signature logs can help detect reuse.
- Recovery planning: Restore procedures must account for the state, not only the keys.
Confirm with the cloud or hypervisor provider how snapshots, clones and restores handle the signing state, and whether the provider can isolate that state from them.
Decision path from current signing to an LMS or XMSS upgrade
The path starts with the current signing setup and checks two prerequisites before anything else: whether the state handling can be made reliable and whether HSM support is available, since RFC 10033 notes that rollback-resistant counters are difficult to achieve in software alone. Next, choose LMS or XMSS and a parameter set, then size the signature field, because the verifier must allot room for the larger signatures. The verifier code is updated after that. Throughout, backup and state logs must be retained as RFC 10033 describes, so that state reuse can be detected and prevented.
Steps from current signing to an LMS or XMSS upgrade, with state and backup checks.
What to do first when planning an LMS or XMSS firmware signing upgrade
This sequence turns a post-quantum signing change into a set of checked facts: which keys and state exist, which HSM and bootloader releases actually support LMS or XMSS, how large signatures will be, whether the verifier handles them, and whether hybrid signing is available. Each step ends with a record you can take to the vendor or into a design review.
Inventory signing keys and state stores
Start by listing every LMS or XMSS signing key you hold, the hardware or software that stores it, and the location of its state counter. Record the scheme, parameter set (for example, LMS with 2 levels, height 5, Winternitz 8, or XMSS-SHA2_10_256), the owner of each key, and every system that can sign with it, including backups and any virtualized signing host. RFC 10033 warns that live cloning of a VM can easily lead to state reuse, so note whether any signing environment is cloned or snapshotted. The step is closed when the inventory lists each key, its state store, and the signing paths that can reach it, and the signing team has reviewed it.
Confirm HSM support and release numbers
Ask the HSM vendor which product, module and release supports LMS or XMSS, and get the answer in writing. Thales TCT's 30 June 2023 announcement says LMS and HSS ship in Luna T-Series HSMs with release 7.13.0, while a separate Thales TCT page states support starts in release 7.15.0 and gives no date. Treat this as an open discrepancy until the vendor resolves it, and ask which release is correct for your hardware. Also confirm whether a Luna 7 Functionality Module installs on your existing Luna 7 HSMs without a firmware upgrade, as Thales TCT states. The step is closed when you hold a vendor statement naming the release for your exact hardware and the upgrade path, with the discrepancy resolved or recorded as open.
Compute signature sizes with the wolfBoot scripts
Signature size drives flash, RAM and image layout, so calculate it before you commit to a parameter set. wolfBoot requires IMAGE_SIGNATURE_SIZE to be set for LMS and XMSS and provides tools/lms/lms_siglen.sh and tools/xmss/xmss_siglen.sh to compute the length. The wolfBoot manual gives example values of 2644 for LMS (2 levels, height 5, Winternitz 8) and 2500 for XMSS-SHA2_10_256, but confirm your own parameter set with the script rather than copying those values. Record the computed length next to each key from step one. The step is closed when every planned parameter set has a computed signature length in your build configuration and the figure has been checked against the script output.
Test verifier changes in the bootloader
Verification is where the upgrade is most likely to break a boot chain. In the MCUboot LMS pull request, a reviewer measured on a Cortex-M33 about 56.7% flash use with LMS against 53.7% with ECDSA-P256, RAM of about 3.9% against 3.6%, and about one second to verify a 23 KiB image against about a quarter second for ECDSA. That measurement is one reviewer's setup, so repeat it on your own board and bootloader. Also note that the pull request does not include Zephyr integration and that PSA has no LMS Kconfig option yet. The step is closed when you have measured flash, RAM and verification time on your target hardware, and you have confirmed whether your bootloader supports the scheme at all.
Confirm the hybrid question with the bootloader vendor
Ask the bootloader vendor whether hybrid, or dual, signature mode is available for LMS or XMSS, and whether a device can verify both a classical and a post-quantum signature. The MCUboot LMS pull request leaves hybrid mode out of scope, and its author argues hybrid mode is unnecessary for LMS. That is the author's position, not a statement from the project's roadmap, so do not treat it as a vendor answer. Get the vendor's answer in writing, and record whether a fallback path exists if the scheme cannot be used on a device. The step is closed when the vendor has stated, in writing, whether hybrid mode is supported, planned or not offered, for your bootloader version.
What the sources do not establish about hybrid modes and upgrade effort
The sources supply dated announcements and one reviewer's measurements, but they leave open whether hybrid signatures are supported, how Zephyr and PSA will integrate, what an upgrade costs, and when vendors will ship. Each card names one gap and what to ask the vendor or project that owns it.
Hybrid or dual signature support
The only statement on hybrid mode in the sources comes from the MCUboot LMS pull request, where the author leaves dual signature mode out of scope and argues it is unnecessary for LMS. That is one author's view in a pull request, not a project position or a product commitment. For wolfBoot, Thales, Utimaco and other products named in the sources, the sources do not say whether hybrid or dual signatures are supported for LMS or XMSS in firmware. Ask each vendor directly whether its verifier accepts a classical and a hash-based signature together, and which release adds it.
MCUboot PR 2707Zephyr and PSA integration status
The MCUboot LMS pull request does not include Zephyr integration, and a reviewer noted that PSA has no LMS Kconfig option yet. The sources do not say whether Zephyr or PSA plan to add one, or on what schedule. A team building on Zephyr should confirm with the Zephyr and PSA maintainers which configuration options exist in the release it uses, and whether LMS or XMSS verification is in that tree or only in a pending pull request.
MCUboot PR 2707Effort and cost of an upgrade
The sources give no figures for the effort or cost of moving firmware signing to LMS or XMSS. They do report one device-level measurement: on a Cortex-M33, the MCUboot reviewer recorded flash use of about 56.7% with LMS against 53.7% with ECDSA-P256, and verification of a 23 KiB image taking about one second against about a quarter second. Engineering labor, hardware changes and any HSM purchase are not quantified anywhere in the sources. When requesting a quote, ask each vendor to itemize one-time work (signing pipeline, key ceremony, verifier changes) separately from recurring costs (licenses, support, key storage).
Vendor timelines beyond dated announcements
The sources date only a few vendor steps. Thales TCT announced on 30 June 2023 that LMS and HSS ship in Luna T-Series HSMs with release 7.13.0, while its own later page gives release 7.15.0 with no date. Utimaco's 2 April 2025 announcement covers the Quantum Protect package for its u.trust General Purpose HSM Se-Series. No source gives a date for XMSS support in those products or any commitment for firmware verifiers beyond the dated items. Ask each vendor for a written roadmap with release numbers and dates for LMS and XMSS in each product line you run.
Thales TCT 7.13.0 announcementHardware needs for rollback-resistant state
RFC 10033 recommends dedicated cryptographic hardware for rollback-resistant counters and notes that this can be difficult in software alone, but the sources do not say how much hardware a given device class would need. They also do not state whether a device that lacks such hardware can run LMS or XMSS verification safely. Ask the device vendor which state-tracking mechanism its boot chain uses, and whether that mechanism meets the rollback resistance that RFC 10033 describes.
RFC 10033 textWhat can go wrong during the upgrade
The first risk is state reuse. LMS and XMSS are stateful: each one-time key may sign only once, and RFC 8554 says a private key value that has signed one message MUST NOT be used to sign another. RFC 8391 adds that if a key state is reused, no cryptographic security guarantees remain. RFC 10033 section 4 warns that live cloning of a virtual machine can easily lead to state reuse, so a signing host that is cloned, snapshotted or restored from backup can silently double-sign. Before the upgrade, confirm where the signing state is stored, whether any virtualized or restored infrastructure could present an old copy of it, and how the state is advanced and persisted before a signature is released. RFC 10033 also says that verifiers need no state management but must trust the signer not to reuse state, and that public signature logs can help detect reuse.
The second risk is size. LMS and XMSS signatures are much larger than the ECDSA signatures they replace, and the image header must reserve the exact length. wolfBoot requires IMAGE_SIGNATURE_SIZE to be set for LMS and XMSS, with example values of 2644 for LMS at 2 levels, height 5 and Winternitz 8, and 2500 for XMSS-SHA2_10_256. It provides tools/lms/lms_siglen.sh and tools/xmss/xmss_siglen.sh to compute the length for a given parameter set. Confirm the parameter set in use, compute the length with the tool your bootloader ships, and check that a mismatch fails verification rather than being accepted. The MCUboot LMS pull request measured on a Cortex-M33 about 56.7% flash use with LMS against 53.7% with ECDSA-P256, and about one second to verify a 23 KiB image against about a quarter second for ECDSA. That measurement is from one reviewer and one board, so treat it as a planning signal to test on your own hardware.
The third and fourth risks are verifier mismatch and hardware counters. The verifier must be built for the exact LMS or XMSS parameter set that signing used, and the MCUboot pull request does not include Zephyr integration, with a reviewer noting that PSA has no LMS Kconfig option yet, so confirm whether your verifier code path exists in your bootloader release at all. On counters, RFC 10033 section 4 recommends dedicated cryptographic hardware because it enables rollback-resistant counters, which can be difficult to achieve in software alone. RFC 10033 section 1.1 says meeting the state-management requirements may require purpose-designed hardware such as hardware security modules. Decide early whether your device or signing environment can provide rollback-resistant state, and do not assume a software counter is sufficient without testing it.
Questions planners ask about upgrading LMS and XMSS firmware signing
Can LMS or XMSS firmware signing be upgraded without new hardware?
Possibly, but the sources say it may not be enough. RFC 10033 section 1.1 states that meeting the state-management requirements may require purpose-designed hardware such as hardware security modules. Section 4 recommends dedicated cryptographic hardware because it enables rollback-resistant counters, which are difficult to achieve in software alone. A software-only plan is therefore a design decision to check against your threat model, not a default. Ask your signing vendor and your engineers how the signing key's state counter is stored, protected from rollback and backed up, and whether those controls exist on your current platform. Where hardware is needed, plan for procurement, key ceremony and redundancy as one-time work and ongoing custody as recurring work.
Does an existing Luna 7 HSM need a firmware upgrade for LMS?
According to Thales TCT, no. Its stateful hash-based signatures page states that a Luna 7 Functionality Module installs on existing Luna 7 HSMs without a firmware upgrade. Thales separately announced on 30 June 2023 that LMS and HSS ship in Luna T-Series HSMs with release 7.13.0, while a different Thales TCT page states support starts in release 7.15.0 and gives no date. Those two statements conflict on the release, so confirm with Thales which release and module version your HSM needs before you purchase or schedule work. Also confirm that your application and signing code can use the module through its interface.
Can LMS or XMSS firmware signing run in hybrid mode?
The sources on this page do not say whether hybrid mode is supported for these schemes. The MCUboot LMS pull request leaves hybrid, or dual, signature mode out of scope, and its author argues hybrid mode is unnecessary for LMS. That is one project's position, not a standard or a product statement. Ask each vendor whether its LMS or XMSS implementation can verify and produce a combined signature with a classical scheme, which algorithms it would pair, and how a device that only understands one of them would behave during rollout.
How large is an LMS or XMSS firmware signature?
Signature size depends on the parameter set, so compute it for your configuration rather than assuming one value. wolfBoot's manual gives example figures: 2644 bytes for LMS with 2 levels, height 5 and Winternitz 8, and 2500 bytes for XMSS-SHA2_10_256. Those examples are only what the manual states for those settings. wolfBoot provides tools/lms/lms_siglen.sh and tools/xmss/xmss_siglen.sh to compute the size for other parameters, and it requires IMAGE_SIGNATURE_SIZE to be set for LMS and XMSS. Size matters for flash, certificate or manifest fields and transfer, so include the computed value in your bootloader and storage sizing.
What does the MCUboot measurement mean for a constrained device?
It gives one data point, not a sizing rule. A reviewer on the MCUboot LMS pull request measured a Cortex-M33 and found flash use of about 56.7% with LMS against 53.7% with ECDSA-P256, RAM of about 3.9% against 3.6%, and about one second to verify a 23 KiB image against about a quarter second for ECDSA. Those figures depend on the board, toolchain, image and parameters used, so repeat the measurement on your own hardware. The same pull request does not include Zephyr integration, and a reviewer noted that PSA has no LMS Kconfig option yet, so check integration status for your platform.
Can we do the LMS or XMSS upgrade ourselves or do we need outside help?
Your own engineers can handle the parts that are configuration and inventory: listing where firmware is signed and verified, confirming each device's bootloader and HSM versions with its vendor, computing signature sizes, and reading the state-handling requirements in RFC 10033. Outside help is more likely to be needed for the state-management design, key custody and backup procedures, rollback-resistant counter storage, and verification code changes, because RFC 8391 says standard signature APIs must be modified to return an updated secret key state. Scope these in writing before work starts, and ask any partner to name the deliverables, the test evidence and what is left for your team to operate.
What operational risk comes from reusing an LMS or XMSS key state?
Reuse breaks the scheme. 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 that if a key state is reused, no cryptographic security guarantees remain, and that these schemes should be used only in systems that prevent state reuse. RFC 10033 adds that double-signing with the same one-time key allows forgeries, and warns that live cloning of a virtual machine can easily lead to state reuse. Treat counter storage, backups and any virtualized signing host as part of the upgrade design.
How DeployOpen works on this
DeployOpen approaches a post-quantum upgrade of LMS and XMSS firmware signing as scoped engineering work: first confirming where signing runs and how signing state is kept, then building and testing the signing and verification path in a controlled environment. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Inventory which signing hosts, HSMs, build servers and verifiers are in use, and whether signing runs on virtualized infrastructure.
- Confirm the state-management approach with your team, including where secret key state is stored and how reuse is prevented.
- Agree the written scope, deliverables and timeline before work starts, including which verifiers and boot stages are covered.
How we build
- Set up LMS or XMSS signing and verification in a test environment, using the vendor or library versions you confirm are in use.
- Calculate signature sizes for your chosen parameters and check image size and verification time against your target hardware.
- Test state handling, including reuse scenarios, backup and restore, and any cloning or snapshot behavior on virtualized signers.
How we hand over
- Deliver documented configuration, parameter choices, signature size calculations and test results for your engineering and security teams.
- Record the state-management procedure, key custody arrangements and the evidence your compliance or audit team will ask for.
- Hand over with a walkthrough of open items, including anything the sources do not settle and that you should confirm with the vendor.
How we support
- Support fixes and reviews after handover, such as retesting after firmware, library or parameter changes.
- Offer ongoing support and continuous testing as a retainer if your signing estate changes over time.
- Revisit the state-management and verification tests when vendors or standards publish new guidance on these schemes.

