Paper 2024/1629

Efficient Key-Switching for Word-Type FHE and GPU Acceleration

Shutong Jin, City University of Hong Kong
Zhen Gu, Alibaba Group (China)
Guangyan Li, City University of Hong Kong
Donglong Chen, BNU-HKBU United International College
Çetin Kaya Koç, University of California, Santa Barbara, Igˇdır University, Nanjing University of Aeronautics and Astronautics
Ray C. C. Cheung, City University of Hong Kong
Wangchen Dai, Sun Yat-sen University
Abstract

Speed efficiency, memory optimization, and quantum resistance are essential for safeguarding the performance and security of cloud computing environments. Fully Homomorphic Encryption (FHE) addresses this need by enabling computations on encrypted data without requiring decryption, thereby maintaining data privacy. Additionally, lattice-based FHE is quantum secure, providing defense against potential quantum computer attacks. However, the performance of current FHE schemes remains unsatisfactory, largely because of the length of the operands and the computational expense associated with several resource-intensive operations. Among these operations, key-switching is one of the most demanding processes because it involves complex arithmetic operations necessary to conduct computations in a larger cyclotomic ring. In this research, we introduce a novel algorithm that achieves linear complexity in the Number Theoretic Transform (NTT) for key-switching. This algorithm offers efficiency comparable to the state-of-the-art while being significantly simpler and consumes less GPU memory. Notably, it reduces space consumption by up to 95\%, making it highly friendly for GPU memory. By optimizing GPU performance, our implementation achieves up to a 2.0$\times$ speedup compared to both the baseline approach and the current state-of-the-art methods. This algorithm effectively balances simplicity and performance, thereby enhancing cryptographic computations on modern hardware platforms and paving the way to more practical and efficient FHE implementations in cloud computing environments.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
Key-SwitchingFHEGPU implementationBFVBGVCKKS
Contact author(s)
shutong jin @ my cityu edu hk
guangyali5-c @ my cityu edu hk
donglongchen @ uic edu cn
cetinkoc @ ucsb edu
r cheung @ cityu edu hk
daiwch @ mail sysu edu cn
History
2024-10-14: approved
2024-10-11: received
See all versions
Short URL
https://ia.cr/2024/1629
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/1629,
      author = {Shutong Jin and Zhen Gu and Guangyan Li and Donglong Chen and Çetin Kaya Koç and Ray C. C. Cheung and Wangchen Dai},
      title = {Efficient Key-Switching for Word-Type {FHE} and {GPU} Acceleration},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1629},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1629}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.