电子学报2024,Vol.52Issue(6) :1888-1895.DOI:10.12263/DZXB.20230314

面向物联网的SM4轻量级优化实现

Internet of Things Oriented SM4 Lightweight Optimization Implementation

蒲金伟 滕亚辉 高倾健 郑欣 徐迎晖
电子学报2024,Vol.52Issue(6) :1888-1895.DOI:10.12263/DZXB.20230314

面向物联网的SM4轻量级优化实现

Internet of Things Oriented SM4 Lightweight Optimization Implementation

蒲金伟 1滕亚辉 1高倾健 1郑欣 2徐迎晖2
扫码查看

作者信息

  • 1. 广东工业大学自动化学院,广东广州 510006
  • 2. 广东工业大学集成电路学院,广东广州 510006
  • 折叠

摘要

针对物联网芯片中对加密算法低面积、高吞吐率需求的增加,提出了速度优先、面积优先、面积速度权衡的3种SM4轻量级硬件实现方案.面积优先方案中,对线性函数L/L'进行优化实现,减少48位寄存器以及120比特的异或资源的使用;速度优先方案中,引入2个新的S盒,实现线性函数L/L'与查找表S盒的合并,从而避免线性函数L/L'的时延;面积速度权衡方案中,合并S盒线性映射、逆线性映射以及线性函数L/L'为一个函数,将加密计算均映射到复合域中进行,减少一个S盒线性映射时延,进一步提高速度.与目前已有方案进行比较,面积优先方案面积减少约5.5%~44.8%以上,仅2371 GE,功耗仅为0.88 mW,最大频率为324 MHz;速度优先方案面积为3061 GE,最大频率提高约9.8%以上,可达549 MHz,吞吐率为439.2 Mbps.

Abstract

Aiming at the increasing demand for low-area and high-throughput encryption algorithms in IoT chips,three SM4 lightweight optimization hardware implementation schemes are proposed,which are speed priority,area priority,and area-speed trade-off. In the area priority scheme,the linear function L/L' is optimized to reduce the use of 48-bit regis-ters and 120-bit XOR resources. In the speed priority scheme,two new S-boxes are introduced to realize the combination of the linear function L/L' and the look-up table S-box,so as to avoid the delay of the linear function L/L'. In the area-speed trade-off scheme,the S-box linear mapping,the inverse linear mapping and the linear function L/L' are merged into a func-tion,and the encryption calculation is mapped to the composite filed,the delay of the S-box linear mapping can be reduced and the speed can be further improved. Compared with the existing schemes,the area of the area priority scheme is reduced by 5.5%~44.8% (only 2371 GE),the power consumption is only 0.88 mW,and the maximum frequency is 324 MHz;the ar-ea of the speed priority scheme is 3061 GE,and the maximum frequency is increased by more than 9.8%,up to 549 MHz,with a throughput rate of 439.2 Mbps.

关键词

物联网/SM4/轻量级/S盒/优化设计

Key words

Internet of things/SM4/lightweight/S-box/optimization design

引用本文复制引用

基金项目

广东省基础与应用基础研究基金(2021A1515110777)

广东省重点领域研发计划(2022B0701180001)

出版年

2024
电子学报
中国电子学会

电子学报

CSTPCD北大核心
影响因子:1.237
ISSN:0372-2112
参考文献量5
段落导航相关论文