# US 2025/0219841 A1 · Secure communications using pre-shared keys and live membership

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

- Number: US 2025/0219841 A1
- Document ID: US20250219841A1
- Status: Published application
- Kind: A1
- Application number: 18/401,044
- Filed: 2023-12-29
- Published: 2025-07-03
- Earliest claimed: 2023-12-29
- Assignees: Infineon Technologies AG
- Applicants: Infineon Technologies AG
- Inventors: Alexander Zeh; Kenneth William Tindell
- Web page: https://patentgrep.com/patent/US20250219841A1

## CPC

- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- H04L 12/40104: {Security; Encryption; Content protection (cryptographic protocols H04L9/00; protocols for network security H04L63/00)}
- 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 12/40006: {Architecture of a communication node (current supply arrangements H04L12/10; intermediate storage or scheduling H04L49/90)}
- H04L 63/062: {for key distribution, e.g. centrally by trusted party (cryptographic mechanisms or cryptographic arrangements for key distribution involving a central third party H04L9/0819)}
- H04L 2012/40215: {Controller Area Network CAN}
- H04L 2209/84: Vehicles
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The described techniques address issues to achieve key agreement without the need to exchange separate key agreement messages and, consequently, meets the stringent starting time requirements for real-time control systems. This is achieved using a group-wide key counter, with each node storing the latest value of this counter that was observed via the last received secured message. This counter value increases monotonically, and nodes maintain synchronization by transmitting this counter value (or a representation of the counter value) in each secured message. The use of key counters may be extended to guard against weak replay attacks via the implementation of a live membership tracking solution, which defines one or more membership groups. Each node within a membership group may request, or “challenge” other nodes with the same membership group at any time to verify their online status, and this online status may be maintained over time.

## Claims

### Claim 1

A first node in a system of interconnected nodes configured to communicate over a bus, the first node comprising:
processing circuitry configured to:
derive a temporary session key from a shared secret and a counter value in accordance with a cryptographic function; and
generate a secured message using the temporary session key,
wherein the secured message includes a first field comprising a representation of the counter value, and a second field comprising a representation of a query value that indicates whether the first node is requesting an online status verification from one or more other nodes within the system of interconnected nodes; and
communication circuitry configured to transmit the secured message to the bus.

### Claim 2 (depends on 1)

The first node of claim 1, wherein the processing circuitry is configured to determine whether a second node in the system of interconnected nodes is online based upon a received secured message that is received via the bus, the received secured message comprising a response to an online status verification sent over the bus by the first node.

### Claim 3 (depends on 2)

The first node of claim 2, wherein the processing circuitry is configured to accept the received secured message based upon the response to the online status verification sent over the bus.

### Claim 4 (depends on 2)

The first node of claim 2, wherein the response to the online status verification is represented by a third field contained in the received secured message that indicates an online status of the second node.

### Claim 5 (depends on 4)

The first node of claim 4, wherein the processing circuitry is configured to store an indication of a determined online status of the plurality of nodes based upon the received secured message.

### Claim 6 (depends on 4)

The first node of claim 4, wherein the third field comprises a bit string, and
wherein the processing circuitry is configured to determine whether the second node is online by determining, for the received secured message, whether a bit in the bit string having a predetermined bit position identified with the first node indicates that the first node had requested online status verification.

### Claim 7 (depends on 1)

The first node of claim 1, wherein the representation of the query value comprises a one-bit binary value or an encoded value that uniquely identifies the first node.

### Claim 8 (depends on 1)

The first node of claim 1, wherein the representation of the counter value in the secured message enables one or more other nodes in the system of interconnected nodes to derive the temporary session key.

### Claim 9 (depends on 1)

The first node of claim 1, wherein the system of interconnected nodes are configured to communicate over the bus in accordance with a multi-drop scheme.

### Claim 10 (depends on 1)

The first node of claim 1, wherein the communication circuitry is configured to transmit the secured message in accordance with a communication protocol comprising one of a Controller Area Network (CAN) communication protocol, a Controller Area Network Flexible Data-Rate (CAN FD) communication protocol, a Controller Area Network Extra Long (CAN XL) communication protocol, or a multi-drop Ethernet communication protocol.

### Claim 11 (depends on 1)

The first node of claim 1, wherein the secured message forms at least part of a communication protocol frame, and
wherein the communication protocol frame comprises one of a Controller Area Network (CAN) communication protocol frame, a Controller Area Network Flexible Data-Rate (CAN FD) communication protocol frame, a Controller Area Network Extra Long (CAN XL) communication protocol frame, or an Ethernet communication protocol frame.

### Claim 12

A first node in a system of interconnected nodes configured to communicate over a bus, the first node comprising:
communication circuitry configured to receive a secured message via the bus,
wherein the secured message includes (i) a first field comprising a representation of a counter value that was used to derive a temporary session key for generating the secured message in accordance with a cryptographic function prior to the secured message being received, and (ii) a second field containing an encoded value that indicates whether a second node affirmatively responded to an online status verification request from the first node; and
processing circuitry configured to:
determine a validity of the counter value that is computed from the representation of the counter value contained in the first field; and
accept or reject the secured message based upon (i) the determined validity of the counter value, and (ii) a determination, based upon the encoded value in the second field, of whether the second node affirmatively responded to the online status verification request.

### Claim 13 (depends on 12)

The first node of claim 12, wherein:
the second field comprises a bit string including a plurality of bits,
a predetermined bit position of each one of the plurality of bits is identified with a respective node from among the system of interconnected nodes, and
the encoded value in the second field corresponds to a predetermined bit position identified with the first node.

### Claim 14 (depends on 12)

The first node of claim 12, wherein the previously-transmitted secured message includes a third field comprising a representation of a query value that indicates whether the first node is requesting an online status verification from the second node.

### Claim 15 (depends on 14)

The first node of claim 14, wherein the representation of the query value comprises a one-bit binary value or an encoded value that uniquely identifies the first node.

### Claim 16 (depends on 12)

The first node of claim 12, wherein the system of interconnected nodes are configured to communicate over the bus in accordance with a multi-drop scheme.

### Claim 17 (depends on 12)

The first node of claim 12, wherein the communication circuitry is configured to transmit the secured message in accordance with a communication protocol comprising one of a Controller Area Network (CAN) communication protocol, a Controller Area Network Flexible Data-Rate (CAN FD) communication protocol, a Controller Area Network Extra Long (CAN XL) communication protocol, or a multi-drop Ethernet communication protocol.

### Claim 18 (depends on 12)

The first node of claim 12, wherein the secured message forms at least part of a communication protocol frame, and
wherein the communication protocol frame comprises one of a Controller Area Network (CAN) communication protocol frame, a Controller Area Network Flexible Data-Rate (CAN FD) communication protocol frame, a Controller Area Network Extra Long (CAN XL) communication protocol frame, or an Ethernet communication protocol frame.

### Claim 19

A first node in a system of interconnected nodes configured to communicate over a bus, the first node comprising:
communication circuitry configured to receive a secured message via the bus,
wherein the secured message includes (i) a first field comprising a representation of a counter value that was used to derive a temporary session key for generating the secured message in accordance with a cryptographic function prior to the secured message being received, and (ii) a second field comprising a representation of a query value that indicates a request for online status verification; and
processing circuitry configured to:
determine a validity of the counter value that is computed from the representation of the counter value contained in the first field; and
accept or reject the secured message based upon the determined validity of the counter value; and
wherein the communication circuitry is further configured, when the secured message is accepted, to generate a next scheduled secured message for transmission to the bus that includes a third field containing an encoded value that indicates an affirmative response to the online status verification request.

### Claim 20 (depends on 19)

The first node of claim 19, wherein:
the third field comprises a bit string including a plurality of bits, and
wherein each bit in the bit string is identified with each respective node of the system of interconnected nodes by way of a respective predetermined bit position within the bit string.

### Claim 21 (depends on 19)

The first node of claim 19, wherein the processing circuitry is configured to store a local bit string comprising an indication, for each respective bit in the bit string, of whether each node in the system of interconnected nodes has requested an online status verification from the first node.

### Claim 22 (depends on 21)

The first node of claim 21, wherein the communication circuitry is configured to transmit the next scheduled secured message to the bus comprising, as the bit string included in the third field, the local bit string.

### Claim 23 (depends on 22)

The first node of claim 22, wherein the processing circuitry is configured to reset a value of each bit in the local bit string to a predetermined initial value after transmitting the next scheduled secured message.

### Claim 24 (depends on 19)

The first node of claim 19, wherein the representation of the query value comprises a one-bit binary value or an encoded value that uniquely identifies the second node.

### Claim 25 (depends on 19)

The first node of claim 19, wherein the system of interconnected nodes are configured to communicate over the bus in accordance with a multi-drop scheme.

### Claim 26 (depends on 19)

The first node of claim 19, wherein the communication circuitry is configured to transmit the next scheduled secured message in accordance with a communication protocol comprising one of a Controller Area Network (CAN) communication protocol, a Controller Area Network Flexible Data-Rate (CAN FD) communication protocol, a Controller Area Network Extra Long (CAN XL) communication protocol, or a multi-drop Ethernet communication protocol.

### Claim 27 (depends on 19)

The first node of claim 19, wherein the secured message and the next scheduled secured message form at least part of a communication protocol frame, and
wherein the communication protocol frame comprises one of a Controller Area Network (CAN) communication protocol frame, a Controller Area Network Flexible Data-Rate (CAN FD) communication protocol frame, a Controller Area Network Extra Long (CAN XL) communication protocol frame, or an Ethernet communication protocol frame.

### Claim 28

A node in a system of interconnected nodes that form part of a secured control system and are configured to communicate over a bus, comprising:
processing circuitry configured to:
generate a secured message using a temporary session key,
wherein the secured message includes (i) a first field comprising a representation of a query value that indicates whether the node is requesting an online status verification from other nodes within the system of interconnected nodes, and (ii) a second field that indicates whether the node has affirmatively responded to an online status verification request from any node from among the system of interconnected nodes, and
store an indication of a current online status of each node in the system of interconnected nodes; and
communication circuitry configured to transmit the secured message to the bus.

### Claim 29 (depends on 28)

The node of claim 28, wherein the stored indication of the current online status of each node in the system of interconnected nodes comprises a bit string, and
wherein a value of each bit in the bit string indicates whether each node in the system of interconnected nodes is currently online.

### Claim 30 (depends on 29)

The node of claim 29, wherein the processing circuitry is configured to determine the current online status of each node in the system of interconnected nodes based upon an accumulation of bit values from a plurality of received secured messages.

### Claim 31 (depends on 29)

The node of claim 29, wherein the bit value of each bit in the bit string is reset to a predetermined value after expiration of a threshold time period.

### Claim 32 (depends on 28)

The node of claim 28, wherein the communication circuitry is configured to transmit the secured message in accordance with a communication protocol comprising one of a Controller Area Network (CAN) communication protocol, a Controller Area Network Flexible Data-Rate (CAN FD) communication protocol, a Controller Area Network Extra Long (CAN XL) communication protocol, or a multi-drop Ethernet communication protocol.

### Claim 33

A method for transmitting a secured message via a node in a system of interconnected nodes configured to communicate over a bus, the method comprising:
deriving a temporary session key from a shared secret and a counter value in accordance with a cryptographic function;
generating a secured message using the temporary session key,
wherein the secured message includes a first field comprising a representation of the counter value, and a second field comprising a representation of a query value that indicates whether the node is requesting an online status verification from one or more other nodes within the system of interconnected nodes; and
transmitting the secured message to the bus.

### Claim 34 (depends on 33)

The method of claim 33, wherein transmitting the secured message comprises:
transmitting the secured message in accordance with a communication protocol comprising one of a Controller Area Network (CAN) communication protocol, a Controller Area Network Flexible Data-Rate (CAN FD) communication protocol, a Controller Area Network Extra Long (CAN XL) communication protocol, or a multi-drop Ethernet communication protocol.

### Claim 35

A method for receiving a secured message via a first node in a system of interconnected nodes configured to communicate over a bus, the method comprising:
receiving a secured message via the bus,
wherein the secured message includes (i) a first field comprising a representation of a counter value that was used to derive a temporary session key for generating the secured message in accordance with a cryptographic function prior to the secured message being received, and (ii) a second field containing an encoded value that indicates whether a second node affirmatively responded to an online status verification request from the first node;
determining a validity of the counter value that is computed from the representation of the counter value contained in the first field; and
accepting or rejecting the secured message based upon (i) the determined validity of the counter value, and (ii) a determination, based upon the encoded value in the second field, of whether the second node affirmatively responded to the online status verification request.

### Claim 36 (depends on 35)

The method of claim 35, wherein receiving the secured message comprises:
receiving the secured message in accordance with a communication protocol comprising one of a Controller Area Network (CAN) communication protocol, a Controller Area Network Flexible Data-Rate (CAN FD) communication protocol, a Controller Area Network Extra Long (CAN XL) communication protocol, or a multi-drop Ethernet communication protocol.

### Claim 37

A method for communicating via a first node in a system of interconnected nodes configured to communicate over a bus, the method comprising:
receiving a secured message via the bus,
wherein the secured message includes (i) a first field comprising a representation of a counter value that was used to derive a temporary session key for generating the secured message in accordance with a cryptographic function prior to the secured message being received, and (ii) a second field comprising a representation of a query value that indicates a request for online status verification,
determining a validity of the counter value that is computed from the representation of the counter value contained in the first field;
accepting or rejecting the secured message based upon the determined validity of the counter value; and
when the first secured message is accepted, generating a next scheduled secured message for transmission to the bus that includes a third field containing an encoded value that indicates an affirmative response to the online status verification request.

### Claim 38 (depends on 37)

The method of claim 37, wherein receiving the first secured message comprises:
receiving the secured message in accordance with a communication protocol comprising one of a Controller Area Network (CAN) communication protocol, a Controller Area Network Flexible Data-Rate (CAN FD) communication protocol, a Controller Area Network Extra Long (CAN XL) communication protocol, or a multi-drop Ethernet communication protocol, and
wherein transmitting the second secured message comprises:
transmitting the next scheduled secured message in accordance with a communication protocol comprising one of a Controller Area Network (CAN) communication protocol, a Controller Area Network Flexible Data-Rate (CAN FD) communication protocol, a Controller Area Network Extra Long (CAN XL) communication protocol, or a multi-drop Ethernet communication protocol.

### Claim 39

A method for communicating via a node in a system of interconnected nodes that form part of a secured control system and are configured to communicate over a bus, the method comprising:
generating a secured message using a temporary session key,
wherein the secured message includes (i) a first field comprising a representation of a query value that indicates whether the node is requesting an online status verification from other nodes within the system of interconnected nodes, and (ii) a second field that indicates whether the node has affirmatively responded to an online status verification request from any node within the system of interconnected nodes,
storing an indication of a current online status of each node in the system of interconnected nodes; and
transmitting the secured message to the bus.

### Claim 40 (depends on 39)

The method of claim 39, wherein transmitting the secured message comprises:
transmitting the secured message in accordance with a communication protocol comprising one of a Controller Area Network (CAN) communication protocol, a Controller Area Network Flexible Data-Rate (CAN FD) communication protocol, a Controller Area Network Extra Long (CAN XL) communication protocol, or a multi-drop Ethernet communication protocol.
