Netinfo Security ›› 2019, Vol. 19 ›› Issue (6): 76-83.doi: 10.3969/j.issn.1671-1122.2019.06.010

Previous Articles     Next Articles

Debug and Analysis of Fully Homomorphic Encryption Library Based on GPU

Wenchao LIU1, Feng PAN1(), Xiaoyuan YANG1,2, Tanping ZHOU1,2   

  1. 1. School of Cryptographic Engineering, Engineering University of the Chinese People’s Armed Police, Xi’an Shaanxi 710086, China
    2. Key Laboratory of Network and Information Security of the Chinese People’s Armed Police, Xi’an Shaanxi 710086, China
  • Received:2018-12-05 Online:2019-06-10 Published:2020-05-11

Abstract:

Fully homomorphic encryption can solve the privacy protection problem in cloud computing well, but the low efficiency is still the bottleneck of the practical application of full homomorphic encryption. There are a large number of independent matrix and vector operations in the lattice-based homomorphic encryption scheme and GPU is suitable for processing large number of independent data operations, which can greatly improve the homomorphic operation efficiency of the homomorphic encryption scheme. This paper analyzes the structure of the homomorphic encryption algorithm, verifies the reliability of the homomorphic encryption software library and analysis of noise changes and correctness of different parameters during the bootstrap process. The homomorphic encryption software library TFHE and its corresponding GPU version cuFHE was debugged and analyzed separately. The experimental results show that the GPU version of the TFHE operation speed is 4.5 times that of the CPU version TFHE. The GPU can greatly improve the homomorphic running speed of the homomorphic encryption scheme.

Key words: fully homomorphic encryption, TFHEW, GPU, code library debugging

CLC Number: