基于OpenCL的HMAC-SHA256算法优化与实现  

Optimization and Implementation of HMAC-SHA256 Algorithm Based on OpenCL

在线阅读下载全文

作  者:郑博文 聂一 柴志雷 ZHENG Bowen;NIE Yi;CHAI Zhilei(School of Internet of Things Engineering,Jiangnan University,Wuxi 214122;School of Artificial Intelligence and Computer Science,Jiangnan University,Wuxi 214122;Jiangsu Provincial Engineering Laboratory of Pattern Recognition and Computational Intelligence,Wuxi 214122)

机构地区:[1]江南大学物联网工程学院,无锡214122 [2]江南大学人工智能与计算机学院,无锡214122 [3]江苏省模式识别与计算智能工程实验室,无锡214122

出  处:《计算机与数字工程》2023年第11期2483-2489,共7页Computer & Digital Engineering

基  金:国家自然科学基金项目(编号:61972180)资助。

摘  要:HMAC算法作为主流消息认证算法之一,面临着以纯软件方式运行速度慢,以传统的FPGA硬件实现方式更新维护困难的问题。针对上述问题,设计了HMAC-SHA256算法的定制计算架构并基于OpenCL以高层次描述方式进行了实现。具体包括计算路径优化、存储结构与查找表优化、HMAC-SHA256全流水结构设计。基于OpenCL的计算任务分组优化、数据存储优化、数据通道矢量化等手段实现了HMAC-SHA256算法的FPGA定制计算架构。实验结果表明:在Intel Stratix 10 FPGA平台上,所实现的HMAC-SHA256吞吐率达到174.236Gbps,与Intel Core I7-10700 CPU相比,性能提升了656%,能效提升了1514%;与NVIDIA GTX 1650 SUPER GPU相比,性能提升了14%,能效提升了288%。As one of the mainstream message authentication algorithms,the HMAC algorithm runs slowly in software,and the traditional FPGA hardware implementation is difficult to update and maintain.To solve the above problems,a customized computing architecture of HMAC-SHA256 algorithm is designed and implemented in a high-level description method based on OpenCL.Spe⁃cifically,it includes calculation path optimization,storage structure and lookup table optimization,and HMAC-SHA256 full pipe⁃line structure design.Based on OpenCL instruction pipeline,data channel vectorization,data storage optimization and other meth⁃ods,the FPGA custom computing architecture of HMAC-SHA256 algorithm is realized.The experimental results show that on the Intel Stratix 10 FPGA platform,the achieved throughput rate of HMAC-SHA256 reaches 174.236Gbps,compared with Intel Core I7-10700 CPU,the performance is improved by 656%,and the energy efficiency is improved by 1514%.Compared with the NVID⁃IA GTX 1650 SUPER GPU,the performance is improved by 14%and the energy efficiency is improved by 288%.

关 键 词:FPGA SHA-256 HMAC-SHA256 OPENCL 硬件加速 

分 类 号:TP301.6[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象