LMS vs XMSS: Comparison of Stateful Hash-Based Signature Schemes on ARM Cortex-M4
Benchmarks stateful hash-based signatures LMS and XMSS on ARM Cortex-M4 across SHA-256, SHAKE256, Gimli-Hash and Keccak variants, reporting speed, stack and key-gen/sign/verify costs.
Schemes: LMS, XMSS, SHA-256, SHAKE256, Gimli-Hash, Keccak
Findings (quotes checked against the source text)
-
Optimised XMSS implementations on Cortex-M4 reach speedups of up to 3.11x for key generation and signing and 4.32x for verifying.
Furthermore, we present slightly optimised implementations of XMSS achieving speedups of up to 3.11x for key generation, 3.11x for signing, and 4.32x for verifying.
-
Stateful hash-based signatures are efficient post-quantum options but are not suitable for general use, though they may fit some constrained-device use cases.
Although not suitable for general use, they may be suitable for some use cases on constrained devices.
-
LMS and XMSS are hash-based signature schemes conjectured to be quantum secure.
LMS and XMSS are hash-based signature schemes that are conjectured to be quantum secure.
-
The comparison measures performance, stack consumption and other figures for key generation, signing and verifying across multiple instantiations of both schemes.
More precisely, we compared performance, stack consumption, and other figures for key generation, signing and verifying.
Numbers (as extracted, not quote-checked)
- XMSS key generation speedup (optimised vs. baseline): up to 3.11x
- XMSS signing speedup (optimised vs. baseline): up to 3.11x
- XMSS verifying speedup (optimised vs. baseline): up to 4.32x
For builders
Stateful hash schemes like XMSS/LMS are viable for constrained signers where state management is acceptable, and hash-function choice (SHA-256 vs SHAKE256 vs Keccak) materially changes performance.
Limits
Only the ePrint abstract was available; the full text was not read, so per-instantiation sizes and cycle counts are unknown, and stateful schemes need careful state management.
Topics: sig-hash-based sig-stateful hash-functions implementation-sidechannel benchmarks