Journal of Xidian University ›› 2021, Vol. 48 ›› Issue (3): 155-162.doi: 10.19665/j.issn1001-2400.2021.03.020

• Cyberspace Security • Previous Articles     Next Articles

Optimization and implementation of the SM4 on FPGA

HE Shiyang1,2(),LI Hui1,2(),LI Fenghua1,2,3()   

  1. 1. Engineering Research Center of Big Data Security Ministry of Education,Xidian University,Xi’an 710071,China
    2. School of Cyber Engineering,Xidian University,Xi’an 710126,China
    3. Institute of Information Engineering,Chinese Academy of Sciences,Beijing 10093,China
  • Received:2021-02-02 Online:2021-06-20 Published:2021-07-05
  • Contact: Hui LI E-mail:syhe@xidian.edu.cn;lihui@mail.xidian.edu.cn;lfh@iie.ac.cn

Abstract:

Data encryption is one of the important means to ensure information security.In data encryption,the SM4 algorithm is widely used by considering its advantages of strong security,high efficiency,and easy hardware implementation.Current researchesfocus on hardware-feature based implementation to improve the cost and performanceof the SM4 algorithm.Four sets of hardware architecture are proposed for the SM4 algorithm and implemented on XILINX KINTEX-7 FPGA.The circular architecture is optimized for resource saving,which consumes 193 SLICE,and has a throughput of 1.27 Gb/s;the pipeline architecture is based on the LUT,BRAM,BRAM+REGISTER method implementation.According to different application scenarios,three solutions can be optimized in terms of resource consumption such as lookup tables,registers,and block memory,with the throughput reaching 42.10 Gb/s.

Key words: SM4, field programmable gate array, architecture optimization, hardware implementation

CLC Number: 

  • TP309.7