Don't throw your nonces out with the bathwater: Speeding up Dilithium by reusing the tail of y
Proposes a small Dilithium change that reuses the unspent tail of rejected nonces y, resampling only y1 after an r0 check fails, for 11-22% faster signing.
Schemes: Dilithium, Dilithium2, Dilithium3
Findings (quotes checked against the source text)
-
Reusing the tail of rejected nonces by swapping check order and resampling only y1 speeds up Dilithium signing, with a security proof claimed.
We swap the order of the checks; and if this $\mathbf{r}_0$-check fails, we only need to resample $y_1$.
-
The modification is claimed not to affect the security of the scheme, supported by a proof.
We provide a proof that shows that the modification does not affect the security of the scheme.
-
Speed-up was measured on AVX2, Cortex M4, and Cortex M3 platforms.
We present measurements of the performance of the modified scheme on AVX2, Cortex M4, and Cortex M3, which show a speed-up ranging from 11% for Dilithium2 on M3 to 22% for Dilithium3 on AVX2.
Numbers (as extracted, not quote-checked)
- Signing speed-up range: 11% (Dilithium2 on M3) to 22% (Dilithium3 on AVX2)
For builders
If you implement Dilithium signing on constrained or AVX2 hardware, this nonce-reuse rejection-sampling optimization is a cheap speed-up candidate to check against the full text.
Limits
Based on abstract only; full text not read. Speed-ups are platform-specific measurements, and the security proof has not been independently checked here.