Routing and Security Mechanisms Design for Automotive TSN/CAN FD Security Gateway
2022-01-0122
03/29/2022
- Event
- Content
- With the explosion of in-vehicle data, Time Sensitive Network (TSN) is increasingly becoming the backbone of the in-vehicle network to ensure deterministic real-time communication and Quality of Service (QoS). However, legacy buses such as CAN FD and LIN will not disappear for a long time in the future. The gateway can be connected to many different protocols and is an important component in the security and functional safety of the communication process. In this paper, the recommended Electrical/Electronic Architecture is first given and the use cases for the TSN/CAN FD gateway are illustrated. Then, a TSN/CAN FD routing mechanism is designed and security mechanisms are deployed. The routing mechanism includes the protocol conversion module, queue cache module, and forwarding scheduling module. The protocol conversion module maps the priority of CAN FD messages to TSN messages and unpacks or packs the messages according to the routing table. Dynamic space of queue is utilized in the queue cache module to allocate the cached messages appropriately. Time Awareness Shaper and Credit-Based Shaper are used to guarantee the transmission of messages with different priorities. The security mechanism consists of a secure handshake protocol and encrypted communication. We negotiate and distribute session secret keys via pre-stored certificates and the RSA algorithm. The confidentiality, integrity, and availability of data are guaranteed via random numbers, MAC, and the AES algorithm. Detailed tests are finally carried out on a physical system focusing on several aspects such as time delay, packet loss rate, load rate, and anti-attack. The results show that the automotive TSN/CAN FD security gateway in this paper has excellent performance and feasibility.
- Citation
- Luo, F., Yang, Z., Wang, Z., and Wang, J., "Routing and Security Mechanisms Design for Automotive TSN/CAN FD Security Gateway," SAE Technical Paper 2022-01-0122, 2022, .