arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.19951cs.CR
收藏

高效模近似及其在CKKS密文中的应用

Efficient Mod Approximation and Its Applications to CKKS Ciphertexts

Yufei Zhou

AI总结:

本文提出基于多项式插值和切比雪夫级数的模函数近似方法,设计了BitStack和CRTStack数据打包方案,提升CKKSplaintext空间利用率,并实现同态四舍五入和秘密分享到CKKS密文的转换。

摘要:

模函数在数据编码和密码学中起关键作用,但广泛使用的CKKS同态加密方案仅支持算术运算,难以对加密数据执行模计算。本文提出基于多项式插值和切比雪夫级数的模函数近似方法,能够准确近似所有整数点上的模函数。在此基础上,设计了BitStack和CRTStack两种高效数据打包方案,专门针对CKKS中的小整数输入。这些方案显著提高了CKKSplaintext空间的利用率,并实现了高效的密文上传。此外,本文将所提出的同态模函数应用于实现同态四舍五入操作和从加法秘密分享到CKKS密文的一般转换,实现了精确的密文四舍五入和完整的秘密分享到CKKS密文转换。实验结果表明,本文方法能够达到高达$10^{-8}$的高近似精度。

英文摘要:

The mod function plays a critical role in numerous data encoding and cryptographic primitives. However, the widely used CKKS homomorphic encryption (HE) scheme supports only arithmetic operations, making it difficult to perform mod computations on encrypted data. Approximating the mod function with polynomials has therefore become an important yet challenging problem. Existing homomorphic mod constructions provide accurate results only within limited subranges of the input domain, leaving the problem of achieving accurate approximation across the entire input domain unresolved.In this work, we propose a novel method based on polynomial interpolation and Chebyshev series to accurately approximate the mod function over all integer points in the bounded input interval. Building upon this, we design two efficient data packing schemes, BitStack and CRTStack, tailored for small-integer inputs in CKKS. These schemes significantly improve the utilization of the CKKS plaintext space and enable efficient ciphertext uploads. Furthermore, we apply the proposed HE mod function to implement a homomorphic rounding operation and a general transformation from additive secret shares to CKKS ciphertexts, achieving accurate ciphertext rounding and complete conversion from secret shares to CKKS ciphertexts. Experimental results demonstrate that our approach achieves high approximation accuracy (up to $10^{-8}$).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑