Optimized Vectorization Implementation of CRYSTALS-Dilithium
Presents an AVX-512 (and AVX2) vectorized implementation of CRYSTALS-Dilithium with a faster small-polynomial multiplication, a tailored modular reduction, and vectorized hashing and rejection sampling.
Schemes: CRYSTALS-Dilithium, ML-DSA, SPHINCS+, Falcon, SHAKE-128, SHAKE-256, NTT, PSPM-TEE
Findings (quotes checked against the source text)
- The paper states that ML-DSA is derived from CRYSTALS-Dilithium, so the optimizations carry over to the standardized draft.
ML-DSA is derived from CRYSTALS-Dilithium.
Numbers (as extracted, not quote-checked)
- Dilithium2/3/5 AVX-512 speedup in key generation vs prior AVX2: 43.2%/39.3%/45.6%
- Dilithium2/3/5 AVX-512 speedup in signing vs prior AVX2: 36.6%/41.6%/43.7%
- Dilithium2/3/5 AVX-512 speedup in verification vs prior AVX2: 45.3%/46.5%/47.4%
- Dilithium2 signing cycles with improved PSPM (Table III): 636326 cycles
- Dilithium modulus q: 8380417
For builders
If a PQ chain validates many Dilithium/ML-DSA signatures on x86-64 nodes, AVX-512 or AVX2 kernels can cut verify and sign CPU cost substantially, but these are speed gains with no change to the security argument.
Limits
Code is not yet released; benchmarks are x86-64 only and compare against the prior AVX2 version. The paper gives no side-channel or constant-time analysis, and the speedups are reported for a specific CPU and build.
Topics: sig-lattice benchmarks hash-functions implementation-sidechannel