# US 2021/0006567 A1 · Using crc for sender authentication in a serial network

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

- Number: US 2021/0006567 A1
- Document ID: US20210006567A1
- Status: Published application
- Kind: A1
- Application number: 16/459,732
- Filed: 2019-07-02
- Published: 2021-01-07
- Earliest claimed: 2019-07-02
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Yaron Sella; Kevin Holcomb; Raghuram S. Sudhaakar
- Web page: https://patentgrep.com/patent/US20210006567A1

## CPC

- H04L 63/126: {the source of the received data}
- H03M 13/09: Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
- H04L 12/40: Bus networks
- H04L 12/4625: {Single bridge functionality, e.g. connection of two networks over a single bridge}
- H04W 12/009: {specially adapted for networks, e.g. wireless sensor networks, ad-hoc networks, RFID networks or cloud networks}
- H04W 12/108: Source integrity
- H04L 2012/40215: {Controller Area Network CAN}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

In one embodiment, a sender node in a serial network identifies a message identifier for a packet to be sent by the sender node. The sender node selects a cyclical redundancy check (CRC) initialization vector associated with the message identifier. The sender node generates a CRC value for the packet, based on the selected initialization vector. The sender node sends the packet via the serial network. The sent packet includes the message identifier and the generated CRC value. In turn, a receiver node that receives the packet uses the generated CRC value to authenticate the sender node.

## Claims

### Claim 1

A method comprising:
identifying, by a sender node in a serial network, a message identifier for a packet to be sent by the sender node;
selecting, by the sender node, a cyclical redundancy check (CRC) initialization vector associated with the message identifier;
generating, by the sender node, a CRC value for the packet, based on the selected initialization vector; and
sending, by the sender node, the packet via the serial network, wherein the sent packet includes the message identifier and the generated CRC value, and wherein a receiver node that receives the packet uses the generated CRC value to authenticate the sender node.

### Claim 2 (depends on 1)

The method as in claim 1, wherein the serial network comprises a Controller Area Network (CAN) bus.

### Claim 3 (depends on 1)

The method as in claim 1, further comprising:
verifying, by a controller of the sender node and prior to sending the packet via the serial network, that a CRC initialization vector is associated with the message identifier of the packet.

### Claim 4 (depends on 3)

The method as in claim 3, wherein the controller is configured to drop the packet, prior to sending the packet, if the controller does not have a CRC initialization vector associated with the message identifier of the packet.

### Claim 5 (depends on 3)

The method as in claim 3, wherein the controller is configured to select a default CRC initialization vector from which the CRC value is generated, when controller does not have a CRC initialization vector associated with the message identifier of the packet.

### Claim 6 (depends on 1)

The method as in claim 1, further comprising:
mainlining, by the sender node, a list of message identifiers that the sender node can use, wherein the CRC initialization vector is associated with each message identifier in the list.

### Claim 7 (depends on 1)

The method as in claim 1, wherein the receiver node that receives the packet uses the generated CRC value to authenticate the sender node by:
selecting a CRC initialization vector associated with the message identifier;
generating a CRC value based on the CRC initialization vector selected by the receiver node; and
authenticating the sender node by comparing the CRC value included in the packet with the CRC value generated by the receiver node.

### Claim 8 (depends on 1)

The method as in claim 1, wherein the CRC initialization vector is specified as part of an initialization of the sender node.

### Claim 9 (depends on 1)

The method as in claim 1, wherein the serial network is part of a vehicle.

### Claim 10

A method comprising:
receiving, at a receiver node in a serial network, a packet from a sender node that includes a message identifier and a cyclical redundancy check (CRC) value;
selecting, by the receiver node, a CRC initialization vector associated with the message identifier;
generating, by the receiver node, a CRC value based on the selected initialization vector; and
authenticating, by the receiver node, the sender node by comparing the generated CRC value to the CRC value included in the packet.

### Claim 11 (depends on 10)

The method as in claim 10, further comprising:
determining, by the receiver node, that the generated CRC value and the CRC value included in the packet do not match.

### Claim 12 (depends on 11)

The method as in claim 11, further comprising:
dropping, by the receiver node, the packet, based on the determination.

### Claim 13 (depends on 11)

The method as in claim 11, further comprising:
determining, by the receiver node, whether the generated CRC value and the CRC value included in the packet do not match due to a communication error in the serial network.

### Claim 14 (depends on 10)

The method as in claim 10, wherein the serial network comprises a Controller Area Network (CAN) bus.

### Claim 15 (depends on 10)

The method as in claim 10, wherein the sender node sends the packet by:
identifying a message identifier for the packet;
selecting a CRC initialization vector associated with the message identifier; and
generating, by the sender node, the CRC value included in the packet, based on the initialization vector selected by the sender node.

### Claim 16 (depends on 10)

The method as in claim 10, wherein the serial network is part of a vehicle.

### Claim 17

An apparatus, comprising:
one or more network interfaces to communicate with a serial network;
a processor coupled to the network interfaces and configured to execute one or more processes; and
a memory configured to store a process executable by the processor, the process when executed configured to:
identify a message identifier for a packet to be sent by the apparatus via the serial network;
select a cyclical redundancy check (CRC) initialization vector associated with the message identifier;
generate a CRC value for the packet, based on the selected initialization vector; and
send the packet via the serial network, wherein the sent packet includes the message identifier and the generated CRC value, and wherein a receiver node that receives the packet uses the generated CRC value to authenticate the apparatus.

### Claim 18 (depends on 17)

The apparatus as in claim 17, wherein the serial network comprises a Controller Area Network (CAN) bus.

### Claim 19 (depends on 17)

The apparatus as in claim 17, wherein the receiver node that receives the packet uses the generated CRC value to authenticate the apparatus by:
selecting a CRC initialization vector associated with the message identifier;
generating a CRC value based on the CRC initialization vector selected by the receiver node; and
authenticating the apparatus by comparing the CRC value included in the packet with the CRC value generated by the receiver node.

### Claim 20 (depends on 17)

The apparatus as in claim 17, wherein the serial network is part of a vehicle.
