BLAKE算法是基于ChaCha流密码和采用标准HAIFA迭代模式的SHA-3候选算法之一。针对现有BLAKE算法对于循环单元中G函数模型的研究少,且没有考虑硬件代价及实现结果等问题,提出可重构的设计思想,在FPGA上实现了BLAKE算法循环单元的三种G函数模式。在Xilinx Virtex-5 FPGA上的实现结果表明,在不影响性能的前提下,本方案可重构后的面积比分别实现的面积总和减少了58%。
BLAKE algorithm is one of SHA-3 finalist which is based on ChaCha and take use of standard HAIFA iterative mode.Previous research work had been done on hardware implementation of BLAKE algorithm,but the disadvantage of their implementations lay on few research on the G_function module of the round unit of BLAKE without considering hardware costs and results.In order to resolve the above shortage,this paper proposed a new reconfigurable architecture which could support three different parameters of G-function module of round unit of BLAKE algorithms on Xilinx Virtex-5 FPGA.The experimental results show that the proposed design has smaller size that is 58% smaller than others without affecting performance.