Paper 2024/217

Hardware Acceleration of the Prime-Factor and Rader NTT for BGV Fully Homomorphic Encryption

David Du Pont, KU Leuven
Jonas Bertels, KU Leuven
Furkan Turan, KU Leuven
Michiel Van Beirendonck, KU Leuven
Ingrid Verbauwhede, KU Leuven
Abstract

Fully Homomorphic Encryption (FHE) enables computation on encrypted data, holding immense potential for enhancing data privacy and security in various applications. Presently, FHE adoption is hindered by slow computation times, caused by data being encrypted into large polynomials. Optimized FHE libraries and hardware acceleration are emerging to tackle this performance bottleneck. Often, these libraries implement the Number Theoretic Transform (NTT) algorithm for efficient polynomial multiplication. Existing implementations mostly focus on the case where the polynomials are defined over a power-of-two cyclotomic ring, allowing to make use of the simpler Cooley-Tukey NTT. However, generalized cyclotomics have several benefits in the BGV FHE scheme, including more SIMD plaintext slots and a simpler bootstrapping algorithm. We present a hardware architecture for the NTT targeting generalized cyclotomics within the context of the BGV FHE scheme. We explore different non-power-of-two NTT algorithms, including the Prime-Factor, Rader, and Bluestein NTTs. Our most efficient architecture targets the 21845-th cyclotomic polynomial --- a practical parameter for BGV --- with ideal properties for use with a combination of the Prime-Factor and Rader algorithms. The design achieves high throughput with optimized resource utilization, by leveraging parallel processing, pipelining, and reusing processing elements. Compared to Wu et al.'s VLSI architecture of the Bluestein NTT, our approach showcases 2$\times$ to 5$\times$ improved throughput and area efficiency. Simulation and implementation results on an AMD Alveo U250 FPGA demonstrate the feasibility of the proposed hardware design for FHE.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
FHEBGVHardware AcceleratorNTTRader's FFTPrime-Factor FFTBluestein's FFT
Contact author(s)
david du pont @ outlook com
jonas bertels @ esat kuleuven be
furkan turan @ esat kuleuven be
michiel vanbeirendonck @ esat kuleuven be
ingrid verbauwhede @ esat kuleuven be
History
2024-02-16: approved
2024-02-12: received
See all versions
Short URL
https://ia.cr/2024/217
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/217,
      author = {David Du Pont and Jonas Bertels and Furkan Turan and Michiel Van Beirendonck and Ingrid Verbauwhede},
      title = {Hardware Acceleration of the Prime-Factor and Rader NTT for BGV Fully Homomorphic Encryption},
      howpublished = {Cryptology ePrint Archive, Paper 2024/217},
      year = {2024},
      note = {\url{https://eprint.iacr.org/2024/217}},
      url = {https://eprint.iacr.org/2024/217}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.