Paper 2024/217 Original: eprint.iacr.org/2024/217 ↗

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

David Du Pont
Jonas Bertels
Furkan Turan
Michiel Van Beirendonck
Ingrid Verbauwhede
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.
History
2024-02-12: last updated
2024-02-12: published
Short URL
https://ia.cr/2024/217
License
https://creativecommons.org/licenses/by/4.0/

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},
      url = {https://eprint.iacr.org/2024/217}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.