Memory-Efficient Implementation of SMAUG-T and HAETAE
Memory-optimizes SMAUG-T (KEM) and HAETAE (signature) for ARM Cortex-M4 so peak stack fits tight SRAM, with branchless constant-time code; based on the abstract only.
Schemes: SMAUG-T, HAETAE, KpqC
Findings (quotes checked against the source text)
-
Baseline HAETAE signing exceeds Cortex-M4 SRAM; the optimized version cuts peak stack by about 90% for HAETAE5.
while SMAUG-T can be executed on typical Cortex-M4 boards, the baseline HAETAE implementation exceeds the available SRAM (e.g., 91{,}176\,B stack for signing), motivating dedicated memory optimization.
-
Peak stack for SMAUG-T5 drops by 73-83% versus the KpqClean_ver2 baseline.
peak stack usage was reduced by 73--83~\% for SMAUG-T5 (e.g., 24{,}300\,B$\rightarrow$4{,}240\,B in decapsulation)
-
Optimized implementations use a branchless constant-time design to resist timing side channels.
a branchless constant-time design was applied throughout to ensure that the optimized implementations remain robust against side-channel threats such as timing attacks.
Numbers (as extracted, not quote-checked)
- HAETAE5 signing peak stack, baseline: 91,176 B
- HAETAE5 signing peak stack, optimized: 8,092 B
- SMAUG-T5 decapsulation peak stack, baseline: 24,300 B
- SMAUG-T5 decapsulation peak stack, optimized: 4,240 B
- SMAUG-T5 stack reduction range: 73-83%
For builders
If embedding KpqC schemes on constrained MCUs, budget stack first; HAETAE's baseline signing needs far more RAM than Cortex-M4 SRAM allows without these optimizations.
Limits
Abstract only; full-text figures, cycle counts, and the exact optimization techniques were not available to verify. Targets Cortex-M4 only, not a blockchain design.
Topics: kem sig-lattice implementation-sidechannel benchmarks standards-policy