Paper 2024/314

Exploring the Advantages and Challenges of Fermat NTT in FHE Acceleration

Andrey Kim, Samsung Advanced Institute of Technology, Suwon, Republic of Korea
Ahmet Can Mert, Graz University of Technology, Graz, Austria
Anisha Mukherjee, Graz University of Technology, Graz, Austria
Aikata Aikata, Graz University of Technology, Graz, Austria
Maxim Deryabin, Samsung Advanced Institute of Technology, Suwon, Republic of Korea
Sunmin Kwon, Samsung Advanced Institute of Technology, Suwon, Republic of Korea
HyungChul Kang, Samsung Advanced Institute of Technology, Suwon, Republic of Korea
Sujoy Sinha Roy, Graz University of Technology, Graz, Austria
Abstract

Recognizing the importance of a fast and resource-efficient polynomial multiplication in homomorphic encryption, in this paper, we design a multiplier-less number theoretic transform using a Fermat number as an auxiliary modulus. To make this algorithm scalable with the degree of polynomial, we apply a univariate to multivariate polynomial ring transformation. We develop an accelerator architecture for fully homomorphic encryption using these algorithmic techniques for efficient multivariate polynomial multiplication. For practical homomorphic encryption application benchmarks, the hardware accelerator achieves a 1,200$\times$ speed-up compared to software implementations. Finally, we conclude the paper by discussing the advantages and limitations of the proposed polynomial multiplication method.

Note: Accepted at CRYPTO 2024

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Published elsewhere. Minor revision. crypto 2024
Keywords
Fermat numberNTTPolynomial MultiplierFHEHardware Accelerator
Contact author(s)
andrey kim @ samsung com
ahmet mert @ iaik tugraz at
anisha mukherjee @ iaik tugraz at
aikata @ iaik tugraz at
max deriabin @ samsung com
sunmin7 kwon @ samsung com
hc1803 kang @ samsung com
sujoy sinharoy @ iaik tugraz at
History
2024-06-04: last of 2 revisions
2024-02-23: received
See all versions
Short URL
https://ia.cr/2024/314
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/314,
      author = {Andrey Kim and Ahmet Can Mert and Anisha Mukherjee and Aikata Aikata and Maxim Deryabin and Sunmin Kwon and HyungChul Kang and Sujoy Sinha Roy},
      title = {Exploring the Advantages and Challenges of Fermat {NTT} in {FHE} Acceleration},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/314},
      year = {2024},
      url = {https://eprint.iacr.org/2024/314}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.