Accelerating Fully Homomorphic Encryption by Bridging Modular and Bit-Level Arithmetic

Eduardo Chielle, Oleg Mazonka, Homer Gamil, Michail Maniatakos
4/26/2022
cs.CR

Official code: momalab/e3 (98 stars, Pascal, GPL-3.0, last commit 2023-03-03).

Abstract

The dramatic increase of data breaches in modern computing platforms has emphasized that access control is not sufficient to protect sensitive user data. Recent advances in cryptography allow end-to-end processing of encrypted data without the need for decryption using Fully Homomorphic Encryption (FHE).

Show full abstract

Such computation however, is still orders of magnitude slower than direct (unencrypted) computation. Depending on the underlying cryptographic scheme, FHE schemes can work natively either at bit-level using Boolean circuits, or over integers using modular arithmetic. Operations on integers are limited to addition/subtraction and multiplication. On the other hand, bit-level arithmetic is much more comprehensive allowing more operations, such as comparison and division. While modular arithmetic can emulate bit-level computation, there is a significant cost in performance. In this work, we propose a novel method, dubbed bridging, that blends faster and restricted modular computation with slower and comprehensive bit-level computation, making them both usable within the same application and with the same cryptographic scheme instantiation. We introduce and open source C++ types representing the two distinct arithmetic modes, offering the possibility to convert from one to the other. Experimental results show that bridging modular and bit-level arithmetic computation can lead to 1-2 orders of magnitude performance improvement for tested synthetic benchmarks, as well as one real-world FHE application: a genotype imputation case study.

View on arXivView PDF

Code Implementations(1)

momalab/e3Official100%
GPL-3.0

E3: Encrypt-Everything-Everywhere framework for compiling C++ programs with encrypted operands.

9821Pascal, NASLOct 4, 20183 years agoGPL-3.0

Similar Papers

Cite this paper

@article{chielle2022accelerating,
  title  = {Accelerating Fully Homomorphic Encryption by Bridging Modular and Bit-Level Arithmetic},
  author = {Eduardo Chielle and Oleg Mazonka and Homer Gamil and Michail Maniatakos},
  year   = {2022},
  eprint = {2204.12201},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.12201}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.12201.svg)](https://codeofpaper.com/paper/2204.12201)

Discussion