# US 2017/0317691 A1 · Hardware-assisted protection for synchronous input/output

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

- Number: US 2017/0317691 A1
- Document ID: US20170317691A1
- Status: Published application
- Kind: A1
- Application number: 15/142,127
- Filed: 2016-04-29
- Published: 2017-11-02
- Earliest claimed: 2016-04-29
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: David F. Craddock; Matthias Klein; Eric N. Lais; Peter G. Sutton; Harry M. Yudenfriend
- Web page: https://patentgrep.com/patent/US20170317691A1

## CPC

- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- G06F 11/1616: {where the redundant component is an I/O device or an adapter therefor}
- H03M 13/09: Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
- H03M 13/6566: {Implementations concerning memory access contentions}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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)

## Abstract

Examples of techniques for hardware assisted data protection are disclosed. In one example implementation according to aspects of the present disclosure, a method may include receiving a read data record comprising at least one memory write, the read data record having an associated cyclic redundancy check (CRC). The method may further include calculating, by a hardware module, an expected CRC for the read data record. Additionally, the method may include comparing the expected CRC to a known CRC stored in a known CRC data store. Finally, the method may include authenticating the read data record when the expected CRC matches a corresponding known CRC.

## Claims

### Claim 1

A computer-implemented method for hardware assisted data protection, the method comprising:
receiving a read data record comprising at least one memory write, the read data record having an associated cyclic redundancy check (CRC);
calculating, by a hardware module, an expected CRC for the read data record;
comparing the expected CRC to a known CRC stored in a known CRC data store; and
authenticating the read data record when the expected CRC matches a corresponding known CRC.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
rejecting the read data record when the expected CRC does not match the corresponding known CRC.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the hardware module is comprised in an input/output (I/O) hub of a communications interface.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, wherein the known CRC for the read data record is stored in a corresponding device table entry of the I/O hub of the communications interface.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the at least one memory write is associated with a device table entry.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the at least one memory write is identified by a table entry on a peripheral component interconnect express (PCIe) bus number level.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the read data record is received from a persistent storage control unit.

### Claim 8

A computer-implemented method for hardware assisted data protection, the method comprising:
calculating, by a hardware module, a cyclic redundancy check (CRC) for a write data record to be written to a storage device, the write data record comprising at least one memory read response;
appending the CRC to the write data record; and
transmitting the write data record having the CRC appended thereto to the storage device.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, further comprising:
storing the CRC for the write data record in a known CRC data store.

### Claim 10 (depends on 8)

The computer-implemented method of claim 8, wherein the hardware module is comprised in an input/output (I/O) hub of a communications interface.

### Claim 11 (depends on 10)

The computer-implemented method of claim 10, wherein the CRC for the write data record is stored in a corresponding device table entry of the I/O hub of the communications interface.

### Claim 12 (depends on 8)

The computer-implemented method of claim 8, wherein the at least one memory read response is associated with a device table entry.

### Claim 13 (depends on 8)

The computer-implemented method of claim 8, wherein the at least one memory read response is identified by a table entry on a peripheral component interconnect express (PCIe) bus number level.

### Claim 14 (depends on 8)

The computer-implemented method of claim 8, wherein the storage device is a persistent storage control unit.

### Claim 15

A computer-implemented method for hardware assisted data protection, the method comprising:
calculating, by a hardware module, a cyclic redundancy check (CRC) for a write data record to be written to a storage device, the write data record comprising at least one memory read response;
appending the CRC to the write data record;
storing the CRC for the write data record in a known CRC data store;
transmitting the write data record having the CRC appended thereto to the storage device;
receiving a read data record comprising at least one memory write, the read data record having an associated CRC;
calculating, by the hardware module, an expected CRC for the read data record;
comparing the expected CRC to a known CRC stored in the known CRC data store; and
authenticating the read data record when the expected CRC matches a corresponding known CRC.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, further comprising:
rejecting the read data record when the expected CRC does not match the corresponding known CRC.

### Claim 17 (depends on 15)

The computer-implemented method of claim 15, wherein the hardware module is comprised in an input/output (I/O) hub of a communications interface.

### Claim 18 (depends on 17)

The computer-implemented method of claim 17, wherein the CRC for the write data record is stored in a corresponding device table entry of the I/O hub of the communications interface.

### Claim 19 (depends on 15)

The computer-implemented method of claim 15, wherein the at least one memory read response is associated with a device table entry.

### Claim 20 (depends on 15)

The computer-implemented method of claim 15, wherein the at least one memory read response is identified by a table entry on a peripheral component interconnect express (PCIe) bus number level.
