GPU Acceleration for KLSS Key Switching in Fully Homomorphic Encryption
Fully Homomorphic Encryption (FHE) enables privacy-preserving computation but is hindered by high computational overhead, with the key-switching operation being a primary performance bottleneck. This paper introduces the first CUDA-optimized GPU implementation of the Kim, Lee, Seo, and Son (KLSS) key-switching algorithm for three leading FHE schemes: BGV, BFV, and CKKS. Our solution achieves significant performance gains, delivering speedups of up to 181× against the original CPU implementation. Furthermore, we analyze the critical trade-off between the key-switching techniques on GPUs, providing insights for the choice between single- and double-decomposition methods. Our work provides a high-performance tool and offers clear guidelines on the trade-off between latency and hardware memory constraints.
Authors
- Ray C. C. Cheung (ORCID: https://orcid.org/0000-0002-6764-0729)
- Sai Jin (ORCID: https://orcid.org/0000-0001-5491-5634)
Institutions
- City University of Hong Kong (HK)
Publication Details
- Journal
- Mathematics
- Published
- 2025-11-27
- DOI
- https://doi.org/10.3390/math13233809
- Primary Topic
- Cryptography and Data Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00