Paper 2024/1890
Optimized FPGA Architecture for Modular Reduction in NTT
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 [20] and K2 RED [4]. 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-l 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 [21], 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 highl 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: Second revision by authors. This version updates the title from the earlier version "Efficient Modular Multiplication Hardware for Number Theoretic Transform on FPGA".
Metadata
- Available format(s)
-
PDF
- Category
- Implementation
- Publication info
- Preprint.
- Keywords
- Modular ReductionFPGAMontgomeryK2REDDSPFHENTT
- Contact author(s)
-
toluntosun @ sabanciuniv edu
selimkirbiyik @ sabanciuniv edu
kocer @ sabanciuniv edu
ersin alaybeyoglu @ sabanciuniv edu - History
- 2025-08-22: last of 4 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 Ersin Alaybeyoğlu},
title = {Optimized {FPGA} Architecture for Modular Reduction in {NTT}},
howpublished = {Cryptology {ePrint} Archive, Paper 2024/1890},
year = {2024},
url = {https://eprint.iacr.org/2024/1890}
}