LESS on the Cortex-M4: Characterizing the Speed–Memory Design Space of Code-Equivalence Signatures
First complete Cortex-M4 implementation and characterization of LESS v2.0 signatures across all seven parameter sets, mapping speed versus stack-memory tradeoffs with byte-identical NIST KAT correctness.
Schemes: LESS v2.0
Findings (quotes checked against the source text)
-
LESS had no reported microcontroller implementation; its reference peak stack was estimated at about 836 KB, beyond the SRAM of common Cortex-M4 parts.
No microcontroller implementation of it has been reported:
-
A balanced configuration signs 4.1-4.3x faster than the platform-normalized reference while using 41-59% less peak stack.
The primary point is a \emph{balanced} configuration signing $4.1$--$4.3\times$ faster than the platform-normalized reference while using $41$--$59\%$ less peak stack.
-
At category 1, a memory-floor configuration signs with about a 1 KB measured stack at only 1.2-1.5x reference time, so memory minimization is nearly free at that level.
so at category~1, memory minimization is nearly free.
-
The authors attribute a greater than 4x swing in achievable microcontroller signing speed to implementation maturity rather than the scheme itself.
Read against the reference's own profile, these results indicate that implementation maturity, not the scheme, accounts for a
-
Several desktop SIMD techniques hurt performance on the Cortex-M4, documented as a catalog of negative results.
We further report a catalog of negative results (techniques that help on desktop SIMD but hurt on the M4)
-
The evaluation methodology is intended to transfer to surviving third-round candidates, for which NIST called for constrained-device evaluation.
The evaluation methodology---Pareto-monotone adoption criteria, byte-identical correctness gates, and coverage and ablation reporting---transfers to the surviving third-round candidates
Numbers (as extracted, not quote-checked)
- LESS v2.0 reference peak stack (x86-massif cross-check): up to about 836 KB
- Balanced config signing speedup vs platform-normalized reference: 4.1-4.3x
- Balanced config peak stack reduction: 41-59%
- Speed-ceiling config speedup at reference-level memory: 4.5-4.7x
- Memory-floor config measured stack at category 1: about 1 KB
- Memory-floor config time vs reference at category 1: 1.2-1.5x
- Device SRAM on target board: 640 KB
For builders
Treat LESS as a niche code-based signature candidate: if you need constrained-device signing, the category-1 memory-floor configuration shows stack need can be cut to about 1 KB at modest speed cost, but do not assume scheme speed translates to implementation speed.
Limits
Based on the abstract only; full text not read. Code-equivalence scheme, not a chain primitive; NIST did not advance LESS to round three in May 2026; Cortex-M4 results only.
Topics: sig-other benchmarks standards-policy implementation-sidechannel