欢迎访问中国科学院大学学报,今天是

中国科学院大学学报 ›› 2018, Vol. 35 ›› Issue (2): 180-187.DOI: 10.7523/j.issn.2095-6134.2018.02.005

• 计算机科学 • 上一篇    下一篇

SM4的快速软件实现技术

郎欢1,2, 张蕾1, 吴文玲1,2   

  1. 1. 中国科学院软件研究所可信计算与信息保障实验室, 北京 100190;
    2. 中国科学院大学, 北京 100190
  • 收稿日期:2017-01-17 修回日期:2017-04-19 发布日期:2018-03-15
  • 通讯作者: 郎欢
  • 基金资助:
    国家自然科学基金(61232009,61672509)资助

Fast software implementation of SM4

LANG Huan1,2, ZHANG Lei1, WU Wenling1,2   

  1. 1. Trusted Computing and Information Assurance Laboratory, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China;
    2. University of Chinese Academy of Sciences, Beijing 100190, China
  • Received:2017-01-17 Revised:2017-04-19 Published:2018-03-15

摘要: SM4是中国分组密码国家标准,广泛应用于各种信息系统和安全产品。某些应用环境对密码算法的软件实现性能有很高的需求。目前SM4的软件实现方法仅限于查表实现,因此,研究SM4算法的快速软件实现技术很重要。利用SIMD技术,给出SM4的软件优化实现。与目前基于查表的软件实现相比,它有明显优势。在Intel Core i7-6700处理器上,相比于查表方法,利用SIMD技术的软件实现性能提高1.38倍。

关键词: SM4, 软件优化实现, SIMD技术

Abstract: SM4 is the national block cipher standard of China widely used in various information systems and security products.Some application environments have high demands for software implementation performance of cryptographic algorithms. Currently, SM4 software implementation is based on look-up table. Therefore, fast software implementation of SM4 algorithm has become an important research topic. This work investigates the software optimization implementation of SM4. Using SIMD technique, we present software optimization implementation of SM4, which has a significant advantage over current software implementation based on look-up table. On the Intel Core i7-6700 processor, the software performance improves by 1.38 times compared to implementation based on look-up table.

Key words: SM4, software optimization implementation, SIMD technique

中图分类号: