Paper 2025/1407 Original: eprint.iacr.org/2025/1407 ↗

A Flexible Hardware Design Tool for Fast Fourier and Number-Theoretic Transformation Architectures

Florian Krieger
Florian Hirner
Ahmet Can Mert
Sujoy Sinha Roy
Abstract

Fully Homomorphic Encryption (FHE) and Post-Quantum Cryptography (PQC) involve polynomial multiplications, which are a common performance bottleneck. To resolve this bottleneck, polynomial multiplications are often accelerated in hardware using the Number-Theoretic Transformation (NTT) or the Fast Fourier Transformation (FFT). In particular, NTT operates over modular rings while FFT operates over complex numbers. NTT and FFT are widely deployed in applications with diverse parameter sets, leading to long design times for hardware accelerators. Existing hardware generation tools have limited functionality since they do not support generic on-the-fly twiddle factor generation or different memory-related optimizations. This paper improves the hardware design process and presents a generic and flexible tool to generate FFT and NTT architectures. In contrast to prior work, we combine on-the-fly twiddle factor generation and stall-free memory accesses. Moreover, we enhance hardware design flexibility through memory-optimized or routing-optimized design strategies. While our memory-optimized strategy minimizes twiddle factors in ROM, our routing-optimized strategy allows significantly higher clock frequencies on FPGAs. These optimization strategies allow effective customization of NTT/FFT architectures, spanning from low-end PQC to high-end FHE accelerators. Compared to existing works, we reach up to 15.9x lower latency and up to 7.4x improved ATP for FFT applications such as the Falcon signature scheme. Considering other NTT tools, we decrease latency by up to 1.8x and 2x for PQC and FHE parameter sets, respectively.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
History
2025-08-02: last updated
2025-08-02: published
Short URL
https://ia.cr/2025/1407
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2025/1407,
      author = {Florian Krieger and Florian Hirner and Ahmet Can Mert and Sujoy Sinha Roy},
      title = {A Flexible Hardware Design Tool for Fast Fourier and Number-Theoretic Transformation Architectures},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1407},
      year = {2025},
      url = {https://eprint.iacr.org/2025/1407}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.