CPU and GPU Accelerated Fully Homomorphic Encryption
Preprint
Abstract
Fully Homomorphic Encryption (FHE) is one of the most promising technologies for privacy protection as it allows an arbitrary number of function computations over encrypted data. However, the computational cost of these FHE systems limits their widespread applications. In this paper, our objective is to improve the performance of FHE schemes by designing efficient parallel frameworks. In particular, we choose Torus Fully Homomorphic Encryption (TFHE) as it offers exact results for an infinite number of boolean gate (e.g., AND, XOR) evaluations. We first extend the gate operations to algebraic circuits such as addition, multiplication, and their vector and matrix equivalents. Secondly, we consider the multi-core CPUs to improve the efficiency of both the gate and the arithmetic operations. Finally, we port the TFHE to the Graphics Processing Units (GPU) and device novel optimizations for boolean and arithmetic circuits employing the multitude of cores. We also experimentally analyze both the CPU and GPU parallel frameworks for different numeric representations (16 to 32-bit). Our GPU implementation outperforms the existing technique, and it achieves a speedup of 20x for any 32-bit boolean operation and 14.5x for multiplications.Keywords
All Related Versions
This publication has 13 references indexed in Scilit:
- A privacy-preserving distributed filtering framework for NLP artifactsBMC Medical Informatics and Decision Making, 2019
- Accelerating Homomorphic Full Adder Based on FHEW Using Multicore CPU and GPUs2019
- TFHE: Fast Fully Homomorphic Encryption Over the TorusJournal of Cryptology, 2019
- Faster Bootstrapping With Multiple AddendsIEEE Access, 2018
- FHEW: Bootstrapping Homomorphic Encryption in Less Than a Second2015
- (Leveled) Fully Homomorphic Encryption without BootstrappingACM Transactions on Computation Theory, 2014
- Efficient Fully Homomorphic Encryption from (Standard) $\mathsf{LWE}$SIAM Journal on Computing, 2014
- On lattices, learning with errors, random linear codes, and cryptographyJournal of the ACM, 2009
- Fully homomorphic encryption using ideal lattices2009
- A method for obtaining digital signatures and public-key cryptosystemsCommunications of the ACM, 1978