An FPGA-based Key-Switching Accelerator with Ultra-High Throughput for FHE
Fully Homomorphic Encryption (FHE) enables computations directly on encrypted numbers, thereby preserving the privacy of sensitive information even in untrusted environments. However, the substantial computational overhead associated with homomorphic evaluations restricts the practical application of FHE schemes. To deal with the performance challenges, this paper proposes a hardware/software pipeline framework with a three-level cache architecture to accelerate the costly Key-Switching operation in FHE. This framework supports the dynamically reconfigurable processing mode, two parallelism strategies, and flexible control flow, effectively breaking the compute-bound and the memory-bound limitations. A no-stall and conflict-free memory mapping algorithm is implemented on the Xilinx U55C FPGA platform that boosts the throughput of ciphertext-ciphertext multiplication to 395 operations per second, which 1.4× and 2.5× speeds up the FPGA-based (HPCA'23) and GPU-based (HPCA'23) schemes with the same parameter set and precision.
Authors
- Peng Xu (ORCID: https://orcid.org/0000-0003-4268-4976)
- Gang Qu (ORCID: https://orcid.org/0000-0001-6759-8949)
- Zhaojun Lu (ORCID: https://orcid.org/0000-0002-5467-6597)
- Yijie Wang (ORCID: https://orcid.org/0009-0006-5827-1104)
- Qidong Chen (ORCID: https://orcid.org/0009-0008-4076-5821)
- Y. Richard Yang (ORCID: https://orcid.org/0009-0009-8358-4702)
- Weizong Yu (ORCID: https://orcid.org/0009-0008-8086-8497)
Institutions
- Jinyintan Hospital (CN)
- Huazhong University of Science and Technology (CN)
- University of Maryland, College Park (US)
Publication Details
- Published
- 2024-10-27
- DOI
- https://doi.org/10.1145/3676536.3676698
- Citations
- 1
- Primary Topic
- Cryptographic Implementations and Security
- Type
- article
- Field-Weighted Citation Impact
- 0.35
Funders
- National Natural Science Foundation of China
- National Key Research and Development Program of China