• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2016, Vol. 38 ›› Issue (03): 411-417.

• 论文 • Previous Articles     Next Articles

A reconfigurable hardware architecture
design for multiple Hash algorithms 

 LIU Heng1,HUANG Kai1,XIU Siwen2,LI Yijun3,YAN Xiaolang1   

  1. (1.Institute of VLSI Design,Zhejiang University,Hangzhou 310027;
    2.College of Optical and Electronic Technology,China Jiliang University,Hangzhou 310018;
    3.Hangzhou SecChip Technology Co.,Ltd.,Hangzhou 310012,China)
  • Received:2015-06-10 Revised:2015-07-22 Online:2016-03-25 Published:2016-03-25

Abstract:

Since the existing hardware architecture for Hash algorithms can only implement a few algorithms, we design a reconfigurable IP, which can implement seven Hash algorithms including SM3, MD5, SHA1 and SHA2 family, and it can meet the demand of a system for algorithm diversity. By analyzing all these Hash algorithms and estimating their similarity, the design reuses adders and registers to the maximum extent and therefore greatly reduces the total area. Besides, the design is flexibly configurable and can access the memory directly. The implementation results based on the FPGA of Stratix II of Altera Corporation show that, in comparison with the existing designs, the maximum frequency can achieve 100MHz, the whole area is decreased by more than 26.7% and the throughputperarea for each of the seven algorithms is increased.

Key words: Hash algorithm;SM3;MD5;SHA;basic arithmetic unit;reconfigurable;high performance