Hardware/Software Co-Design of ML-DSA with Random Delay Insertion Against Correlation Power Analysis
Offloads ML-DSA's vulnerable pointwise Montgomery multiplication to an FPGA SoC accelerator with LFSR random delay insertion, blocking CPA while nearly matching unprotected signing latency.
Schemes: ML-DSA, Montgomery multiplication, LFSR random delay insertion
Findings (quotes checked against the source text)
-
Standard software ML-DSA on embedded devices leaks secret-dependent power consumption, enabling key recovery via Correlation Power Analysis.
Standard software implementations of ML-DSA on embedded devices are exposed to physical side-channel attacks, since the power consumption of the circuit depends on the processed secret data and allows key recovery via Correlation Power Analysis (CPA).
-
Offloading the pointwise Montgomery multiplication to an AXI4-Full accelerator with a 16-bit LFSR for random delay insertion prevents CPA trace alignment.
The vulnerable pointwise Montgomery multiplication is offloaded to an Advanced eXtensible Interface (AXI4-Full) hardware accelerator that integrates a 16-bit Linear Feedback Shift Register (LFSR) for Random Delay Insertion (RDI), preventing CPA trace alignment.
-
The co-design gives a 13.4x speedup over the software-protected SoC implementation, with protected signing latency close to the unprotected software baseline.
Experimental results demonstrate a 13.4× speedup over the software-protected SoC implementation.
Numbers (as extracted, not quote-checked)
- Protected ML-DSA signing latency (HW/SW co-design, Zynq-7000): 42.80 ms
- Unprotected software ML-DSA signing latency: 40.64 ms
- Dynamic power of hardware accelerator in programmable logic: 33 mW
- Speedup over software-protected SoC implementation: 13.4x
For builders
If signing runs on embedded or HSM-style hardware, protect the NTT/Montgomery multiplies with hardware masking or delay and budget for the latency cost, which this design shows can be small.
Limits
Based on the abstract only (full text not read); evaluated on a Zynq-7000 SoC, so results may not transfer to other platforms or to stronger masking.