Skip to main content

MKF: A Software-Hardware Co-Design for Efficient Multi-Key Fully Homomorphic Encryption

By
Chuanxin Zhang; Xiaojie Zhu; Chi Chen

Multi-Key Fully Homomorphic Encryption (MKFHE) allows computations on encrypted data from multiple parties, facilitating secure data processing in distributed environments. However, the current state-of-the-art (SOTA) KKLSS scheme (Kim et al., CCS 2023) still incurs significant computational overhead compared with traditional single-key Fully Homomorphic Encryption (FHE). We propose MKF, a software–hardware co-design for MKFHE that jointly optimizes the MKFHE algorithm and the accelerator architecture. On the software side, MKF reformulates multi-key multiplication by folding ciphertext components into an aggregate-secret domain before multiplication and replacing the party-specific nested external products of KKLSS with a single aggregate-relinearization step. Furthermore, MKF computes each ciphertext decomposition once and reuses it across multiple external products within the same online evaluation, reducing repeated decomposition and intermediate-memory traffic. On the hardware side, MKF employs an improved FPGA architecture that delivers high throughput for MK-CKKS and MK-BFV. We benchmarked our approach against an FPGA implementation of the SOTA KKLSS scheme, and the experimental results demonstrate that our MKFHE design achieves up to $2.37\times $ speedup over KKLSS on the same FPGA. Furthermore, relative to the single-threaded KKLSS CPU baseline, the MKF FPGA implementation achieves cross-platform speedups of up to $1350\times $ over the single-threaded KKLSS CPU baseline. Finally, for encrypted CNN inference, the MKF FPGA implementation achieves a combined speedup of up to $2017\times $ over the single-threaded KKLSS CPU baseline. Our source code is available at https://github.com/ZhangChuanxin1/MKF

Read on IEEE Xplore