Paper 2021/315

Faster homomorphic comparison operations for BGV and BFV

Ilia Iliashenko
Vincent Zucca
Abstract

Fully homomorphic encryption (FHE) allows to compute any function on encrypted values. However, in practice, there is no universal FHE scheme that is efficient in all possible use cases. In this work, we show that FHE schemes suitable for arithmetic circuits (e.g. BGV or BFV) have a similar performance as FHE schemes for non-arithmetic circuits (TFHE) in basic comparison tasks such as less-than, maximum and minimum operations. Our implementation of the less-than function in the HElib library is up to 3 times faster than the prior work based on BGV/BFV. It allows to compare a pair of 64-bit integers in 11 milliseconds, sort 64 32-bit integers in 19 seconds and find the minimum of 64 32-bit integers in 9.5 seconds on an average laptop without multi-threading.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2021/315,
      author = {Ilia Iliashenko and Vincent Zucca},
      title = {Faster homomorphic comparison operations for BGV and BFV},
      howpublished = {Cryptology {ePrint} Archive, Paper 2021/315},
      year = {2021},
      url = {https://eprint.iacr.org/2021/315}
}
Category
Cryptographic protocols
License
CC BY
Submitted
Updated
Versions

Report a problem

Comments

Log in or create an account

Privacy