摘要
针对现有的哈希算法硬件架构仅实现少量几种算法的问题,设计了一种可实现SM3,MD5,SHA-1以及SHA-2系列共7种哈希算法的可重构IP,以满足同一系统对安全性可选择的需求。通过分析各哈希算法及其运算逻辑的相似性,该设计最大化地重用加法器和寄存器,极大地减少了总的实现面积。此外,该设计灵活可配,可以对内存直接存取。以Altera的Stratix II为FPGA目标器件,其最高频率可达100 MHz,总面积较现有设计减少26.7%以上,且各算法单位面积吞吐率均优于现有设计。
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-1and SHA-2family,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 100 MHz,the whole area is decreased by more than 26.7%and the throughput-per-area for each of the seven algorithms is increased.
出处
《计算机工程与科学》
CSCD
北大核心
2016年第3期411-417,共7页
Computer Engineering & Science
基金
浙江省自然科学基金(LY14F020026)
中央高校基本科研业务费专项资金(2013QNA5008)
国家电网智能电网研究院"新一代智能电网片上系统芯片关键技术研究"(SGRI-WD-71-13-014)