arrow
返回

Improved homomorphic evaluation for hash function based on TFHE

delete2024-07-02
delete0
delete
OA
AI
B
Benqiang Wei
X
Xianhui Lu *
DOI:10.1186/s42400-024-00204-0delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Homomorphic evaluation of hash functions offers a solution to the challenge of data integrity authentication in the context of homomorphic encryption. The earliest attempt to achieve homomorphic evaluation of SHA-256 hash function was proposed by Mella and Susella (in: Cryptography and coding-14th IMA international conference, IMACC 2013. Lecture notes in computer science, vol 8308. Springer, Heidelberg, pp 28-44, 2013. https://doi.org/10.1007/978-3-642-45239-0_3.) based on the BGV scheme. Unfortunately, their implementation faced significant limitations due to the exceedingly high multiplicative depth, rendering it impractical. Recently, a homomorphic implementation of SHA-256 based on the TFHE scheme (Homomorphic evaluation of SHA-256. https://github.com/zama-ai/tfhe-rs/tree/main/tfhe/examples/sha256_bool) brings it from theory to reality, however, its current efficiency remains insufficient. In this paper, we revisit the homomorphic evaluation of the SHA-256 hash function in the context of TFHE, further reducing the reliance on gate bootstrapping and enhancing evaluation latency. Specifically, we primarily utilize ternary gates to reduce the number of gate bootstrappings required for logic functions in message expansion and addition of modulo 232\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$$2<^>{32}$$\end{document} in iterative compression. Furthermore, we demonstrate that our optimization techniques are applicable to the Chinese commercial cryptographic hash SM3. Finally, we give specific comparative implementations based on the TFHE-rs library. Experiments demonstrate that our optimization techniques lead to an improvement of approximately 35-50% compared with the state-of-the-art result under different cores.
Keyword:
Transciphering
TFHE
Hash function
Implementation

期刊

C
Cybersecurity
IF:
3.7
论文数:
605
被引数:
1.0K

机构

C
chinese academy of sciences
学者数:
56.7W
论文数: 45.0W
被引数: 704
引用论文

引用论文

Organometallic Mo–O–Bi complexes
err2005-11-01
err0
PREAI
errStefan Roggan; Christian Limberg; Marcus Brandt; Burkhard Ziemer
err分享
err收藏
Metabolic Assays for Detection of Neutral Fat Stores
err2015-01-01
err0
errOAAI
errJan Baumann; Leila Kokabee; Xianhiu Wang; Yan Sun; Jason Wong; Douglas Conklin
err分享
err收藏
Recent advances in multilevel nickel-nitrogen-carbon catalysts for CO2 electroreduction to CO
err2021-06-01
err0
PREAI
errYafang Zhang; Chang Yu; Xinyi Tan; Song Cui; Wenbin Li; Jieshan Qiu
err分享
err收藏
err分享
err收藏
学者 查看更多内容