# US 2023/0275879 A1 · Secure communication of network traffic

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

- Number: US 2023/0275879 A1
- Document ID: US20230275879A1
- Status: Published application
- Kind: A1
- Application number: 18/175,204
- Filed: 2023-02-27
- Published: 2023-08-31
- Earliest claimed: 2016-09-23
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Tristan F. Schaap
- Web page: https://patentgrep.com/patent/US20230275879A1

## CPC

- H04L 63/0442: {wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for public-key encryption H04L9/30)}
- H04L 9/0877: {using additional device, e.g. trusted platform module [TPM], smartcard, USB or hardware security module [HSM]}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/0897: {involving additional devices, e.g. trusted platform module [TPM], smartcard or USB}
- H04L 9/3234: {involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token (network architectures or network communication protocols for supporting authentication of entities using an additional device in a packet data network H04L63/0853)}
- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- 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 63/126: {the source of the received data}
- H04L 63/0869: {for achieving mutual authentication (cryptographic mechanisms or cryptographic arrangements for mutual authentication H04L9/3273)}
- H04L 2209/127: Trusted platform modules [TPM]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques are disclosed relating to securely communicating traffic. In some embodiments, an apparatus includes a secure circuit storing keys usable to encrypt data communications between devices over a network The secure circuit is configured to store infomation that defines a set of usage criteria for the keys. The set of usage criteria specifies that a first key is dedicated to encrypting data being communicated from a first device to a second device. The secure circuit is configured to receive a request to encrypt a portion of a message with the fast key, the request indicating that the message is being sent from the first device to the second device, and to encrypt the portion of the message with the first key in response to determining that the set of usage criteria permits encryption with the first key for a message being sent from the first device to the second device.

## Claims

### Claim 1

An apparatus, comprising:
a first electronic control unit (ECU) included in a vehicle and configured to generate a message authentication code (MAC) for a data frame to be transmitted from the first ECU to a second ECU included in the vehicle; and
a first secure circuit coupled to the first ECU, wherein the first secure circuit is configured to encrypt the MAC with a first encryption key; and
wherein the first ECU is configured to transmit the data frame with the encrypted MAC included in the data frame.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the first ECU is configured to indicate, to the first secure circuit, that the second ECU is a destination of the data frame; and
wherein the first secure circuit is configured to determine whether to allow encryption of the MAC with the first encryption key based on the indicated destination of the data frame.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the first secure circuit is configured to:
store a plurality of encryption keys including the first encryption key;
store a policy that specifies, for ones of the plurality of encryption keys, a respective use and a respective set of associated ECUs, wherein the policy specifies that the first encryption key is to be used for encryption and is associated with a set of ECUs that includes the second ECU; and
determine whether to sign the MAC with the first encryption key based on the stored policy.

### Claim 4 (depends on 1)

The apparatus of claim 1, further comprising a network gateway configured to:
receive a set of keys from via a wireless network interface, wherein the set of keys includes the first encryption key; and
distribute the set of keys to a plurality of secure circuits including the first secure circuit.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein the first secure circuit is configured to:
after receiving the first encryption key from the network gateway, modify the first encryption key such that the first encryption key is unknown to the network gateway.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the first secure circuit is coupled to the first ECU via a first interconnect, and wherein the first ECU is configured to transmit the data frame to the second ECU via a second interconnect that is different from the first interconnect.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the first and second ECUs are further configured to control a respective one or more operations of the vehicle.

### Claim 8

A method comprising:
generating, by a first electronic control unit (ECU) included in a vehicle, a message authentication code (MAC) for a data frame to be transmitted from the first ECU to a second ECU included in the vehicle;
encrypting, by a first secure circuit coupled to the first ECU, the MAC with a first encryption key; and
transmitting, by the first ECU, the data frame with the encrypted MAC included in the data frame.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
decrypting, by a second secure circuit coupled to the second ECU, the encrypted MAC included in the data frame; and
verifying, by the second ECU, integrity of the data frame using the decrypted MAC.

### Claim 10 (depends on 8)

The method of claim 8, wherein encrypting the MAC with the first encryption key includes determining, by the first secure circuit, whether to allow encrypting of the MAC with the first encryption key based on an indication that the second ECU is a destination of the data frame.

### Claim 11 (depends on 8)

The method of claim 8, further comprising:
storing, by the first secure circuit, a plurality of encryption keys including the first encryption key;
storing, by the first secure circuit, a policy that specifies, for ones of the plurality of encryption keys:
a respective use; and
a respective set of associated ECUs; and
in response to determining that the policy specifies the first encryption key is to be used for encryption and is associated with the second ECU, signing, by the first secure circuit, the MAC with the first encryption key.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
receiving, by a network gateway, a set of keys from via a wireless network interface, wherein the set of keys includes the first encryption key; and
distributing, by the network gateway, the set of keys to a plurality of secure circuits including the first secure circuit.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
after receiving the first encryption key from the network gateway, modifying, by the first secure circuit, the first encryption key such that the first encryption key is unknown to the network gateway.

### Claim 14 (depends on 8)

The method of claim 8, further comprising:
controlling, by the first ECU, a first operation of the vehicle; and
controlling, by the second ECU, a second operation of the vehicle, different from the first operation.

### Claim 15

An apparatus, comprising:
a first electronic control unit (ECU), included in a vehicle, configured to receive, from a second ECU in the vehicle, a data frame including an encrypted message authentication code (MAC); and
a first secure circuit, coupled to the first ECU, configured to decrypt the encrypted MAC included in the data frame using a first encryption key that is stored in the first secure circuit and in a second secure circuit coupled to the second ECU; and
wherein the first ECU is configured to verify integrity of the data frame using the decrypted MAC.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the first ECU is configured to indicate, to the first secure circuit, that the second ECU is a source of the data frame; and
wherein the first secure circuit is configured to determine whether to allow decryption of the MAC with the first encryption key based on the indicated source of the data frame.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein the first secure circuit is configured to:
store a plurality of encryption keys including the first encryption key;
store a policy that specifies, for ones of the plurality of encryption keys, a respective use and a respective set of associated ECUs, wherein the policy specifies that the first encryption key is to be used for decryption and is associated with a set of ECUs that includes the second ECU; and
determine whether to decrypt the MAC with the first encryption key based on the stored policy.

### Claim 18 (depends on 15)

The apparatus of claim 15, further comprising a network gateway configured to:
receive a set of keys from via a wireless network interface, wherein the set of keys includes the first encryption key; and
distribute the set of keys to a plurality of secure circuits including the first secure circuit.

### Claim 19 (depends on 15)

The apparatus of claim 15, wherein the first secure circuit is coupled to the first ECU via a first interconnect, and wherein the first ECU is configured to receive the data frame from the second ECU via a second interconnect that is different from the first interconnect.

### Claim 20 (depends on 15)

The apparatus of claim 15, wherein the first and second ECUs are further configured to control a respective one or more operations of the vehicle.
