Optimizing HAETAE and SMAUG-T on Cortex-M4 for Resource-Constrained IoT Devices
Optimizes HAETAE signatures and SMAUG-T KEM on Cortex-M4 MCUs, fixing HAETAE bugs and speeding KeyGen, Sign, Verify, Encaps, Decaps, then modeling IoT transmission cost.
Schemes: HAETAE, SMAUG-T, ML-DSA, ML-KEM, ASNE
Findings (quotes checked against the source text)
-
HAETAE and SMAUG-T provide smaller public values than ML-DSA and ML-KEM, but unoptimized cycle counts can offset that advantage on constrained devices.
The DSA HAETAE and the KEM SMAUG-T, both selected in the KpqC competition, provide smaller public values than ML-DSA and ML-KEM; however, the lack of platform-specific optimization leaves their operation cycle counts high, which can offset this advantage.
-
Autocorrelation-based Spectral-Norm Evaluation replaces per-polynomial FFTs with one autocorrelation FFT, after fixing two bugs in the existing HAETAE N(s) evaluation.
We fix two bugs in the existing implementation of the HAETAE $\mathcal{N}(\mathbf{s})$ evaluation and propose Autocorrelation-based Spectral-Norm Evaluation (ASNE), which replaces the per-polynomial FFTs with a single autocorrelation FFT.
-
Optimized HAETAE gains up to 309.1% in KeyGen, 4.8% in Sign, and 6.0% in Verify over the prior state-of-the-art Cortex-M4 implementation.
Together with further optimizations, we achieve improvements of up to 309.1%, 4.8%, and 6.0% in KeyGen, Sign, and Verify, respectively, over the state-of-the-art implementation.
-
For SMAUG-T, an auxiliary NTT-friendly modulus q' is selected from coefficient-range analysis, yielding up to 266.7%, 348.9%, and 341.0% gains in KeyGen, Encaps, Decaps over the reference C code.
For SMAUG-T, we analyze the coefficient ranges of the polynomial multiplication operands to select an auxiliary NTT-friendly modulus $q'$, and count the number of operations per layer to apply the optimal NTT.
-
Static analysis and dudect measurements found no evidence of timing leakage in the optimized kernels.
Furthermore, we apply static analysis and dudect measurements to the optimized kernels and observe no evidence of timing leakage.
-
Modeled over prior IoT protocol measurements, HAETAE and SMAUG-T may be competitive in constrained wireless settings.
showing that HAETAE and SMAUG-T can be competitive PQC alternatives in constrained wireless environments.
Numbers (as extracted, not quote-checked)
- HAETAE KeyGen improvement over state of the art on Cortex-M4: up to 309.1%
- HAETAE Sign improvement over state of the art on Cortex-M4: up to 4.8%
- HAETAE Verify improvement over state of the art on Cortex-M4: up to 6.0%
- SMAUG-T KeyGen improvement over reference C: up to 266.7%
- SMAUG-T Encaps improvement over reference C: up to 348.9%
- SMAUG-T Decaps improvement over reference C: up to 341.0%
For builders
If targeting MCUs, HAETAE and SMAUG-T's small public values are only useful after platform-specific optimization of their cycle counts, so benchmark both together.
Limits
Based on the ePrint abstract only; full text was not read. Results are Cortex-M4 specific and IoT transmission figures rely on modeled, not measured, network costs.
Topics: sig-lattice kem implementation-sidechannel benchmarks standards-policy