信息安全研究 ›› 2025, Vol. 11 ›› Issue (1): 5-.

• 学术论文 • 上一篇    下一篇

国密算法SM9的计算性能改进方法

谢振杰1,2刘奕明3罗友强1,4尹小康1   

  1. 1(数学工程与先进计算国家重点实验室(信息工程大学)郑州450001)
    2(中国人民解放军78156部队重庆400039)
    3(中国人民解放军92330部队山东青岛266102)
    4(中国人民解放军32158部队新疆喀什844099)
  • 出版日期:2025-01-24 发布日期:2025-01-24
  • 通讯作者: 尹小康 博士,讲师.主要研究方向为网络安全、二进制代码分析和机器学习. yxksjtu@sjtu.edu.cn
  • 作者简介:谢振杰 博士研究生.主要研究方向为云安全、密码学应用. jsonxie@126.com 刘奕明 硕士,助理工程师.主要研究方向为智能信息处理. lym05072021@163.com 罗友强 博士研究生.主要研究方向为网络流量分析、网络设备脆弱性分析. amydylen@sina.com 尹小康 博士,讲师.主要研究方向为网络安全、二进制代码分析和机器学习. yxksjtu@sjtu.edu.cn

The Methods to Improve the Computational Performance of  Domestic Cryptographic Algorithm SM9

Xie Zhenjie1,2, Liu Yiming3, Luo Youqiang1,4, and Yin Xiaokang1   

  1. 1(State Key Laboratory of Mathematical Engineering and Advanced Computing (Information Engineering University), Zhengzhou 450001)
    2(Unit 78156 of the PLA, Chongqing 400039)
    3(Unit 92330 of the PLA, Qingdao, Shandong 266102)
    4(Unit 32158 of the PLA, Kashi, Xinjiang 844099)
  • Online:2025-01-24 Published:2025-01-24

摘要: 针对国密算法SM9的计算性能改进问题,提出2维Comb固定基模幂算法、预计算标量乘的拓展应用、针对常用ID优化等计算性能改进方法,理论分析和实验测试表明,所提方法通过预计算并增加可以接受的存储开销,能有效提升固定底数模幂、SM9算法3个常见步骤等组件的计算性能.综合运用上述改进方法后,SM9数字签名的生成与验证、密钥交换、密钥封装、加密5项算法的性能提升幅度为14%~116%.

关键词: 国密算法, SM9, 计算性能, 预计算, Comb固定基

Abstract: Aiming to improve the computational performance of the domestic cryptographic algorithm SM9, this paper proposes a twodimensional Comb fixedbase modular exponentiation algorithm, extends the application of precomputed scalar multiplication, and optimizes the commonly used ID. Theoretical analysis and experimental tests show that these proposed methods can effectively improve the computational performance of components such as fixedbase modular exponentiation and the three common steps of the SM9 algorithm by precomputing and increasing acceptable storage overhead. After applying the above improvement methods comprehensively, the performance of SM9 digital signature generation and verification, key exchange, key encapsulation, and encryption algorithms is improved by 14% to 116%.

Key words: domestic cryptographic algorithm, SM9, computational performance, precomputation, Comb fixedbase

中图分类号: