| 注册
首页|期刊导航|计算机与数字工程|基于OpenCL的HMAC-SHA256算法优化与实现

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

郑博文 聂一 柴志雷

计算机与数字工程2023,Vol.51Issue(11):2483-2489,7.
计算机与数字工程2023,Vol.51Issue(11):2483-2489,7.DOI:10.3969/j.issn.1672-9722.2023.11.002

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

Optimization and Implementation of HMAC-SHA256 Algorithm Based on OpenCL

郑博文 1聂一 1柴志雷2

作者信息

  • 1. 江南大学物联网工程学院 无锡 214122
  • 2. 江南大学人工智能与计算机学院 无锡 214122||江苏省模式识别与计算智能工程实验室 无锡 214122
  • 折叠

摘要

Abstract

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/硬件加速

Key words

FPGA/SHA-256/HMAC-SHA256/OpenCL/hardware acceleration

分类

信息技术与安全科学

引用本文复制引用

郑博文,聂一,柴志雷..基于OpenCL的HMAC-SHA256算法优化与实现[J].计算机与数字工程,2023,51(11):2483-2489,7.

基金项目

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

计算机与数字工程

OACSTPCD

1672-9722

访问量5
|
下载量0
段落导航相关论文