Multiplying Polynomials without Powerful Multiplication Instructions (Long Paper)
Generalizes Barrett modular multiplication to be shape-independent and uses Nussbaumer/Toom-Cook polynomial multiplication over Z_2^k to speed Dilithium and Saber on Cortex-M3 and AVR.
Schemes: Dilithium, Saber, Barrett multiplication, Montgomery multiplication, NTT, Nussbaumer FFT, Toom-Cook
Findings (quotes checked against the source text)
-
Generalized Barrett multiplication for Dilithium modular multiplications is 1.92 times faster than state-of-the-art assembly Montgomery multiplications on Cortex-M3.
For the modular multiplications in Dilithium, our generalized Barrett multiplications are 1.92 times faster than the state-of-the-art assembly-optimized Montgomery multiplications, leading to 1.38−1.51 times faster Dilithium NTT/iNTT.
-
Shape-independent modular multiplication performs comparably to long multiplication on some platforms without special hardware when precomputation is free.
We generalize Barrett multiplication and show that the resulting shape-independent modular multiplication performs comparably to long multiplication on some platforms without special hardware when precomputation is free.
-
FFT-based polynomial multiplication over Z_2^k speeds up the Dilithium challenge multiplication c t0 by 1.31 times.
We further apply the FFT-based polynomial multiplications over $\mathbb{Z}_{2^k}$ to the challenge polynomial multiplication $c t_0$, leading to 1.31 times faster computation for $c t_0$.
-
For Saber on Cortex-M3, matrix-vector multiplication with FFT-based multiplication over Z_2^k is faster than NTT-based multiplication over NTT-friendly rings.
For Saber on Cortex-M3, we show that matrix-vector multiplications with FFT-based polynomial multiplications over $\mathbb{Z}_{2^k}$ are 1.42−1.46 faster than the ones with NTT-based polynomial multiplications over NTT-friendly coefficient rings.
-
On 8-bit AVR, Barrett-based NTT improves Dilithium matrix-vector multiplication by a factor of 1.87-1.89.
When moving to a platform with smaller arithmetic precision, such as 8-bit AVR, we improve the matrix-vector multiplication of Dilithium with our Barrett-based NTT/iNTT by a factor of 1.87−1.89.
Numbers (as extracted, not quote-checked)
- Generalized Barrett vs Montgomery modular multiplication speedup (Dilithium, Cortex-M3): 1.92x
- Dilithium NTT/iNTT speedup (Cortex-M3): 1.38-1.51x
- Dilithium matrix-vector multiplication speedup (Cortex-M3): 1.71-1.77x
- c t0 challenge multiplication speedup (Dilithium): 1.31x
- Saber matrix-vector speedup, FFT over Z_2^k vs NTT (Cortex-M3): 1.42-1.46x
- Dilithium matrix-vector speedup on 8-bit AVR (Barrett NTT): 1.87-1.89x
For builders
If your PQ chain targets constrained or multiplier-poor hardware, consider generalized Barrett reduction over Montgomery for Dilithium's NTT, but benchmark it on your target.
Limits
Results are for Cortex-M3 and 8-bit AVR assembly only; the abstract-only source gives no full-text validation, and gains assume precomputation is free.
Topics: implementation-sidechannel benchmarks sig-lattice kem