基于比特切片的SM4-BGV转密技术
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP309

基金项目:

国家自然科学基金(62325209, U23A20302, 62272350, 62202339); 湖北省重点研发计划(2025BAB019)


Bit-sliced SM4-BGV Transciphering Technique
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    随着数据安全需求的提升与云计算场景的广泛应用, 如何在不解密的前提下对加密数据进行高效计算已成为密码学研究的重要方向. 全同态加密(fully homomorphic encryption, FHE)能够支持密态计算, 但较高的计算与存储开销限制了其在高吞吐或实时场景中的应用. 为此, 业界提出转密(transciphering)的技术, 即利用同态加密对已有对称加密体系(如AES、SM4)的密文进行同态解密和再计算, 从而有效结合对称密码的紧凑性和同态加密的密态计算能力. 相较于已较为成熟的AES转密研究, 现有SM4转密方案普遍面临乘法深度大、噪声增长快和整体性能受限的问题. 针对上述挑战, 提出一种基于比特切片(bit-slicing)的高效SM4转密实现方案, 并在BGV同态加密框架下完成设计与实现. 该方案通过对SM4 S盒进行布尔建模与算子层级的结构化优化, 显著提升S盒性能; 同时利用比特切片的特性高效实现线性变换, 避免额外的代价较高的同态操作. 最后, 为应对32轮轮函数迭代所需的高乘法深度和噪声积累问题, 设计动态噪声管理模块, 可在噪声预算不足时自动实现密文批量自举操作, 从而保证计算的正确性和可扩展性. 实验结果表明, 所提方案较当前公开的SM4转密实现均取得更优性能: 相较于基于BGV的有限域实现, 吞吐量提升2.35倍; 相较于基于CGGI的布尔电路实现, 吞吐量提升7.04倍.

    Abstract:

    With the increasing demand for data security and the widespread adoption of cloud computing, enabling efficient computation over encrypted data without decryption has become an important direction in cryptographic research. Fully homomorphic encryption (FHE) supports computation on cipher texts, but its relatively high computational and storage overhead limits its applicability in high-throughput or real-time scenarios. To address this issue, the transciphering paradigm has been proposed. It performs homomorphic decryption and re-computation on cipher texts encrypted with conventional symmetric ciphers (e.g., AES and SM4), thus effectively combining the compactness of symmetric cryptography with the capability of encrypted-domain computation. Compared to the relatively mature body of research on AES transciphering, existing SM4 transciphering schemes generally suffer from high multiplicative depth, rapid noise growth, and limited overall performance. To address these challenges, this study proposes an efficient SM4 transciphering scheme based on bit-slicing and implements it within the BGV homomorphic encryption framework. The proposed scheme models the SM4 S-box as a boolean function and applies operator-level structural optimizations, significantly improving the performance of S-box evaluation. Meanwhile, by exploiting the characteristics of bit-slicing, the linear transformation is efficiently implemented, avoiding additional costly homomorphic operations. Finally, to address the high multiplicative depth and noise accumulation caused by the 32-round function iterations, this study designs a dynamic noise management module that automatically performs batched cipher text bootstrapping when the noise budget becomes insufficient, thus ensuring correctness and scalability. Experimental results demonstrate that the proposed scheme achieves superior performance to existing publicly available SM4 transciphering implementations. Specifically, throughput is improved by 2.35× compared to BGV-based finite-field implementations and by 7.04× compared to CGGI-based boolean circuit implementations.

    参考文献
    相似文献
    引证文献
引用本文

谭清泉,彭聪,李小红,何德彪.基于比特切片的SM4-BGV转密技术.软件学报,,():1-14

复制
相关视频

分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-12-19
  • 最后修改日期:2026-02-02
  • 录用日期:
  • 在线发布日期: 2026-10-28
  • 出版日期:
文章二维码
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号