# US 2023/0065987 A1 · Ephemeral key exchange between vehicle software nodes

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0065987 A1
- Document ID: US20230065987A1
- Status: Published application
- Kind: A1
- Application number: 17/567,058
- Filed: 2021-12-31
- Published: 2023-03-02
- Earliest claimed: 2021-09-02
- Applicants: Rivian IP Holdings, LLC
- Inventors: Shayan Mukhtar; Mark Thomas Abene; Kinjal Kumar Patel; Yusuf Kurniawan
- Web page: https://patentgrep.com/patent/US20230065987A1

## CPC

- H04L 9/0819: {Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) (network architectures or network communication protocols for key distribution in a packet data network H04L63/062)}
- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- G06F 21/606: {by securing the transmission between two devices or processes}
- H04L 9/0869: {involving random numbers or seeds}
- H04L 9/3271: {using challenge-response}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 2209/84: Vehicles
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure is directed to systems and methods directed to improving the functions of a vehicle. Systems and methods are provided that provide a custom tool that autogenerates a set of software agents that allows a system to separate processing, transmission and receiving of messages to achieve better synchronization. The disclosure herein also provides a simplified method of key provisioning by designating one client as a server and assigning a symmetric key to every other client permanently provisioned between that client and the server. Systems and method are further provided that predict faults in a vehicle. Systems and methods are also provided that preserve data in the event of a system crash. Systems and methods are also provided in which an operating system of a vehicle detects the presence of a new peripheral and pulls the related interface file for that new peripheral. Further, a data synchronization solution is provided herein which provides optimized levels of synchronization.

## Claims

### Claim 1

A method for establishing secure communications between a first node and a second node within a vehicle, the method comprising:
receiving, from the first node of the vehicle, a first message comprising information identifying the second node of the vehicle,
in response to receiving the first message, generating, using the vehicle’s processing circuitry, an encryption key,
communicating to the first node of the vehicle information identifying the encryption key,
receiving, from the second node of the vehicle, a second message comprising information identifying the first node of the vehicle,
determining, using the processing circuitry, the second message is valid based on the first message, and
communicating to the second node of the vehicle information identifying the encryption key.

### Claim 2 (depends on 1)

The method of claim 1, where the first message further comprises a random number generated by the first node of the vehicle.

### Claim 3 (depends on 2)

The method of claim 2, further comprising communicating a hash of the random number to the first node of the vehicle.

### Claim 4 (depends on 1)

The method of claim 1, wherein the second message further comprises a random number generated by the second node.

### Claim 5 (depends on 4)

The method of claim 4, further comprising communicating a hash of the random number to the first node of the vehicle.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first node of the vehicle and the second node of the vehicle are on a shared bus in the vehicle.

### Claim 7 (depends on 6)

The method of claim 6, wherein the communicating to the first node of the vehicle and the communicating to the second node of the vehicle are done over the shared bus.

### Claim 8

A system for establishing secure communications between a first node and a second node within a vehicle, the system comprising:
processing circuitry coupled to the first node of the vehicle and to the second node of the vehicle, the processing circuitry configured to:
receive, from the first node of the vehicle, a first message comprising information identifying the second node of the vehicle,
in response to receiving the first message, generate an encryption key,
communicate to the first node of the vehicle information identifying the encryption key,
receive, from the second node of the vehicle, a second message comprising information identifying the first node of the vehicle,
determine the second message is valid based on the first message, and
communicate to the second node of the vehicle information identifying the encryption key.

### Claim 9 (depends on 8)

The system of claim 8, where the first message further comprises a random number generated by the first node of the vehicle.

### Claim 10 (depends on 9)

The system of claim 9, wherein the processing circuitry is further configured to communicate a hash of the random number to the first node of the vehicle.

### Claim 11 (depends on 8)

The system of claim 8, wherein the second message further comprises a random number generated by the second node.

### Claim 12 (depends on 11)

The system of claim 11, wherein the processing circuitry is configured to communicate a hash of the random number to the first node of the vehicle.

### Claim 13 (depends on 8)

The system of claim 8, wherein the first node of the vehicle and the second node of the vehicle are on a shared bus in the vehicle.

### Claim 14 (depends on 13)

The system of claim 13, wherein to communicate to the first node of the vehicle and to communicate to the second node of the vehicle are done over the shared bus.

### Claim 15

A non-transitory computer-readable medium having non-transitory computer-readable instructions encoded thereon that, when executed by a processor, causes the processor to:
receive, from the first node of the vehicle, a first message comprising information identifying the second node of the vehicle,
in response to receiving the first message, generate, using the vehicle’s processing circuitry, an encryption key,
communicate to the first node of the vehicle information identifying the encryption key,
receive, from the second node of the vehicle, a second message comprising information identifying the first node of the vehicle,
determine, using the processing circuitry, the second message is valid based on the first message, and
communicate to the second node of the vehicle information identifying the encryption key.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, where the first message further comprises a random number generated by the first node of the vehicle.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16 further comprising causing the processor to communicate a hash of the random number to the first node of the vehicle.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the second message further comprises a random number generated by the second node.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the first node of the vehicle and the second node of the vehicle are on a shared bus in the vehicle.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein causing the processor to communicate to the first node of the vehicle and causing the processor to the communicate to the second node of the vehicle are done over the shared bus.
