Efficient Conflict-Free NTT Hardware Architecture with Single-Port RAMs: Applications to ML-DSA
Presents a PTM-code-based NTT hardware architecture using only single-port RAMs, with conflict-free pipelining and single/dual-butterfly ML-DSA NTT cores packaged as an AXI-Stream peripheral.
Schemes: ML-DSA, NTT, Prouhet-Thue-Morse code
Findings (quotes checked against the source text)
-
PTM-code addressing enables NTT computation using only single-port RAMs, avoiding dual-port RAMs common in prior designs.
We present a Number Theoretic Transform (NTT) hardware architecture based on the Prouhet-Thue-Morse (PTM) code, enabling NTT implementations relying only on single-port RAMs (SPRAMs), rather than using dual-port RAMs (DPRAMs) as usually done in the literature.
-
Single- and dual-butterfly ML-DSA NTT modules are designed to match reference software and run as a standalone AXI-Stream peripheral with DMA offload.
Using this approach, we design single- and dual-butterfly NTT modules for ML-DSA that are compliant with reference software and can be packaged as a standalone AXI-Stream peripheral, allowing the forward and inverse NTT operations to be offloaded from software via DMA transfers.
-
Reported throughput is near one cycle per butterfly for the single-butterfly design and near half a cycle per butterfly for the dual-butterfly design.
Experimental results show that the proposed PTM-based NTT designs achieve near one-cycle-per-butterfly and half-cycle-per-butterfly performance for the single- and dual-butterfly configurations, respectively.
-
FPGA resource use is said to be comparable to state-of-the-art compact NTT designs using mixed SPRAM/DPRAM or SPRAM-only with coefficient reordering.
At the same time, it maintains FPGA resource utilization comparable to state-of-the-art compact NTT implementations relying on mixed SPRAM/DPRAM architectures or SPRAM-only designs requiring coefficient reordering.
Numbers (as extracted, not quote-checked)
- Single-butterfly NTT throughput: near 1 cycle per butterfly
- Dual-butterfly NTT throughput: near 0.5 cycle per butterfly
For builders
If you build PQ signature hardware for a chain node or HSM-like signer, the SPRAM-only NTT addressing scheme is a practical option for ML-DSA acceleration with smaller memory footprint.
Limits
Abstract only was available; the FPGA resource numbers and the comparison baselines are not given here, and the work covers only ML-DSA NTT hardware, not chain design.