Paper 2024/1629 Original: eprint.iacr.org/2024/1629 ↗

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

Shutong Jin
Zhen Gu
Guangyan Li
Donglong Chen
Çetin Kaya Koç
Ray C. C. Cheung
Wangchen Dai
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.
History
2024-10-11: last updated
2024-10-11: published
Short URL
https://ia.cr/2024/1629
License
https://creativecommons.org/licenses/by/4.0/

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, this archive does not use cookies or embedded third party content.