LMS tree height 10 vs tree height 20: how many signatures a key can make

A height 10 LMS tree signs 1,024 messages per key and a height 20 tree signs 1,048,576, but the larger tree costs more key generation time and makes state management harder to get right.

On this page

How many signatures a height 10 LMS key makes compared with height 20

LMS is a stateful hash-based signature scheme, and the tree height sets how many signatures one key can make. A height 10 tree (typecode 0x06, LMS_SHA256_M32_H10) supports 2^10, or 1,024, signatures per tree. A height 20 tree (typecode 0x08, LMS_SHA256_M32_H20) supports 2^20, or 1,048,576, signatures per tree. For an engineer choosing a design, the distinction that matters most is not the raw number of signatures but the load that comes with capacity: a larger tree takes far longer to create, and every signature consumes a one-time key that must be tracked across restarts. RFC 8554 defines both heights, and RFC 9708 lists heights 10 and 20 among those supported for HSS/LMS in CMS. Engineers, security leads and procurement reviewers all meet this comparison when a vendor or standard names a height without explaining what it costs in operation.

The main cost of height 20 is key generation. RFC 8554's Table 3 gives key generation time of about 3 minutes for height 20, against about 6 seconds for height 15, measured with W=8. The same table gives a single-tree signature size of 1,776 bytes for height 20. It does not list a single-tree height 10 row, so readers should check the signature size and key generation time for height 10 in the RFC itself or in the implementation they plan to run, rather than assuming them from the trend. RFC 8554 also says that a single tree's drawback is the substantial public key generation time, and that two-level trees start significantly faster. A two-level scheme built from two height-10 trees reaches the same 2^20 capacity as one height-20 tree, and Table 3 lists that 20/10 arrangement at 3,332 bytes per signature. Choosing between these is a tradeoff of initialization time, signature size and how the hierarchy is managed.

Whichever height is chosen, the state management requirement is the operational decision that cannot be deferred. RFC 8554 says the private-key leaf counter must be stored before a signature is released, so that a crash and reboot cannot cause key reuse, and that each one-time key must be used only once. RFC 9708 adds that implementations must track which leaves have been used. RFC 9802 warns that copy-based backup and restore risks reusing one-time keys. NIST SP 800-208 approves LMS only in certain parameter sets, and NIST's project page says key and signature generation must run in hardware modules that do not allow secret keying material to be exported. Before committing to a height, confirm with your hardware and backup design that the counter can be persisted reliably and that restores cannot roll it back.

Height 10 and height 20 side by side

This table sets the LMS height 10 and height 20 single-tree options against each other, one attribute per row, using only the figures RFC 8554 and RFC 9708 publish. Height 20 has a full set of published figures, while height 10 has no signature size or key generation time in the sources, so confirm those in your implementation before sizing storage or signing time. The main takeaway is that height 10 gives 1,024 signatures per tree and height 20 gives 1,048,576, and the two-level 20/10 option reaches the same capacity as a single height-20 tree.

AttributeLMS height 10LMS height 20
Typecode0x06 (LMS_SHA256_M32_H10)0x08 (LMS_SHA256_M32_H20)
Signatures per tree1,024 (2^10)1,048,576 (2^20)
Single-tree signature sizeNot given in the sources, confirm in RFC 8554 or your implementation1,776 bytes (RFC 8554 Table 3, W=8)
Single-tree key generation timeNot given in the sources, confirm in RFC 8554 or your implementationAbout 3 minutes (RFC 8554 Table 3)
Two-level 20/10 equivalentTwo height-10 trees in a two-level scheme sign 2^20 messages, matching one height-20 treeMatched by a two-level 20/10 scheme at 3,332 bytes per signature (RFC 8554 Table 3)
Status in RFC 8554 and RFC 9708Defined in RFC 8554, supported for HSS/LMS in CMS by RFC 9708 (January 2025)Defined in RFC 8554, supported for HSS/LMS in CMS by RFC 9708 (January 2025)
Approval in NIST SP 800-208Approved only where the parameter set uses SHA-256 or SHAKE256 with 192-bit or 256-bit outputs, and key generation runs in a hardware module that does not export secret keying materialApproved under the same conditions as height 10

What LMS height 10 and height 20 are and where they appear

LMS_SHA256_M32_H10 is the LMS parameter set with tree height 10 and typecode 0x06, defined in RFC 8554. A single tree of this height supports 2^10, or 1,024, signatures per key. RFC 8554 does not list a single-tree height 10 row in its Table 3, so the signature size and key generation time for this height are not given in that table, and you should confirm them against the RFC or your implementation before sizing a system.

  • Capacity: RFC 8554 gives a single height-10 tree a signature count of 2^10 or 1,024.
  • Defining document: RFC 8554, LMS and HSS, is an Informational document from the IRTF Crypto Forum Research Group, not a Standards Track specification.
  • Multi-level use: RFC 8554 says a two-level HSS scheme with height-h trees signs 2^(2h) messages, so two levels of height 10 reach the same 2^20 capacity as one height-20 tree.
  • CMS support: RFC 9708 supports LMS tree heights of 5, 10, 15, 20 and 25 for HSS/LMS in CMS.
  • Approved parameter sets: NIST SP 800-208 approves only some RFC 8554 parameter sets, those using SHA-256 or SHAKE256 with 192-bit or 256-bit outputs, so check that your chosen set falls within that approved list.

Before relying on height 10, confirm the exact typecode and parameter set your implementation and your CMS or hardware module support.

Which differences matter when choosing between height 10 and height 20

The height sets how many signatures one key can make, and that number drives key generation time, signature size and how carefully state must be managed. The cards below cover each difference as a consequence for a design, so you can check which trade-offs apply to your system.

Signature capacity per key

A single height 10 tree supports 1,024 signatures per key, while a single height 20 tree supports 1,048,576. A key that will sign a large number of messages over its lifetime needs the height 20 capacity, or a multi-level structure, before the key is exhausted. RFC 8554 defines both heights with these counts. Confirm your expected signing volume against the capacity of the height you choose, because a key that reaches its limit cannot sign further.

RFC 8554

Key generation time

RFC 8554 reports that generating a single height 20 tree takes about 3 minutes, and it describes this public key generation time as the main drawback of a single tree. The sources do not give a height 10 figure, so measure key generation on your own hardware before setting an initialization budget. Plan for this cost at provisioning time, since it does not recur for each signature.

Height 20 key generation
About 3 minutes
RFC 8554

Signature size on the wire

RFC 8554 lists a single height 20 signature at 1,776 bytes, measured with W=8. The sources do not list a height 10 signature size, so check the size for your chosen parameters before sizing protocol messages, certificates or storage. Signature size affects bandwidth and buffer sizing in any protocol that carries the signature.

Two-level 20/10 alternative

A two-level scheme built from two height 10 trees reaches the same 2^20 capacity as a single height 20 tree, according to RFC 8554. RFC 8554 lists the two-level 20/10 scheme at 3,332 bytes per signature, and says two-level schemes are significantly quicker to initialize than a single tree. Compare the larger signature and faster setup against the single-tree option before choosing a structure.

RFC 8554

State counter storage before release

Each LMS key tracks which one-time leaf has been used, and RFC 8554 requires that this counter is stored before a signature is released. If a crash and reboot can cause the counter to roll back, a one-time key can be reused. The height you choose does not remove this requirement, so confirm that your signing system persists state durably before any signature leaves the module.

RFC 8554

Signing time and backup risk

RFC 9802 says that larger parameter choices allow more signatures but increase signature size and signing time. It also warns that copy-based backup and restore can cause one-time keys to be reused. Test signing latency at your chosen height, and design backup and restore so that restored state cannot roll back the leaf counter.

RFC 9802

How the signature count changes the state management load

A taller LMS tree does not change the rule that governs its keys. Each leaf of an LMS tree is a one-time key, and RFC 8554 says each one-time key must be used only once and must not be used to sign another message. The signer therefore has to track which leaves have been used. RFC 9708 states the same obligation for CMS use: an LMS key can only be used for a fixed number of signing operations, and implementations must track which leaves have been used. Moving from height 10 to height 20 raises the number of leaves from 1,024 to 1,048,576, but every one of those leaves still carries this obligation.

The practical requirement is that the private-key leaf counter be persisted before a signature is released. RFC 8554 says this is what prevents key reuse after a crash and reboot: if the signature leaves the device before the counter is saved, a restart could reuse the same leaf. Developers who build on LMS should treat counter storage as part of the signing operation itself, not as a background setting. RFC 8554 also advises that LMS should not be used except in systems that prevent the reuse of secret key states, so the storage and signing path must be designed with that guarantee in mind.

A larger signature count changes how long the key lives, and that changes the state management plan. A height-20 key can make about a million signatures, so it stays in service for a longer period than a height-10 key, and the counter has more time to drift, be restored from an older copy, or be shared across machines. Before deployment, the team should decide where the counter lives, how it is written atomically before each release, who can read and advance it, and how the key is retired when its leaves run low.

Backup needs particular care. RFC 9802 warns that copy-based backup and restore risks reusing one-time keys. If a virtual machine image or a file copy of the signer is restored, the restored counter can point at leaves that were already used, and the same leaf may then sign a second message. The reader should confirm with the implementation vendor how state is backed up, whether restore procedures can roll back the counter, and whether the signer can be prevented from starting from an older state, and should test those restore paths before relying on them.

How to work out whether height 10 or height 20 applies to your system

This sequence takes you from the number of signatures your design needs to a decision on tree height, checking each constraint that the sources set on that choice. The output is a written height selection with the open questions your vendor must answer before you commit.

  1. Estimate the signature volume per key

    Work out how many signatures one key must produce over its planned life, counting every signing operation the design performs, not only the signatures that reach customers. Compare that figure with the per-tree capacity RFC 8554 gives: 1,024 signatures for height 10 and 1,048,576 for height 20. If your estimate sits well under 1,024, height 10 covers the volume on paper, and if it runs past 1,048,576, neither single tree is enough and you should look at multi-level trees. The output is a written volume figure with its assumptions stated.

  2. Confirm the hardware module meets the SP 800-208 export rule

    Check with the security team whether the hardware module you plan to use can generate keys and signatures without allowing secret keying material to be exported, because NIST SP 800-208 requires that condition, as NIST's stateful hash-based signature project page describes. NIST says it is working on a revision that would permit key export, but the sources give no publication date for it, so do not assume it is available. The output is a written statement from the module vendor on export behavior, filed with your design record.

  3. Confirm the heights your CMS library supports

    Ask the library or product team which LMS tree heights its CMS implementation accepts. RFC 9708, published in January 2025, lists heights 5, 10, 15, 20 and 25 for HSS/LMS in CMS, but a library may implement only some of them, so the RFC alone does not settle what you can deploy. Request the version number and the specific height identifiers it supports, and record them. The output is a confirmed list of supported heights for the exact version you will run.

  4. Check the backup and restore process against the RFC 9802 warning

    Review how your system backs up and restores the private key state, because RFC 9802, published in June 2025, warns that copy-based backup and restore can cause one-time keys to be reused. Reuse breaks the security of the scheme, so write down how the leaf counter is stored and how a restore avoids replaying an earlier state. Test the restore path in a non-production environment with a key you can afford to lose. The output is a documented backup and restore procedure that a reviewer can check against the warning.

  5. Compare the signature size and key generation time with your limits

    Take the height you are considering and compare its signature size and key generation time with the limits set by your protocol, bandwidth and provisioning window. RFC 8554 Table 3 gives 1,776 bytes per signature for a single height-20 tree and about 3 minutes of key generation, and it gives a two-level 20/10 scheme at 3,332 bytes per signature. The same table gives no single-tree height 10 figures, so you cannot take the height 10 numbers from the RFC. The output is a side-by-side table of the figures you have for each height.

  6. Ask the vendor for height 10 signature size and key generation time

    Send the vendor a written request for the signature size and key generation time for the specific height you intend to use, including height 10 if it is under consideration. The sources do not give these values for height 10, so you must obtain them from the vendor or from measurement in your own environment. Ask for the figures to be stated for the exact library version and hardware, since results depend on both. The output is a vendor response that fills the one gap your comparison has.

  7. Record the height decision and its open questions

    Bring the results of the earlier steps together into one design record that states the chosen height, the signature volume it covers, the supported heights confirmed by the library, the export position of the module and the backup procedure. List any question still open, such as the height 10 figures or the status of the SP 800-208 revision, with an owner for each. The output is a signed design record that a security lead or auditor can review.

How a two-level 20/10 scheme relates to a single height 20 tree

The diagram starts with one height-20 tree, which RFC 8554 defines with 2^20 (1,048,576) signatures. Next to it, a two-level HSS scheme uses a top-level height-10 tree and a bottom-level height-10 tree, which RFC 8554 says signs 2^(2h) messages, the same 2^20 capacity. The labels mark the two points RFC 8554 Table 3 gives for the layout: the 3,332-byte signature size of the two-level 20/10 scheme, and the time to generate keys, which RFC 8554 says is about the time of the top-level tree. Check the leaf counter storage rule in RFC 8554 before deploying either layout.

Single height 20 tree and two-level 20/10 scheme reach the same signing capacity.

Common questions about LMS tree height 10 and height 20

Are LMS tree height 10 and height 20 the same scheme?

No. Height 10 and height 20 belong to the same algorithm family, LMS with SHA-256 and a 32-byte output, but they are different parameter sets. RFC 8554 identifies them by different typecodes: LMS_SHA256_M32_H10 (typecode 0x06) and LMS_SHA256_M32_H20 (typecode 0x08). The tree height sets how many one-time keys a single tree holds, so the two sets differ in signature capacity and in the cost of generating the public key. Check the typecode in any key or signature you receive, since that value identifies which height is in use.

How many signatures can a height 10 and a height 20 LMS key make?

Per RFC 8554, a single height 10 tree supports 2^10, or 1,024, signatures, and a single height 20 tree supports 2^20, or 1,048,576, signatures. Each signature consumes one one-time key from the tree, and the count is fixed when the key is generated. RFC 9708 adds that an LMS key can only be used for a fixed number of signing operations, and implementations must track which leaves have been used. Confirm the capacity your deployment needs against the typecode it actually runs.

Which LMS tree height is newer?

The sources in this topic do not compare release dates for the heights themselves. RFC 8554 (April 2019) defines heights 5, 10, 15, 20 and 25 together, and RFC 9708 (January 2025) supports heights 5, 10, 15, 20 and 25 for HSS/LMS in CMS. Neither document marks one height as newer or as a replacement for another. If you need a release history for a specific implementation, check its vendor documentation or changelog.

Does a rule or customer require LMS height 10 or height 20?

The sources listed on this page do not state a requirement for a specific height. NIST SP 800-208 approves only some parameter sets from RFC 8391 and RFC 8554, specifically those using SHA-256 or SHAKE256 with 192-bit or 256-bit outputs, and it requires key and signature generation to run in hardware modules that do not allow secret keying material to be exported. Neither the standard nor these sources choose height 10 over height 20. Ask the customer or the governing authority which parameter sets they accept, and confirm the height against that list.

Can a two-level scheme replace a single LMS tree?

RFC 8554 says a two-level HSS scheme with height-h trees signs 2^(2h) messages, so two levels of height 10 reach the same 2^20 capacity as one height-20 tree. Table 3 of RFC 8554, measured with W=8, lists a two-level 20/10 scheme at 3,332 bytes per signature, against 1,776 bytes for a single height-20 tree. RFC 8554 also says two-level schemes take about the time of their top-level tree to generate, and that a single tree's drawback is the substantial public key generation time. Whether the two-level form fits depends on your signature size budget and your key generation time.

How does tree height affect the state management load?

Every one-time key must be used once, and RFC 8554 says the private-key leaf counter must be stored before a signature is released, so a crash and reboot cannot cause key reuse. A larger tree gives more leaves to track, but the counter discipline is the same for any height. RFC 9802 warns that copy-based backup and restore risks reusing one-time keys, which applies to any height. Plan the storage and recovery design for the counter itself, whichever height you run.

What should I ask a vendor about the LMS height in use?

Ask which typecode and height the product uses, such as LMS_SHA256_M32_H10 or LMS_SHA256_M32_H20, and whether it is a single tree or a two-level HSS form. Ask how many signatures one key can make and what happens when the count is reached. Ask where the leaf counter is stored, how it survives a crash or restore, and whether the signing module meets the hardware and key export constraints in NIST SP 800-208. Ask for the vendor's own documentation on these points, because the sources here do not describe any product.

Is LMS height 20 the same as the XMSS multi-tree option?

No. LMS and XMSS are separate hash-based schemes with separate RFCs. RFC 8554 defines LMS and HSS, and RFC 8391 defines XMSS and XMSS-MT. Both are Informational documents from the IRTF Crypto Forum Research Group, not Internet Standards Track specifications. Their parameter sets, typecodes and capacity figures differ, so compare them by their own definitions rather than by height alone.

Which official pages confirm each figure on this page

Every signature count, signature size and key generation time on this page comes from one of three IETF documents: RFC 8554 for the LMS and HSS parameter sets and their table of measured sizes and times, RFC 9708 for the LMS tree heights supported in CMS, and RFC 9802 for the guidance on larger parameter choices and on backup and restore. RFC 8554 is an Informational document, not an Internet Standards Track specification, so treat its figures as the reference values the document gives rather than as a mandated profile. The height 10 single-tree signature size and key generation time are not in its Table 3, so confirm those in the document itself or in your own build before relying on them.

For which parameter sets an assessor will accept, check the NIST stateful hash-based signature project page and the NIST SP 800-208 page. The project page states that SP 800-208 approves only some of the RFC 8554 parameter sets, those using SHA-256 or SHAKE256 with 192-bit or 256-bit outputs, and that key and signature generation must run in hardware modules that do not allow secret keying material to be exported. The same page says a revision of SP 800-208 is in progress that would permit key export, with no publication date given. Confirm which revision and which parameter set your deployment uses against the version of each page you are reviewing, because the project page was last updated on 2 October 2026 and may change.

How DeployOpen works on this

DeployOpen scopes LMS tree height choices against the signature count, key generation time and state tracking the design needs, then builds and documents the signing setup in the client's own infrastructure. The work is handed over with the parameter record, state handling procedure and test evidence so the client's security and compliance teams can review them.

How we scope

  • We confirm the expected number of signatures per key and the lifetime the design must cover.
  • We record which tree height and whether a single tree or multi-level form is under consideration, with the sources for each.
  • The written scope states which parameter sets, signing environments and state storage components are covered, agreed before work starts.

How we build

  • We configure the LMS signing component with the agreed height and confirm the leaf counter is persisted before any signature is released.
  • We set up state storage so that backup and restore procedures cannot return a one-time key to an earlier counter value.
  • We test signing under a simulated crash and reboot to confirm the stored counter prevents reuse of a one-time key.

How we hand over

  • We document the chosen tree height, the signature capacity it gives, and the key generation time measured in the client's environment.
  • We deliver the state handling procedure, covering storage, backup, restore and the steps to follow after a failure.
  • We provide test evidence and a review pack so the client's security and compliance teams can assess the setup.

How we support

  • Ongoing support is available as a retainer, covering reviews of signing volume against the chosen capacity.
  • We can re-test the state handling after upgrades, restores or changes to the storage or signing environment.
  • Where a revision of the relevant guidance changes approved parameter sets or key export, we review the setup against it with the client.

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.