Paper 2024/1890

Efficient Modular Multiplication Hardware for Number Theoretic Transform on FPGA

Tolun Tosun, Sabanci University
Selim Kırbıyık, Sabanci University
Emre Koçer, Sabanci University
Erkay Savaş, Sabanci University
Ersin Alaybeyoğlu, Sabanci University
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 [1] and K2RED [2]. 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 K2RED and naive Montgomery reduction [3], referred to as K2RED-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, K2RED-Shift and Montgomery-Shift offer DSP-free alternatives, which can be beneficial in specific scenarios

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
erkays @ sabanciuniv edu
ersin alaybeyoglu @ sabanciuniv edu
History
2024-11-22: approved
2024-11-20: received
See all versions
Short URL
https://ia.cr/2024/1890
License
Creative Commons Attribution
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}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.