Exploring the Feasibility of Fully Homomorphic Encryption

被引:65
作者
Wang, Wei [1 ]
Hu, Yin [1 ]
Chen, Lianmu [1 ]
Huang, Xinming [1 ]
Sunar, Berk [1 ]
机构
[1] Worcester Polytech Inst, Worcester, MA 01609 USA
基金
美国国家科学基金会;
关键词
Fully homomorphic encryption; GPU; large-number multiplication; modular reduction; MULTIPLICATION; ALGORITHM;
D O I
10.1109/TC.2013.154
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In 2010, Gentry and Halevi presented the first FHE implementation. FHE allows the evaluation of arbitrary functions directly on encrypted data on untrusted servers. However, even for the small setting with 2048 dimensions, the authors reported a performance of 1.8 s for a single bit encryption and 32 s for recryption on a high-end server. Much of the latency is due to computationally intensive multimillion-bit modular multiplications. In this paper, we introduce two optimizations coupled with a novel precomputation technique. In the first optimization called partial FFT, we adopt Strassen's FFT-based multiplication algorithm along with Barret reduction to speedup modular multiplications. For the encrypt primitive, we employ a window-based evaluation technique along with a modest degree of precomputation. In the full FFT optimization, we delay modular reductions and change the window algorithm, which allows us to carry out the bulk of computations in the frequency domain. We manage to eliminate all FFT conversion except the final inverse transformation drastically reducing the computation latency for all FHE primitives. We implemented the GH FHE scheme on two GPUs to further speedup the operations. Our experimental results with small parameter setting show speedups of 174, 7.6, and 13.5 times for encryption, decryption, and recryption, respectively, when compared to the Gentry-Halevi implementation. The speedup is enhanced in the medium setting. However, in the large setting, memory becomes the bottleneck and the speedup is somewhat diminished.
引用
收藏
页码:698 / 706
页数:9
相关论文
共 23 条
[1]  
[Anonymous], 2012, 2012_IEEE_conference_on_high performance_extreme_computing, DOI [10.1109/HPEC.2012.6408660, DOI 10.1109/HPEC.2012.6408660, DOI 10.1109/PEAM.2012.6612493]
[2]   FFTS IN EXTERNAL OR HIERARCHICAL MEMORY [J].
BAILEY, DH .
PROCEEDINGS : SUPERCOMPUTING 89, 1989, :234-242
[3]  
BARRETT P, 1987, LECT NOTES COMPUT SC, V263, P311
[4]  
Bernstein DJ, 2009, LECT NOTES COMPUT SC, V5479, P483, DOI 10.1007/978-3-642-01001-9_28
[5]  
Cousins D.B., 2011, P HIGH PERF EXTR COM
[6]  
Daly A., 2002, FPGA 2002. Tenth ACM International Symposium on Field-Programmable Gate Arrays, P40, DOI 10.1145/503048.503055
[7]  
Emeliyanenko P, 2009, LECT NOTES COMPUT SC, V5737, P134, DOI 10.1007/978-3-642-03644-6_11
[8]   HIGH PRECISION INTEGER MULTIPLICATION WITH A GPU USING STRASSEN'S ALGORITHM WITH MULTIPLE FFT SIZES [J].
Emmart, Niall ;
Weems, Charles C. .
PARALLEL PROCESSING LETTERS, 2011, 21 (03) :359-375
[9]   HIGH PRECISION INTEGER ADDITION, SUBTRACTION AND MULTIPLICATION WITH A GRAPHICS PROCESSING UNIT [J].
Emmart, Niall ;
Weems, Charles .
PARALLEL PROCESSING LETTERS, 2010, 20 (04) :293-306
[10]  
Gentry C., 2009, A fully homomorphic encryption scheme