Paper 2022/067

Parallel Operations over TFHE-Encrypted Multi-Digit Integers

Jakub Klemsa and Melek Önen

Abstract

Recent advances in Fully Homomorphic Encryption (FHE) allow for a practical evaluation of non-trivial functions over encrypted data. In particular, novel approaches for combining ciphertexts broadened the scope of prospective applications. However, for arithmetic circuits, the overall complexity grows with the desired precision and there is only a limited space for parallelization. In this paper, we put forward several methods for fully parallel addition of multi-digit integers encrypted with the TFHE scheme. Since these methods handle integers in a special representation, we also revisit the signum function, firstly addressed by Bourse et al., and we propose a method for the maximum of two numbers; both with particular respect to parallelization. On top of that, we outline an approach for multiplication by a known integer. According to our experiments, the fastest approach for parallel addition of 31-bit encrypted integers in an idealized setting with 32 threads is estimated to be more than 6x faster than the fastest sequential approach. Finally, we demonstrate our algorithms on an evaluation of a practical neural network.

Note: Errata: corrected equation (16). Text description was correct, other stuff not affected.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Published elsewhere. Minor revision. Proceedings of the Twelveth ACM Conference on Data and Application Security and Privacy (CODASPY ’22)
DOI
10.1145/3508398.3511527
Keywords
fully homomorphic encryptionTFHE schemeparallelizationparallel addition
Contact author(s)
jakub klemsa @ gmail com
History
2022-02-23: revised
2022-01-18: received
See all versions
Short URL
https://ia.cr/2022/067
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2022/067,
      author = {Jakub Klemsa and Melek Önen},
      title = {Parallel Operations over {TFHE}-Encrypted Multi-Digit Integers},
      howpublished = {Cryptology {ePrint} Archive, Paper 2022/067},
      year = {2022},
      doi = {10.1145/3508398.3511527},
      url = {https://eprint.iacr.org/2022/067}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.