Improved Integer-wise Homomorphic Comparison and Division based on Polynomial Evaluation

Koki Morimura, Daisuke Maeda, T. Nishide
{"title":"Improved Integer-wise Homomorphic Comparison and Division based on Polynomial Evaluation","authors":"Koki Morimura, Daisuke Maeda, T. Nishide","doi":"10.1145/3538969.3538988","DOIUrl":null,"url":null,"abstract":"Fully homomorphic encryption (FHE) is a promising tool for privacy-preserving applications, and it enables us to perform homomorphic addition and multiplication on FHE ciphertexts without decrypting them. FHE has two types: one supporting the exact computation and the other supporting the approximate computation. Further the FHE schemes supporting the exact computation have two types, bit-wise FHE, which encrypts a plaintext bit by bit, and integer-wise FHE, which encrypts a plaintext as an integer. Both types of FHE are important depending on the types of computation we need to execute securely. In this work, we focus on integer-wise FHE, and propose improved methods for integer-wise homomorphic comparison and division operations. For a comparison operation, we propose a method that halves the number of necessary homomorphic multiplications by introducing an odd function as an interpolated polynomial to be evaluated, as opposed to the previous work of Narumanchi et al. (AINA ’17). For a division operation, as opposed to the previous work of Okada et al. (WISTP ’18), we propose a simple method to reduce the processing time by introducing an equality function based on Fermat’s little theorem without changing the multiplicative depth, and show the analysis of why this approach can achieve better efficiency in detail. In our homomorphic division, the number of interpolated polynomials is reduced by half, thus also achieving the reduction of the processing time of precomputations and the number of polynomials to be stored. We also implement our improved methods in HElib, which is one of popular FHE libraries using the BGV encryption. As a result, we show that, e.g., in the plaintext space , our homomorphic comparison with the Paterson-Stockmeyer method is faster by a factor of about 5.61 compared with Narumanchi et al. (AINA ’17) and our homomorphic division is faster by a factor of about 1.45 compared with Okada et al. (WISTP ’18).","PeriodicalId":306813,"journal":{"name":"Proceedings of the 17th International Conference on Availability, Reliability and Security","volume":"513 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 17th International Conference on Availability, Reliability and Security","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3538969.3538988","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Fully homomorphic encryption (FHE) is a promising tool for privacy-preserving applications, and it enables us to perform homomorphic addition and multiplication on FHE ciphertexts without decrypting them. FHE has two types: one supporting the exact computation and the other supporting the approximate computation. Further the FHE schemes supporting the exact computation have two types, bit-wise FHE, which encrypts a plaintext bit by bit, and integer-wise FHE, which encrypts a plaintext as an integer. Both types of FHE are important depending on the types of computation we need to execute securely. In this work, we focus on integer-wise FHE, and propose improved methods for integer-wise homomorphic comparison and division operations. For a comparison operation, we propose a method that halves the number of necessary homomorphic multiplications by introducing an odd function as an interpolated polynomial to be evaluated, as opposed to the previous work of Narumanchi et al. (AINA ’17). For a division operation, as opposed to the previous work of Okada et al. (WISTP ’18), we propose a simple method to reduce the processing time by introducing an equality function based on Fermat’s little theorem without changing the multiplicative depth, and show the analysis of why this approach can achieve better efficiency in detail. In our homomorphic division, the number of interpolated polynomials is reduced by half, thus also achieving the reduction of the processing time of precomputations and the number of polynomials to be stored. We also implement our improved methods in HElib, which is one of popular FHE libraries using the BGV encryption. As a result, we show that, e.g., in the plaintext space , our homomorphic comparison with the Paterson-Stockmeyer method is faster by a factor of about 5.61 compared with Narumanchi et al. (AINA ’17) and our homomorphic division is faster by a factor of about 1.45 compared with Okada et al. (WISTP ’18).
基于多项式求值的改进整数同态比较与除法
完全同态加密(FHE)是一种很有前途的隐私保护工具,它使我们能够在不解密的情况下对FHE密文进行同态加法和乘法运算。FHE有两种类型:一种支持精确计算,另一种支持近似计算。此外,支持精确计算的FHE方案有两种类型,一种是逐位FHE,它对明文进行逐位加密,另一种是整型FHE,它将明文加密为整数。这两种类型的FHE都很重要,这取决于我们需要安全执行的计算类型。在这项工作中,我们重点研究了整数方向的FHE,并提出了整数方向同态比较和除法运算的改进方法。对于比较运算,我们提出了一种方法,通过引入一个奇函数作为待求内插多项式,将必要的同态乘法的数量减半,这与Narumanchi等人(AINA ' 17)之前的工作相反。对于除法运算,与Okada等人(WISTP’18)之前的工作相反,我们提出了一种简单的方法,在不改变乘法深度的情况下,通过引入基于费马小定理的等式函数来减少处理时间,并详细分析了为什么这种方法可以获得更好的效率。在我们的同态除法中,内插多项式的数量减少了一半,从而也实现了预计算处理时间的减少和需要存储的多项式数量的减少。我们还在HElib中实现了改进的方法,HElib是使用BGV加密的流行的FHE库之一。因此,我们表明,例如在纯文本空间中,我们与Paterson-Stockmeyer方法的同态比较比Narumanchi等人(AINA ' 17)快了约5.61倍,与Okada等人(WISTP ' 18)相比,我们的同态划分快了约1.45倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信