Paper 2024/1890
Efficient Modular Multiplication Hardware for Number Theoretic Transform on FPGA
Abstract
In this paper, we present a comprehensive analysis of various modular multiplication methods for Number Theoretic Transform (NTT) on FPGA. NTT is a critical and time-intensive component of Fully Homomorphic Encryption (FHE) applications while modular multiplication consumes a significant portion of the design resources in an NTT implementation. We study the existing modular reduction approaches from the literature, and implement particular methods on FPGA. Specifically Word-Level Montgomery (WLM) for NTT friendly primes [19] and K2 RED [3]. For improvements, we explore the trade-offs between the number of available primes in special forms and hardware cost of the reduction methods. We develop a DSP multiplication-optimized version of WLM, which we call WLM-Mixed. We also introduce a subclass of Proth primes, referred to as Proth-𝑙 primes, characterized by a low and fixed signed Hamming Weight. This special class of primes allows us to design multiplication-free shift-add versions of K2 RED and naive Montgomery reduction [20], referred to as K2 RED-Shift and Montgomery-Shift. We provide in-depth evaluations of these five reduction methods in an NTT architecture on FPGA. Our results indicate that WLM-Mixed is highly resource-efficient, utilizing only 3 DSP multiplications for 64-bit coefficient moduli. On the other hand, K2 RED-Shift and Montgomery-Shift offer DSP-free alternatives, which can be beneficial in specific scenarios.
Note: revision by authors
Metadata
- Available format(s)
- Category
- Implementation
- Publication info
- Preprint.
- Keywords
- Modular ReductionFPGAMontgomeryK2REDDSPFHENTT
- Contact author(s)
-
toluntosun @ sabanciuniv edu
selimkirbiyik @ sabanciuniv edu
kocer @ sabanciuniv edu
erkays @ sabanciuniv edu
ersin alaybeyoglu @ sabanciuniv edu - History
- 2024-11-29: last of 2 revisions
- 2024-11-20: received
- See all versions
- Short URL
- https://ia.cr/2024/1890
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2024/1890, author = {Tolun Tosun and Selim Kırbıyık and Emre Koçer and Erkay Savaş and Ersin Alaybeyoğlu}, title = {Efficient Modular Multiplication Hardware for Number Theoretic Transform on {FPGA}}, howpublished = {Cryptology {ePrint} Archive, Paper 2024/1890}, year = {2024}, url = {https://eprint.iacr.org/2024/1890} }