基于国产FPGA与SM4算法的总线通信加解密IP核设计
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:


Design of Bus Communication Encryption and Decryption IP Core Based on Domestic FPGA and SM4 Algorithm
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    针对某终端设备之间总线通信的加密需求以及加密硬件程序便捷移植开发的需求,设计基于SM4加解密算法的IP核。采用轻量级单轮循环迭代结构,在满足吞吐率要求下降低对FPGA逻辑资源的消耗,其中查找表 (look-up table,LUT)的消耗为2 447个,触发器(flip-flop,FF)的消耗为2 914个;采用加密、解密独立运行的方式使通信过程中的加密运算与解密运算可同时进行互不干扰;使用Vivado2022.2对IP核进行封装;采用一种“线性变换参数可控”的机制,使加密安全性由单一的密钥作为保证变为“密钥+线性变换参数”的双重保证,提高加密的安全性。测试结果表明:在满足吞吐率要求的条件下,该IP核可应用于UART(485/422/232)、CAN、1553B等总线的数据加密,且性能稳定。

    Abstract:

    An IP core based on SM4 encryption and decryption algorithm is designed to meet the encryption requirements of bus communication between terminal devices and the requirements of convenient transplantation and development of encryption hardware programs. A lightweight single-round loop iteration structure is adopted to reduce the consumption of FPGA logic resources while meeting the throughput requirements, wherein the consumption of a lookup table (LUT) is 2 447, and the consumption of a flip-flop (FF) is 2 914; The independent operation mode of encryption and decryption is adopted, so that the encryption operation and the decryption operation in the communication process can be carried out at the same time without mutual interference; A “linear transformation parameter controllable” mechanism is used to change the encryption security from a single key as a guarantee to a double guarantee of “key + linear transformation parameter”, which improves the security of encryption. The test results show that the IP core can be applied to the data encryption of UART(485/422/232), CAN, 1553B and other buses under the condition of meeting the throughput requirements, and the performance is stable.

    参考文献
    相似文献
    引证文献
引用本文

李 森.基于国产FPGA与SM4算法的总线通信加解密IP核设计[J].,2025,44(07).

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2024-09-10
  • 最后修改日期:2024-10-21
  • 录用日期:
  • 在线发布日期: 2025-08-28
  • 出版日期:
文章二维码