Paper 2018/589

Implementation and Performance Evaluation of RNS Variants of the BFV Homomorphic Encryption Scheme

Ahmad Al Badawi, Yuriy Polyakov, Khin Mi Mi Aung, Bharadwaj Veeravalli, and Kurt Rohloff

Abstract

Homomorphic encryption is an emerging form of encryption that provides the ability to compute on encrypted data without ever decrypting them. Potential applications include aggregating sensitive encrypted data on a cloud environment and computing on the data in the cloud without compromising data privacy. There have been several recent advances resulting in new homomorphic encryption schemes and optimized variants. We implement and evaluate the performance of two optimized variants, namely Bajard-Eynard-Hasan-Zucca (BEHZ) and Halevi-Polyakov-Shoup (HPS), of the most promising homomorphic encryption scheme in CPU and GPU. The most interesting (and also unexpected) result of our performance evaluation is that the HPS variant in practice scales significantly better (typically by 15%-30%) with increase in multiplicative depth of the computation circuit than BEHZ, implying that the HPS variant will always outperform BEHZ for most practical applications. For the multiplicative depth of 98, our fastest GPU implementation performs homomorphic multiplication in 51 ms for 128-bit security settings, which is faster by two orders of magnitude than prior results and already practical for cloud environments supporting GPU computations. Large multiplicative depths supported by our implementations are required for applications involving deep neural networks, logistic regression learning, and other important machine learning problems.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Published elsewhere. Minor revision. IEEE Transactions on Emerging Topics in Computing
DOI
10.1109/TETC.2019.2902799
Keywords
Lattice-Based CryptographyHomomorphic EncryptionScale-Invariant SchemeResidue Number SystemsSoftware Implementation
Contact author(s)
polyakov @ njit edu
History
2019-03-06: last of 3 revisions
2018-06-12: received
See all versions
Short URL
https://ia.cr/2018/589
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2018/589,
      author = {Ahmad Al Badawi and Yuriy Polyakov and Khin Mi Mi Aung and Bharadwaj Veeravalli and Kurt Rohloff},
      title = {Implementation and Performance Evaluation of {RNS} Variants of the {BFV} Homomorphic Encryption Scheme},
      howpublished = {Cryptology {ePrint} Archive, Paper 2018/589},
      year = {2018},
      doi = {10.1109/TETC.2019.2902799},
      url = {https://eprint.iacr.org/2018/589}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.