CAN Bus Forward Secrecy Key Generation via Pre-computation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for secure communication over CAN bus, which uses an insecure shared communication medium, are inefficient in implementing forward secrecy for cryptographic keys, consuming significant time and network capacity when frequently generating new keys.

Innovation Solution

A method involving a controller and transceiver in nodes using a cryptographically secure pseudo-random number generator and one-way functions to generate and update shared secret cryptographic keys, ensuring forward secrecy by replacing older keys with new ones, while maintaining secure communication through the CAN bus.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If nodes frequently generate new cryptographic keys through simultaneous transmission on CAN bus, then forward secrecy is improved, but time consumption and network capacity usage increase significantly

Engineering Contradiction:
Improveforward secrecyVSAvoidkey generation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by pre-generating and storing multiple cryptographic key pairs in secure memory before they are needed. When key updates are required, nodes simply retrieve pre-generated keys from memory rather than performing time-consuming simultaneous transmissions and key agreement protocols, thus maintaining forward secrecy while dramatically reducing key generation time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements periodic action by establishing predetermined triggers for key updates based on time intervals, message counts, or security events. This allows the system to maintain forward secrecy by periodically refreshing keys without requiring continuous or frequent key generation operations, thereby reducing overall time consumption and network capacity usage while preserving security properties.

Inventive Principle:
Principle #19Periodic action

2Reliability

If nodes frequently generate new cryptographic keys through simultaneous transmission, then forward secrecy is improved, but network capacity is consumed excessively

Engineering Contradiction:
Improveforward secrecyVSAvoidnetwork capacity efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

By pre-generating and storing multiple cryptographic key pairs in secure memory before they are needed, the system eliminates the need for frequent simultaneous transmissions on the CAN bus. This preliminary preparation maintains forward secrecy while dramatically reducing network capacity consumption, as key retrieval from memory requires no network communication.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies self-service by enabling nodes to autonomously retrieve and use pre-generated keys from their own secure memory without requiring interaction with other nodes or network communication for key generation. This self-contained approach maintains forward secrecy while eliminating network capacity consumption associated with traditional key agreement protocols.

Inventive Principle:
Principle #25Self-service

3Reliability

If traditional key agreement methods are used on shared communication medium, then secure key exchange is achieved, but efficiency and speed of key generation deteriorate

Engineering Contradiction:
Improvekey exchange securityVSAvoidkey generation speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The patent applies preliminary action by pre-generating and securely storing multiple cryptographic key pairs in memory before they are needed for communication. When key updates are required, nodes simply retrieve pre-generated keys from memory rather than performing time-consuming simultaneous transmissions and key agreement protocols, thus maintaining security while dramatically improving key generation speed.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10833851B2Methods and systems for linear key agreement with forward secrecy using an insecure shared communication medium
Publication Date: 2020.11.10 ROBERT BOSCH GMBH
  • US10833851B2 patent drawing
  • US10833851B2 patent drawing
  • US10833851B2 patent drawing

AI summary

A method for shared secret agreement with forward secrecy includes generating a first plurality of bits of data using a cryptographically secure pseudo-random number generator applied to a node seed value and at least one index value, transmitting the first plurality of bits of data through a shared communication medium simultaneously to transmission of a second plurality of bits of data from a second node, identifying shared secret data with the second node using a portion of the first plurality of bits of data that are logical complements of the second plurality of bits of data, generating a shared seed value using a cryptographically secure one-way function applied to the shared secret data, and generating an updated node seed value using the cryptographically secure one-way function applied to the node seed value to replace the node seed value.