Faster homomorphic comparison operations for BGV and BFV
Fully homomorphic encryption (FHE) allows to compute any function on encrypted values. However, in practice, there is no universal FHE scheme that is effi-cient 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 perform...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
Sciendo
2021-07-01
|
Series: | Proceedings on Privacy Enhancing Technologies |
Subjects: | |
Online Access: | https://doi.org/10.2478/popets-2021-0046 |
id |
doaj-5ecdd482d12440a58097f8ae62b30c77 |
---|---|
record_format |
Article |
spelling |
doaj-5ecdd482d12440a58097f8ae62b30c772021-09-05T14:01:11ZengSciendoProceedings on Privacy Enhancing Technologies2299-09842021-07-012021324626410.2478/popets-2021-0046Faster homomorphic comparison operations for BGV and BFVIliashenko Ilia0Zucca Vincent1imec-COSIC, KU LeuvenDALI, Université de Perpignan Via Domitia, Francee-mail: vincent.zucca@univ-perp.fr, LIRMM, Univ Montpellier, Montpellier, FranceFully homomorphic encryption (FHE) allows to compute any function on encrypted values. However, in practice, there is no universal FHE scheme that is effi-cient 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.https://doi.org/10.2478/popets-2021-0046secure computationfully homomorphic encryptioncomparison operationssortingarray minimum |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Iliashenko Ilia Zucca Vincent |
spellingShingle |
Iliashenko Ilia Zucca Vincent Faster homomorphic comparison operations for BGV and BFV Proceedings on Privacy Enhancing Technologies secure computation fully homomorphic encryption comparison operations sorting array minimum |
author_facet |
Iliashenko Ilia Zucca Vincent |
author_sort |
Iliashenko Ilia |
title |
Faster homomorphic comparison operations for BGV and BFV |
title_short |
Faster homomorphic comparison operations for BGV and BFV |
title_full |
Faster homomorphic comparison operations for BGV and BFV |
title_fullStr |
Faster homomorphic comparison operations for BGV and BFV |
title_full_unstemmed |
Faster homomorphic comparison operations for BGV and BFV |
title_sort |
faster homomorphic comparison operations for bgv and bfv |
publisher |
Sciendo |
series |
Proceedings on Privacy Enhancing Technologies |
issn |
2299-0984 |
publishDate |
2021-07-01 |
description |
Fully homomorphic encryption (FHE) allows to compute any function on encrypted values. However, in practice, there is no universal FHE scheme that is effi-cient 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. |
topic |
secure computation fully homomorphic encryption comparison operations sorting array minimum |
url |
https://doi.org/10.2478/popets-2021-0046 |
work_keys_str_mv |
AT iliashenkoilia fasterhomomorphiccomparisonoperationsforbgvandbfv AT zuccavincent fasterhomomorphiccomparisonoperationsforbgvandbfv |
_version_ |
1717810606377009152 |