# US 2021/0176071 A1 · Cyber-security protocol

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

- Number: US 2021/0176071 A1
- Document ID: US20210176071A1
- Status: Published application
- Kind: A1
- Application number: 17/104,482
- Filed: 2020-11-25
- Published: 2021-06-10
- Earliest claimed: 2019-12-06
- Assignees: Motional AD LLC
- Applicants: Motional Ad LLC
- Inventors: Michael MAASS; Karl ROBINSON; Lucky MUNRO
- Web page: https://patentgrep.com/patent/US20210176071A1

## CPC

- H04L 9/3247: {involving digital signatures}
- H04L 63/068: {using time-dependent keys, e.g. periodically changing keys (cryptographic mechanisms or cryptographic arrangements for controlling usage of secret information H04L9/088)}
- H04L 9/0869: {involving random numbers or seeds}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04L 63/123: {received data contents, e.g. message integrity}
- H04L 67/025: for remote control or remote monitoring of applications
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04W 4/46: for vehicle-to-vehicle communication [V2V]
- H04W 12/033: of the user plane, e.g. user's traffic
- H04W 12/041: Key generation or derivation
- H04W 12/06: Authentication
- G01C 21/28: with correlation of data from several navigational instruments
- H04L 2209/84: Vehicles
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- G01C: MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY (measuring liquid level G01F; radio navigation, determining distance or velocity by use of propagation effects, e.g. Doppler effects, propagation time, of radio waves, analogous arrangements using other waves G01S)

## Abstract

This disclosure describes a cyber-security protocol for validating messages being exchanged between two devices of an autonomous vehicle. The protocol includes the independent generation of multiple encryption or session keys by both devices. The encryption keys are generated based on a random number provided by each device. In some embodiments, the random numbers can be accompanied by a shared secret key installed on both devices that can help prevent an unauthorized device from creating a shared set of encryption keys with one of the devices. Including a hash generated using one of the encryption keys and a message sequence counter value in each message can help prevent the injection of previously transmitted messages as a means of disturbing operation of the autonomous vehicle.

## Claims

### Claim 1

A method for authenticating communications received from a first device of an autonomous vehicle by a second device of the autonomous vehicle, the method comprising:
performing, using a processing circuit of the second device, a keying operation, comprising:
exchanging randomly generated numbers with the first device; and
generating a plurality of encryption keys using the randomly generated numbers;
receiving at the second device a first message including:
a first message sequence counter value; and
a first hash generated using a first encryption key of the plurality of encryption keys;
after receiving the first message, receiving a second message at the second device that includes a second message sequence counter value and a second hash generated using the first encryption key;
in accordance with a determination that the second message sequence counter value is greater than the first message sequence counter value, authenticating the second message as having been received from the first device;
after receiving the second message, receiving a third message that includes a third message sequence counter value and a third hash generated using the second encryption key of the plurality of encryption keys; and
in accordance with a determination that the third message sequence counter value is less than the second message sequence counter value and the second encryption key used to generate the third hash is different than the first encryption key, authenticating the third message as having been received from the first device.

### Claim 2 (depends on 1)

The method of claim 1, further comprising authenticating the randomly generated numbers during the keying operation by confirming a portion of the message accompanying the numbers corresponds with a key shared by both the first and second devices.

### Claim 3 (depends on 1)

The method of claim 1, wherein the keying operation further comprises a keying communication and a keying response communication that are transmitted within discrete windows of time.

### Claim 4 (depends on 1)

The method of claim 1, wherein performing the keying operation comprises initiating the keying operation by the second device.

### Claim 5 (depends on 1)

The method of claim 1, wherein exchanging randomly generated numbers comprises sending, by the second device, a keying response communication to the first device in response to receiving, by the second device, a keying request communication from the first device, wherein the keying response communication comprises a first randomly generated number of the randomly generated numbers and a test message.

### Claim 6 (depends on 5)

The method of claim 5, wherein exchanging randomly generated numbers comprises receiving, from the first device, a keying acknowledgement at the second device after sending the randomly generated number from the second device.

### Claim 7 (depends on 6)

The method of claim 6, wherein the keying acknowledgement comprises a fourth hash generated by a third encryption key of the encryption keys and the test message.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first and second devices both independently generate the plurality of encryption keys during the keying operation.

### Claim 9 (depends on 1)

The method of claim 1, wherein an unused one of the encryption keys is used each time a register of the message sequence counter resets.

### Claim 10 (depends on 1)

The method of claim 1, wherein the first and second message sequence counter values are generated using a 32-bit register and the plurality of encryption keys comprises at least 255 encryption keys organized in a table.

### Claim 11 (depends on 1)

The method of claim 1, wherein the plurality of encryption keys are regenerated in response to predetermined criteria.

### Claim 12 (depends on 1)

The method of claim 1, further comprising ceasing communication between the first and second devices after receiving a threshold number of non-authenticated messages.

### Claim 13 (depends on 1)

The method of claim 1, wherein the first device comprises a sensor configured to support navigation of the autonomous vehicle.

### Claim 14 (depends on 13)

The method of claim 13, wherein the sensor is a velocity sensor or an object detection sensor.

### Claim 15 (depends on 1)

The method of claim 1, wherein the first, second and third messages received from the first device at the second device are transmitted across a first channel and the second device is configured to transmit messages to the first device using a second channel that is discrete from the first channel and wherein the first and second devices are configured to perform independent rekeying operations for both the first channel and the second channel.

### Claim 16 (depends on 15)

The method of claim 15, wherein the communications comprise sensor data pertaining to autonomous driving of the autonomous vehicle that are sent to the second device from the first device.

### Claim 17 (depends on 1)

The method of claim 1, further comprising, in accordance with a determination that the second message sequence counter value is less than or equal to the first message sequence counter value, disregarding the second message.

### Claim 18 (depends on 17)

The method of claim 17, wherein authenticating the third message is performed in accordance with a determination that the third hash was generated by the second encryption key and that the second encryption key is one of the plurality of encryption keys.

### Claim 19

A non-transitory computer-readable storage medium storing instructions configured to be executed by one or more processing circuits of a first device of an autonomous vehicle cause the first device to carry out steps comprising:
performing a keying operation, comprising:
exchanging randomly generated numbers with a second device of the autonomous vehicle; and
generating a plurality of encryption keys using the randomly generated numbers;
transmitting to the second device a first message including:
a first message sequence counter value; and
a first hash generated using a first encryption key of the plurality of encryption keys;
after transmitting the first message, transmitting a second message to the second device, the second message comprising a second message sequence counter value that is greater than the first message sequence counter value and a second hash generated using the first encryption key; and
after transmitting the second message, transmitting a third message that comprises a third message sequence counter value that is less than the second message sequence counter value and a third hash generated using a second encryption key of the plurality of encryption keys that is different than the first encryption key.

### Claim 20

An autonomous vehicle, comprising:
a first device having a first processing circuit;
a second device having a second processing circuit; and
memory storing one or more programs configured to be executed by the first and second processing circuits, the one or more programs including instructions for:
performing a keying operation, comprising:
exchanging randomly generated numbers between the first device and the second device; and
generating a plurality of encryption keys using the randomly generated numbers;
transmitting to the second device using the first processing circuit a first message including a first message sequence counter value and a first hash generated using the first encryption key of the plurality of encryption keys;
receiving the first message at the second device;
after transmitting the first message, transmitting to the second device using the first processing circuit a second message that includes a second message sequence counter value that is greater than the first message sequence counter value and a second hash generated using the first encryption key;
receiving the second message at the second device;
in accordance with a determination by the second processing circuit that the second message sequence counter value is greater than the first message sequence counter value, authenticating the second message as having been received from the first device;
after transmitting the second message, transmitting to the second device using the first processing circuit a third message that includes a third message sequence counter value and a third hash generated using a second encryption key of the plurality of encryption keys; and
in accordance with a determination by the second processing circuit that the third message sequence counter value is less than the second message sequence counter value and the second encryption key used to generate the third hash is different than the first encryption key, authenticating the third message as having been received from the first device.
