Multi-moduli NTTs for Saber on Cortex-M3 and Cortex-M4
Optimizes NTT polynomial multiplication for the KEM Saber on ARM Cortex-M4 and M3, reporting faster speed than Toom-Cook, similar stack use, and a masked M4 variant.
Schemes: Saber, NTT multiplication, Toom-Cook multiplication, multi-moduli NTT
Findings (quotes checked against the source text)
-
A stack-optimized unprotected Cortex-M4 Saber using NTT uses about the same stack as the best Toom-Cook version while being 33%-41% faster.
Our stack-optimized unprotected M4 implementation uses around the same amount of stack as the most stack-optimized Toom–Cook implementation while being 33%-41% faster.
-
A speed-optimized masked Cortex-M4 Saber using NTT is 16% faster than the fastest masked Toom-Cook implementation.
Our speed-optimized masked M4 implementation is 16% faster than the fastest masked implementation using Toom–Cook.
-
On Cortex-M3, the NTT-based Saber implementation beats existing implementations by 29%-35% in speed.
For the Cortex-M3, we outperform existing implementations by 29%-35% in speed.
-
The authors conclude NTT should replace Toom-Cook for polynomial multiplication in Saber on Cortex-M4 and M3, for both stack and speed goals.
We conclude that for both stack- and speed-optimization purposes, one should base polynomial multiplications in Saber on the NTT rather than Toom–Cook for the Cortex-M4 and Cortex-M3.
Numbers (as extracted, not quote-checked)
- Speedup of stack-optimized unprotected Cortex-M4 Saber NTT vs Toom-Cook: 33%-41% faster
- Speedup of speed-optimized masked Cortex-M4 Saber NTT vs fastest masked Toom-Cook: 16% faster
- Speedup of Cortex-M3 Saber NTT vs existing implementations: 29%-35% faster
For builders
If a PQ chain uses Saber-style lattice KEMs on constrained hardware, NTT-based polynomial multiplication is the faster option on Cortex-M3/M4, including masked code.
Limits
Based on the ePrint abstract only (full text not read); targets ARM Cortex-M3/M4 microcontrollers, not blockchain nodes; speedups are relative to Toom-Cook baselines, and Saber is a KEM, not a signature.
Topics: kem implementation-sidechannel benchmarks