Cryptology ePrint Archive: Report 2020/1223

Algorithmic Acceleration of B/FV-like Somewhat Homomorphic Encryption for Compute-Enabled RAM

Jonathan Takeshita and Dayane Reis and Ting Gong and Michael Niemier and X. Sharon Hu and Taeho Jung

Abstract: Somewhat Homomorphic Encryption (SHE) allows arbitrary computation with nite multiplicative depths to be performed on encrypted data, but its overhead is high due to memory transfer incurred by large ciphertexts. Recent research has recognized the shortcomings of general-purpose computing for high-performance SHE, and has begun to pioneer the use of hardware-based SHE acceleration with hardware including FPGAs, GPUs, and Compute-Enabled RAM (CE-RAM). CERAM is well-suited for SHE, as it is not limited by the separation between memory and processing that bottlenecks other hardware. Further, CE-RAM does not move data between di erent processing elements. Recent research has shown the high e ectiveness of CE-RAM for SHE as compared to highly-optimized CPU and FPGA implementations. However, algorithmic optimization for the implementation on CE-RAM is underexplored. In this work, we examine the e ect of existing algorithmic optimizations upon a CE-RAM implementation of the B/FV scheme, and further introduce novel optimization techniques for the Full RNS Variant of B/FV. Our experiments show speedups of up to 784x for homomorphic multiplication, 143x for decryption, and 330x for encryption against a CPU implementation. We also compare our approach to similar work in CE-RAM, FPGA, and GPU acceleration, and note general improvement over existing work. In particular, for homomorphic multiplication we see speedups of 506.5x against CE-RAM, 66.85x against FPGA, and 30.8x against GPU as compared to existing work in hardware acceleration of B/FV.

Category / Keywords: implementation / Somewhat Homomorphic Encryption, B/FV scheme, Full RNS Variant, Compute-Enabled RAM

Original Publication (in the same form): Selected Areas in Cryptography (SAC) 2020

Date: received 4 Oct 2020

Contact author: tjung at nd edu

Available format(s): PDF | BibTeX Citation

Version: 20201006:095151 (All versions of this report)

Short URL: ia.cr/2020/1223


[ Cryptology ePrint archive ]