HAETAE signing stack fits in 6 kB on 8-16 kB SRAM microcontrollers
The authors claim their implementation reduces HAETAE stack usage to ~6 kB and speeds verification up to 3.34× faster than ML-DSA m4fstack.
Security & privacy arXiv 17 Apr 2026 Method Prototype evidence
Published as “Low-Stack HAETAE for Memory-Constrained Microcontrollers”
Why it matters
The techniques enable HAETAE signatures to be used on ultra-low-memory MCUs that could not run the original scheme, expanding the range of post-quantum authentication for IoT devices.
Summary
The authors reduce HAETAE’s peak stack usage dramatically, bringing signing stack from 71 kB-141 kB down to 5.8 kB-6.0 kB and verification stack to 4.7 kB-4.8 kB, fitting within an 8 kB RAM budget. They achieve this with three new techniques: rejection-aware pass decomposition, component-level early rejection, and reverse-order streaming rANS entropy coding, plus streaming matrix generation and a two-pass hyperball sampler. Evaluation on a Nucleo-L4R5ZI board shows up to 95 % stack reduction but a slowdown of signature generation up to 3.4× compared to the reference. The evidence is based on real-world measurements against the reference HAETAE implementation and the prior memory-optimized HAETAE-5 work.
What they found 2
- Signing stack reduced from 71 kB-141 kB to 5.8 kB-6.0 kB across all security levels.
“Combined with streamed matrix generation, a two-pass hyperball sampler with streaming Gaussian backend, and row-streamed verification, these techniques bring Signing stack from 71 kB-141 kB in the reference implementation down to 5.8 kB-6.0 kB, key generation to 4.7 kB-5.7 kB, and verification to 4.7 kB-4.8 kB across all three security levels.”
- Verification fits within 8 kB RAM and is 2.34-3.34× faster than ML-DSA m4fstack.
“Verification at all security levels fits within 8 kB of RAM (signature buffer + stack) and is 2.34-3.34× faster than ML-DSA m4fstack at each comparable security level.”
Caveats 3
- The stack reductions come at the cost of higher signing latency, with signature generation up to 3.4× slower than the reference.
- Key generation for HAETAE-2/3 is 1.24-1.82× slower than the reference due to interleaved norm checks.
- Our implementation avoids branches and memory accesses that depend on long-term secret coefficients, with the exception of the rejectionsampling loop inherent in the Fiat-Shamir-with-Aborts paradigm; verification processes only public inputs. Countermeasures against power analysis or fault attacks are not addressed in this work.
What’s new here 4
- Rejection-aware pass decomposition isolates large buffers to non-overlapping phases.
- Component-level early rejection short-circuits computation when a partial norm exceeds the bound.
- Reverse-order streaming rANS eliminates full hint and high-bits staging buffers.
- Streaming two-pass hyperball sampler with a fully streaming Gaussian backend reduces .bss to zero.