Using CRC for sender authentication in a serial network
AssigneeCisco Technology, Inc.
InventorsYaron Sella, Kevin Holcomb, Raghuram S. Sudhaakar
Life of this patent
Estimating the term…
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.
Claims20
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;
- maintaining, by the sender node, a mapping between a plurality of cyclical redundancy check (CRC) initialization vectors and a plurality of message identifiers;
- selecting, by the sender node and based on the mapping maintained by the sender node, CRC initialization vector among the plurality of CRC initialization vectors, wherein the selected CRC initialization vector is 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.
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;
- maintaining, by the receiver node, a mapping between a plurality of CRC initialization vectors and a plurality of message identifiers;
- selecting, by the receiver node and based on the mapping maintained by the receiver node, a CRC initialization vector among the plurality of CRC initialization vectors, wherein the selected CRC initialization vector is 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.
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;
- maintain a mapping between a plurality of cyclical redundancy check (CRC) initialization vectors and a plurality of message identifiers;
- select, based on the mapping maintained by the apparatus, CRC initialization vector among the plurality of CRC initialization vectors, wherein the selected CRC initialization vector is 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.
Dependencies are inferred from the claim text.