University of Toronto
Accelerating Secure Computations Under Fully Homomorphic Encryption
Abstract
dc:description.abstractFully homomorphic encryption (FHE) systems enable computations on encrypted data without decrypting and without knowledge of the secret key. In this thesis, we describe an optimized RLWE-based and NTRU-based variants of the FHE system recently proposed by Gentry, Sahai and Waters (GSW). Although the GSW system was widely believed to be less efficient than its contemporaries due to the dimensionality of its ciphertext, we demonstrate quite the opposite behavior. We first highlight and carefully exploit the algebraic features of the system to achieve significant speedup over the state-of-the-art FHE implementations, namely the IBM homomorphic encryption library (HElib) and DARPA's SIPHER implementation. We introduce several optimizations on top of our HE implementation, and use the resulting scheme to construct numerous secure applications. We introduce the first high performance Homomorphic Processing Unit (HPU) hardware accelerator. A carefully crafted parallel GPU implementation of our RLWE scheme running on an NVIDIA GeForce GTX980 achieved a speedup factor of 89,700x compared to DARPA's SIPHER v01 baseline implementation. Our single-staged homomorphic processing unit (HPU) hardware accelerator achieved a speedup factor of 57x compared to our GPU implementation. Our NTRU scheme is mathematically 4x more efficient than our RLWE scheme. In total, our NTRU scheme running on one single-staged HPU unit managed to achieve a combined speedup factor of 2x10^7 compared to DARPA's SIPHER v01 baseline implementation, which is twice the performance target originally set by DARPA's PROCEED program to accelerate fully homomorphic encryption. An additional 4.47x speedup can be achieved by implementing a log(n)-staged HPU unit at the cost of 3x the die area. Finally, by exploiting the computational independence in our FHE schemes and applications, a speedup factor of 10^9 can be achieved by distributing independent computations on 50 single-staged HPU units.
Degree
thesis:*- Department dc:contributor.department
- Electrical and Computer Engineering
- Year dc:date.issued
- 2017
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Khedr, Alhassan
- Advisor dc:contributor.advisor
-
- Gulak, Glenn
Subjects
dc:subject × 5Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/1807/98805