FHEmem: A Processing In-Memory Accelerator for Fully Homomorphic Encryption
- 17 January 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Emerging Topics in Computing
- Vol. 13 (4) , 1367-1382
Abstract
Fully Homomorphic Encryption (FHE) is a technique that allows arbitrary computations to be performed on encrypted data without the need for decryption, making it ideal for secure computation outsourcing. However, computation on FHE-encrypted data is significantly slower than that on plain data, primarily due to the explosive increases in data size and computation complexity after encryption. To enable real-world FHE applications, recent research has proposed several custom hardware accelerators that provide orders of magnitude speedup over conventional systems. However, the performance of existing FHE accelerators is severely bounded by memory bandwidth, even with expensive on-chip buffers. Processing In-Memory (PIM) is a promising technology that can accelerate data-intensive workloads with extensive internal bandwidth. Unfortunately, existing PIM accelerators cannot efficiently support FHE due to the limited throughput to support FHE's complex computing and data movement operations. To tackle such challenges, we propose FHEmem, an FHE accelerator using a novel PIM architecture for high- throughput FHE acceleration. Furthermore, we present an optimized end-to-end processing flow with an automated mapping framework to maximize the hardware utilization of FHEmem. Our evaluation shows that FHEmem achieves at least 4.0× speedup and 6.9× energy-delay-area efficiency improvement over state-of-the-art FHE accelerators on popular FHE applications.Keywords
All Related Versions
Funding Information
- PRISM and CoCoSys (JUMP 2.0)
- Defense Advanced Research Projects Agency
- SRC HWS
- NSF (2112167, 2112665, 2003279, 2120019, 2211386, 2052809, 1911095, 1826967, 2100237)
- Defense Advanced Research Projects Agency (HR0011-21-3-0003)
This publication has 37 references indexed in Scilit:
- NTT-PIM: Row-Centric Architecture and Mapping for Efficient Number-Theoretic Transform on PIM2023
- Cheetah: Optimizing and Accelerating Homomorphic Encryption for Private Inference2021
- CryptoPIM: In-memory Acceleration for Lattice-based Cryptographic Hardware2020
- Hardware Architecture of a Number Theoretic Transform for a Bootstrappable RNS-based Homomorphic Encryption Scheme2020
- Better Bootstrapping for Approximate Homomorphic Encryption2020
- TFHE: Fast Fully Homomorphic Encryption Over the TorusJournal of Cryptology, 2019
- Homomorphic Encryption for Arithmetic of Approximate Numbers2017
- Low-Cost Inter-Linked Subarrays (LISA): Enabling fast inter-subarray data movement in DRAM2016
- Implementing the Rivest Shamir and Adleman Public Key Encryption Algorithm on a Standard Digital Signal Processor2000
- Modular multiplication without trial divisionMathematics of Computation, 1985