Paper 2024/1889

IO-Optimized Design-Time Configurable Negacyclic Seven-Step NTT Architecture for FHE Applications

Emre Koçer, Sabancı University
Selim Kırbıyık, Sabancı University
Tolun Tosun, Sabancı University
Ersin Alaybeyoğlu, Sabancı University
Erkay Savaş, Sabancı University
Abstract

FHE enables computations on encrypted data, proving itself to be an essential building block for privacy-preserving applications. However, it involves computationally demanding operations such as polynomial multiplication, with the NTT being the state-of-the-art solution to perform it. Considering that most FHE schemes operate over the negacyclic ring of polynomials, we introduce a novel formulation of the hierarchical Four-Step NTT approach for the negacyclic ring, eliminating the need for pre- and post-processing steps found in the existing methods. To accelerate NTT operations, the FPGA devices offer flexible and powerful computing platforms. We propose an FPGA-based, high-speed, parametric and fully pipelined architecture that implements the improved Seven-Step NTT algorithm, which builds upon the four-step algorithm. Our design supports a wide range of parameters, including ring sizes up to $2^{16}$ and modulus sizes up to $64$-bit. We focus on achieving configurable throughput, as constrained by the bandwidth of HBM, which is a additional in-package memory common in high-end FGPA devices such as Alveo U280. We aim to maximize throughput through an IO parametric design on the Alveo U280 FPGA. The implementation results demonstrate that the average latency of our design for batch NTT operation is $\mathbf{8.32}\mu s$ for the ring size $2^{16}$ and $64$-bit width; a speed-up of $\mathbf{7.96}\times$ compared to the current state-of-the-art designs.

Metadata
Available format(s)
PDF
Publication info
Preprint.
Keywords
hardwareFPGAaccelerationhomomorphic encryption
Contact author(s)
kocer @ sabanciuniv edu
selim kirbiyik @ sabanciuniv edu
toluntosun @ sabanciuniv edu
ersin alaybeyoglu @ sabanciuniv edu
erkays @ sabanciuniv edu
History
2025-03-07: last of 2 revisions
2024-11-20: received
See all versions
Short URL
https://ia.cr/2024/1889
License
Creative Commons Attribution-NonCommercial-NoDerivs
CC BY-NC-ND

BibTeX

@misc{cryptoeprint:2024/1889,
      author = {Emre Koçer and Selim Kırbıyık and Tolun Tosun and Ersin Alaybeyoğlu and Erkay Savaş},
      title = {{IO}-Optimized Design-Time Configurable Negacyclic Seven-Step {NTT} Architecture for {FHE} Applications},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1889},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1889}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.