|国家科技期刊平台
首页|期刊导航|密码学报|全同态加密应用的编码技术综述

全同态加密应用的编码技术综述OA北大核心CSTPCD

Overview of Encoding Techniques for Application of Fully Homomorphic Encryption

中文摘要英文摘要

全同态加密允许在不解密的前提下对密文进行任意操作,为数据"可用不可见"的需求提供了绝佳的解决思路.由于效率和安全性原因,全同态加密的明文空间通常被定义在多项式环或者有限域代数结构上.目前实用化的全同态加密方案分为以BGV、BFV和CKKS为代表的第二代和以FHEW、TFHE为代表的第三代全同态加密方案,其中第二代方案的基础计算类型包括代数加法和代数乘法,而第三代方案的核心计算单元是门自举.但是现实应用涉及的数据类型包含整数、浮点数、复数、矩阵、向量等,函数计算类型包括多项式函数和三角、求逆、比较等各种非多项式函数.因此在应用全同态加密时,必须设计高效的消息编码和函数计算编码以适用于实际计算任务,提高整体运行效率.本文系统地总结了目前第二代全同态加密涉及的消息编码,并分析了一些常用函数在不同全同态加密方案下的的同态计算编码策略,最后对卷积神经网络推理和对称加密算法(AES)两个实例给出了具体分析和测试.

Fully homomorphic encryption(FHE)allows arbitrary computations to be performed on ciphertexts without decrypting them,providing an excellent solution to the need for data to be"avail-able but not visible".Due to efficiency and security reasons,the plaintext space of FHE is mainly defined on polynomial ring or finite field algebraic structures.Currently,practical FHE schemes are second-generation schemes represented by BGV,BFV,and CKKS,and third-generation schemes represented by FHEW and TFHE,among which the basic computation types of second-generation schemes include algebraic addition and multiplication while the core computation of third-generation schemes is gate bootstrapping.However,the data types involved in real-life applications include inte-ger,floating-point number,complex number,matrix,vector,etc.The types of function computation include polynomial function and various non-polynomial functions such as trigonometric,inverse,and comparison functions.Therefore,efficient message encoding and function computing encoding must be designed to adapt to actual computing tasks and improve overall performance efficiency when using FHE.This paper systematically summarizes the message encoding involved in the second-generation FHE and analyzes the homomorphic computation encoding strategies for some common functions in different FHE schemes.Finally,this paper gives a specific analysis and testing on two examples:convolutional neural network inference and symmetric encryption algorithm(AES).

魏本强;路献辉;王睿达;李智豪

中国科学院信息工程研究所网络空间安全防御重点实验室,北京 100093||中国科学院大学网络空间安全学院,北京 100049

计算机与自动化

全同态加密消息编码计算编码

fully homomorphic encryptionmessage encodingcomputation encoding

《密码学报》 2024 (003)

521-544 / 24

华为技术有限公司资助.Supported by the Huawei Technologies Co.,Ltd.

10.13868/j.cnki.jcr.000694

评论