Paper 2024/1889

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

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

FHE enables computations on encrypted data, making it essential for privacy-preserving applications. However, it involves computationally demanding tasks, such as polynomial multiplication, while NTT is the state-of-the-art solution to perform this task. 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 FPGAs offer flexible and powerful computing platforms. We propose an FPGA-based, parametric and fully pipelined architecture that implements the improved Seven-Step NTT algorithm (which builds upon the four-step). 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 bandwidth, and aim to maximize throughput through an IO parametric design on the Alveo U280 FPGA. The implementation results demonstrate a reduction in the area-time-product by $2.08\times$ and a speed-up of $10.32\times$ for a ring size of $2^{16}$ and a 32-bit width 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
toluntoun @ sabanciuniv edu
ersin alaybeyoglu @ sabanciuniv edu
erkays @ sabanciuniv edu
History
2024-11-22: approved
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 KIrbı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.