Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

CAN bus encryption method for encrypting data by applying encryption algorithm

A technology of CAN bus and encryption algorithm, which is applied in the field of communication, can solve the problem that the encryption method of CAN bus is easy to be cracked, and achieve the effect of improving security

Active Publication Date: 2020-11-03
GUANGDONG UNIV OF TECH
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem that the CAN bus encryption method is easily cracked in the prior art, the present invention provides a CAN bus encryption method using an encryption algorithm to encrypt data, Can effectively solve the above technical problems

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • CAN bus encryption method for encrypting data by applying encryption algorithm
  • CAN bus encryption method for encrypting data by applying encryption algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The application will be further described below in conjunction with the accompanying drawings.

[0022] The concept of the present invention is: the generation of the secret key of the SM4 cipher symmetric encryption and decryption algorithm is set by the user according to his own needs, and each CAN bus node must maintain the same secret key to realize normal encryption and decryption of data. After completing the setting of the secret key, due to the limitation of the data structure of the CAN bus, the maximum number of bits that can be sent in each frame is 64 bits, and the data required for each encryption of the SM4 symmetric encryption and decryption module is 128 bits. In order to make up for the data generated in the middle For bit deviation, the following bus data encryption methods can be used:

[0023] 1. Carry out the filling operation after the 64bit data, fill in the specific data to reach 128bit data, and then carry out the SM4 password symmetric encrypti...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

In order to solve the problem that a CAN bus encryption mode is easy to crack in the prior art, the invention provides a CAN bus encryption method for encrypting data by using an encryption algorithm.The method is characterized in that the following steps: performing SM3 algorithm operation on original data to generate a hash value; extracting a plurality of bits of data from the hash value, combining the data with the original data to form 128 bits of combined data, and performing SM4 algorithm operation on the combined data to encrypt the combined data; finally, realizing the decryption ofSM3 and SM4 algorithms on the FPGA platform, and completing the data interaction between software and hardware by utilizing an AXI bus. The encryption system is constructed by adopting SM3 and SM4 password symmetric encryption and decryption algorithms, an encryption method is provided for bus data, information verification can also be realized, and the security, reliability and anti-cracking capability of CAN bus data are improved.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a CAN bus encryption method for encrypting data by using an encryption algorithm. Background technique [0002] The existing CAN bus adopts clear code data transmission, and the data is broadcast on the bus, which is easy to be intercepted and illegally controlled. In order to ensure the safety of the bus, firewall technology is currently used to isolate the electronics in the car from the external interactive interface; there is also a strict access mechanism, which adopts a semi-open form of authorization to control access rights; password systems (authentication or encoding encryption) are commonly used. ) to protect the data circulating in the car; there is also a detective / defense system (IPS / IDS) used to detect and warn possible attacks. [0003] At present, such as "An Encryption Method for Automotive CAN Bus", application number 201910659548.X, this invention propo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04L12/40
CPCH04L63/0428H04L63/0435H04L12/40H04L2012/40215
Inventor 熊晓明黄泽武梁润华何柏声
Owner GUANGDONG UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products