基于FPGA的SM4加解密算法与侧信道安全研究
(中国电子信息产业集团有限公司第六研究所,北京 100083)
摘要
对基于FPGA的SM4分组密码算法的硬件实现方法与侧信道安全防护技术进行了综述性研究。在硬件实现方面,分析了S盒置换的有限域乘法逆元运算结合仿射变换的实现方式,以及32级轮间流水线架构、多路并行处理与轮密钥快速切换机制的应用情况。在侧信道安全防护方面,阐述了简单功耗攻击与差分功耗攻击的基本原理及其对SM4算法的潜在威胁,针对S盒输出与轮输出等关键泄漏点,提出了“掩码为主,隐藏为辅”的混合防护策略。研究内容为FPGA平台上SM4加解密算法的设计实现与安全部署提供了重要参考。
关键词
SM4算法;FPGA;流水线优化;侧信道安全
参考文献
- [1] 梁家浩,左金印.基于FPGA的高并行加解密研究 [J].中国科技成果,2023,24(3):16-18.
- [2] 窦玉超.SM4算法优化及其密钥扩展算法的设计与实现 [D].哈尔滨:哈尔滨工业大学,2021.
- [3] 越琳琳.基于FPGA的数字信封算法设计与实现 [D].哈尔滨:黑龙江大学,2023.
- [4] 张兆师,尉颖,吴让乐,等.面向智能电网的国产SM4加密算法性能优化分析 [J].信息与电脑(理论版),2024,36(20):11-14.
- [5] 袁浩楠.基于FPGA的SM4算法高效实现方案 [D].西安:西安电子科技大学,2024.
- [6] Lyu S S,Li B,Chen X,et al. High-Performance Optimization of SM4-GCM Based on FPGA [C]//2021 International Conference on Advanced Computing and Endogenous Security,2022:1-5.
- [7] Chen Y,Song J,Chen S,et al. Exploring the High-Throughput and Low-Delay Hardware Design of SM4 on FPGA [C]//2022 19th International SoC Design Conference (ISOCC),2022:211-212.
- [8] 陈昆明,王佳慧,马利民,等.基于SIMD思想的SM4流水线优化设计 [J].信息安全研究,2023,9(9):832-842.
- [9] 郭宇,贾小云,蒋建伟,等.轮内流水线型SM4算法的FPGA优化 [J].陕西科技大学学报,2025,43(3):174-180.
- [10] 张振宾.国密SM4和SM2算法功耗攻击关键技术研究与实现 [D].北京:清华大学,2015.
- [11] Liu W,Cheng J,Sun N,et al. A 128-Gbps Pipelined SM4 Circuit with Dual DPA Attack Countermeasures [J].IEEE Transactions on Very Large Scale Integration (VLSI) Systems (S1063-8210),2024,32(6):1164-1168.
- [12] 王永娟,樊昊鹏,代政一,等.侧信道攻击与防御技术研究进展 [J].计算机学报,2023,46(1):202-228.
- [13] Sun N Y,Liu W R,Cheng J F,et al. A novel SM4 cryptographic architecture against higher order power analysis attacks [J].International Journal of Circuit Theory and Applications,2024,52(8):4184-4198.
- [14] Jiang Z J,Yan W H,Ding W,et al. SM4 Chaotic Masking Scheme Against Power Analysis Based on FPGA [J/OL].International Journal of Bifurcation and Chaos,2022,32(8):2250110.https://doi.org/10.1142/S0218127422501103.
- [15] 李玥.基于SM2和SM4的数字信封系统硬件设计 [D].杭州:杭州电子科技大学,2025.
- [16] Zhang H,Yan Z. Design and Implementation of Data Encryption Mechanism in Fiber Channel Network [C]//2024 IEEE 23rd International Conference on Trust,Security and Privacy in Computing and Communications (TrustCom),2024:2442-2446.
- [17] 刘洋.适用于车载CAN网络节点的加密认证硬件加速引擎设计 [D].武汉:华中科技大学,2024.
- [18] Jiang K,Wang Z,Liu G,et al. FPGA Implementation of Short Message Authentication Based on the SM4 Algorithm [C]//2024 7th International Conference on Information Communication and Signal Processing (ICICSP),2024:306-311.
作者简介
张振澳(2000—),男,汉族,安徽安庆人,助理工程师,硕士研究生,研究方向:通信保密。