Parameter-Aware and Instruction-Driven Dilithium Optimization on AVX2 and NEON
Speeds up Dilithium signing on AVX2 and NEON via 16-bit NTTs, vectorized CRT, and a sparse polynomial multiplication that skips the NTT for the challenge polynomial.
Schemes: Dilithium, ML-DSA
Findings (quotes checked against the source text)
-
On AVX2, single-modulus and multi-moduli 16-bit NTT optimizations speed up the cs_i and ct_0 computations, reducing overall Dilithium signature generation time by 7% to 8%.
These instruction-level optimizations accelerate the respective computations by $2.4$--$2.5\times$ and $1.2$--$1.3\times$ over official AVX2 baselines, ultimately reducing the overall Dilithium signature generation time by $7\%$ to $8\%$.
-
On ARMv8-A NEON, Fast-SPM computes c*t_0 by index-shifted additions that bypass the NTT, exploiting the extreme sparsity of the challenge polynomial.
By exploiting the extreme sparsity of the challenge polynomial, Fast-SPM entirely bypasses the NTT and converts the computation into highly efficient index-shifted additions.
-
On NEON (Cortex-A72 and Apple M1 Pro), the hybrid approach reduces overall signature generation time by 10% to 13%.
this hybrid approach achieves a $1.9$--$2.1\times$ speedup for $c \cdot \mathbf{s}_i$ alongside a $1.1$--$1.9\times$ acceleration for $c \cdot \mathbf{t}_0$, which translates into a $10\%$ to $13\%$ reduction in the overall signature generation time.
Numbers (as extracted, not quote-checked)
- AVX2 speedup for c*s_i over official baseline: 2.4-2.5x
- AVX2 speedup for c*t_0 over official baseline: 1.2-1.3x
- AVX2 overall Dilithium signing time reduction: 7% to 8%
- NEON speedup for c*s_i: 1.9-2.1x
- NEON speedup for c*t_0: 1.1-1.9x
- NEON overall Dilithium signing time reduction: 10% to 13%
For builders
If your chain signs with ML-DSA/Dilithium on x86 or ARM nodes, these NTT and sparse-multiplication tricks can trim signing cost, but they only matter if signing throughput is a bottleneck.
Limits
Based on the ePrint abstract only, since full text was not available; performance numbers are for the tested AVX2 and NEON platforms and are not verified here.