Accelerating Homomorphic Full Adder Based on FHEW Using Multicore CPU and GPUs
Authors:
- 1 August 2019
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 2508-2513
Abstract
The latest implementation of the fully homomorphic encryption algorithm FHEW, FHEW-V2, takes about 0.12 seconds for a bootstrapping on a single-node computer. It seems much faster than the previous implementations. However, a 30-bit homomorphic full adder requires 270 times of bootstrapping, plus the time spent on key generation, the total elapsed time will be 55 seconds, which is unacceptable. In this paper, we reveal how to improve further the performance of FHEW-V2 by specifically focusing on the optimization of a homomorphic full adder. We strive to tackle the inefficiency in FHEW-V2 by massive efforts: first, we explore the reference codes for FHEW-V2 and find out hotspot codes for performance optimization; second, we leverage the computing power of multicore CPU and GPUs to remove the hotspots to improve performance. The empirical results so far show that a 30-bit homomorphic full adder is completed in 24 seconds after optimization, gaining an overall speedup of 2.2845. The 2.2845 speedup is the integration of a 13.248 speedup for the key generation and a 1.672 speedup for the bootstrapping.Keywords
This publication has 13 references indexed in Scilit:
- Blend Arithmetic Operations on Tensor-Based Fully Homomorphic Encryption Over Real NumbersIEEE Transactions on Industrial Informatics, 2017
- Mutual Privacy Preserving $k$ -Means Clustering in Social Participatory SensingIEEE Transactions on Industrial Informatics, 2017
- Faster Fully Homomorphic Encryption: Bootstrapping in Less Than 0.1 Seconds2016
- Accelerating bootstrapping in FHEW using GPUs2015
- FHEW: Bootstrapping Homomorphic Encryption in Less Than a Second2015
- Algorithms in HElib2014
- Fully Homomorphic Encryption from Ring-LWE and Security for Key Dependent Messages2011
- Fully Homomorphic Encryption over the Integers2010
- Fully homomorphic encryption using ideal lattices2009
- Performance analysis of low-power 1-bit CMOS full adder cellsIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2002