# US 2022/0045844 A1 · Cryptographic Data Communication Apparatus

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

- Number: US 2022/0045844 A1
- Document ID: US20220045844A1
- Status: Published application
- Kind: A1
- Application number: 17/233,591
- Filed: 2021-04-19
- Published: 2022-02-10
- Earliest claimed: 2020-08-05
- Assignees: Mellanox Technologies, Ltd.
- Applicants: Mellanox Technologies, Ltd.
- Inventors: Miriam Menes; Noam Bloch; Adi Menachem; Idan Burstein; Ariel Shahar; Maxim Fudim
- Web page: https://patentgrep.com/patent/US20220045844A1

## CPC

- H04L 9/0618: {Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation}
- H04L 9/0625: {with splitting of the data block into left and right halves, e.g. Feistel based algorithms, DES, FEAL, IDEA or KASUMI}
- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- H04L 9/088: {Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms (network architectures or network communication protocols for using time-dependent keys in a packet data network H04L63/068)}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/3247: {involving digital signatures}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In one embodiment, data communication apparatus includes a network interface for connection to a network and configured to receive a sequence of data packets from a remote device over the network, the sequence including data blocks, ones of the data blocks having block boundaries that are not aligned with payload boundaries of the packets, and packet processing circuitry to cryptographically process the data blocks using a block cipher so as to write corresponding cryptographically processed data blocks to a memory, while holding segments of respective ones of the received data blocks in the memory, such that the packet processing circuitry stores a first segment of a data block of a first packet in the memory until a second packet is received, and then cryptographically processes the first and second segments together so as to write a corresponding cryptographically processed data block to the memory.

## Claims

### Claim 1

Data communication apparatus, comprising:
a network interface which comprises one or more ports for connection to a packet data network and is configured to receive a sequence of data packets from a remote device over the packet data network via the one or more ports responsively to a data transfer request, the received sequence including received data blocks, ones of the received data blocks having block boundaries that are not aligned with payload boundaries of the packets, such that respective ones of the received data blocks are divided into two respective segments contained in successive respective ones of the packets in the sequence; and
packet processing circuitry configured to cryptographically process the received data blocks using a block cipher so as to write corresponding cryptographically processed data blocks to a memory, while holding segments of respective ones of the received data blocks in the memory, such that the packet processing circuitry stores a first segment of a respective one of the received data blocks of a first one of the packets in the memory until a second one of the packets is received via the network interface, and then cryptographically processes the first and second segments together so as to write a corresponding cryptographically processed data block to the memory.

### Claim 2 (depends on 1)

The apparatus according to claim 1, further comprising a host interface configured to be connected to a host computer having a processing unit configured to manage fulfilment of the data transfer request, wherein the packet processing circuitry is configured to cryptographically process the received data blocks using the block cipher so as to write the corresponding cryptographically processed data blocks to the host computer via the host interface, while holding segments of respective ones of the received data blocks in the memory, such that the packet processing circuitry stores the first segment of the respective received data block of the first packet in the memory until the second packet is received via the network interface, and then cryptographically processes the first and second segments together so as to write the corresponding cryptographically processed data block to the host computer via the host interface.

### Claim 3 (depends on 1)

The apparatus according to claim 1, wherein the packet processing circuitry is configured to:
find that the second segment is a partial block; and
retrieve the first segment from the memory, and cryptographically process the first and second segments together as a whole block using the block cipher, responsively to the second segment being a partial block.

### Claim 4 (depends on 1)

The apparatus according to claim 1, wherein each of the data packets includes whole data blocks for cryptographically processing by the block cipher.

### Claim 5 (depends on 1)

The apparatus according to claim 1, wherein the packet processing circuitry is configured to:
read cryptographic parameters registered in the memory by a processing unit, the cryptographic parameters including an initial cryptographic key and an initial value;
compute a first cryptographic key responsively to the initial cryptographic key and the initial value;
cryptographically process a first block of the received data blocks responsively to the first cryptographic key;
compute an updated value responsively to the initial value and a size of the first block;
compute a second cryptographic key responsively to the initial cryptographic key and the updated value;
cryptographically process a second block of the received data blocks responsively to the second cryptographic key; and
write the cryptographically processed first block and second block to the memory.

### Claim 6 (depends on 5)

The apparatus according to claim 5, wherein the updated value is indicative of a storage location of the second block.

### Claim 7 (depends on 1)

The apparatus according to claim 1, wherein the packet processing circuitry is configured to encrypt the received data blocks using the block cipher so as to write corresponding ciphertext data blocks to the memory.

### Claim 8 (depends on 7)

The apparatus according to claim 7, wherein the packet processing circuitry is configured to: compute respective signatures of the received data blocks or the ciphertext data blocks; and write the computed signatures to the memory.

### Claim 9 (depends on 1)

The apparatus according to claim 1, wherein the packet processing circuitry is configured to decrypt the received data blocks using the block cipher so as to write corresponding plaintext data blocks to the memory.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein the packet processing circuitry is configured to: authenticate respective signatures of the received data blocks or the plaintext data blocks; and write respective ones of the plaintext data blocks to the memory responsively to respective ones of the signatures being authenticated.

### Claim 11

Data communication apparatus, comprising:
a network interface which comprises one or more ports for connection to a packet data network and is configured to receive a sequence of data packets from a remote device over the packet data network via the one or more ports responsively to a data transfer request, the received sequence including received data blocks;
packet processing circuitry, which is configured to:
read cryptographic parameters from a memory in which the parameters were registered by a processing unit, the cryptographic parameters including an initial cryptographic key and an initial value;
compute a first cryptographic key responsively to the initial cryptographic key and the initial value;
cryptographically process a first block of the received data blocks responsively to the first cryptographic key;
compute an updated value responsively to the initial value and a size of the first block;
compute a second cryptographic key responsively to the initial cryptographic key and the updated value;
cryptographically process a second block of the received data blocks responsively to the second cryptographic key; and
write the cryptographically processed first block and second block to the memory.

### Claim 12

Data communication apparatus, comprising:
packet processing circuitry configured to:
receive data from a memory responsively to a data transfer request; and
cryptographically process the received data in units of data blocks using a block cipher so as to add corresponding cryptographically processed data blocks to a sequence of data packets, the sequence including respective ones of the cryptographically processed data blocks having block boundaries that are not aligned with payload boundaries of respective one of the packets, such that respective ones of the cryptographically processed data blocks are divided into two respective segments, which are contained in successive respective ones of the packets in the sequence; and
a network interface which comprises one or more ports for connection to a packet data network and is configured to send the sequence of data packets to a remote device over the packet data network via the one or more ports.

### Claim 13 (depends on 12)

The apparatus according to claim 12, further comprising a host interface, which is configured to be connected to a host computer including a processing unit configured to manage fulfilment of the data transfer request, wherein the packet processing circuitry is configured to receive the data from the host computer over the host interface responsively to the data transfer request.

### Claim 14 (depends on 12)

The apparatus according to claim 12, wherein the packet processing circuitry is configured to:
receive a first data chunk from the memory;
find that the first data chunk includes a first partial block;
request a first additional data chunk from the memory, responsively to finding that the first data chunk includes the first partial block;
cryptographically process the first partial block and the first additional data chunk together as a whole block using the block cipher yielding a first cryptographically processed data block;
divide the first cryptographically processed data block into the first and second segments;
add the first segment to the first packet; and
store the second segment in the memory until the second packet is processed by the packet processing circuitry.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein the packet processing circuitry is configured to:
find the stored second segment in the memory;
request a second data chunk from the memory, responsively to the found second segment;
find that the second data chunk includes a second partial block;
request an additional second data chunk from the memory, responsively to finding that the second data chunk includes the second partial block;
cryptographically process the second data chunk without the second partial block using the block cipher yielding at least one second cryptographically processed data block;
cryptographically process the second partial block and the additional second data chunk together as a whole block using the block cipher yielding an additional second cryptographically processed data block;
divide the additional second cryptographically processed data block into third and fourth segments;
add the second segment, the at least one second cryptographically processed data block, and the third segment to the second packet; and
store the fourth segment in the memory until a third packet is processed by the packet processing circuitry.

### Claim 16 (depends on 12)

The apparatus according to claim 12, wherein each of the data packets includes respective whole ones of the cryptographically processed data blocks.

### Claim 17 (depends on 12)

The apparatus according to claim 12, wherein the packet processing circuitry is configured to:
read cryptographic parameters registered in the memory by a processing unit, the cryptographic parameters including an initial cryptographic key and an initial value;
compute a first cryptographic key responsively to the initial cryptographic key and the initial value;
cryptographically process a first block of the received data blocks responsively to the first cryptographic key;
compute an updated value responsively to the initial value and a size of the first block;
compute a second cryptographic key responsively to the initial cryptographic key and the updated value; and
cryptographically process a second block of the received data blocks responsively to the second cryptographic key.

### Claim 18 (depends on 17)

The apparatus according to claim 17, wherein the updated value is indicative of a storage location of the second block.

### Claim 19 (depends on 12)

The apparatus according to claim 12, wherein the packet processing circuitry is configured to encrypt the received data blocks using the block cipher so as to add corresponding ciphertext data blocks to the sequence of data packets.

### Claim 20 (depends on 19)

The apparatus according to claim 19, wherein the packet processing circuitry is configured to: compute respective signatures of the received data blocks or the ciphertext data blocks; and add the computed signatures to the sequence of data packets.

### Claim 21 (depends on 12)

The apparatus according to claim 12, wherein the packet processing circuitry is configured to decrypt the received data blocks using the block cipher so as to add corresponding plaintext data blocks to the sequence of data packets.

### Claim 22 (depends on 21)

The apparatus according to claim 21, wherein the packet processing circuitry is configured to: authenticate respective signatures of the received data blocks or the plaintext data blocks; and add respective ones of the plaintext data blocks to the sequence of data packets responsively to respective ones of the signatures being authenticated.

### Claim 23

Data communication apparatus, comprising:
packet processing circuitry configured to:
receive data from a memory responsively to a data transfer request; and
read cryptographic parameters registered in the memory by a processing unit, the cryptographic parameters including an initial cryptographic key and an initial value;
compute a first cryptographic key responsively to the initial cryptographic key and the initial value;
cryptographically process a first block of the received data responsively to the first cryptographic key;
compute an updated value responsively to the initial value and a size of the first block;
compute a second cryptographic key responsively to the initial cryptographic key and the updated value;
cryptographically process a second block of the received data blocks responsively to the second cryptographic key; and
packetize the first and second block in at least one packet; and
a network interface which comprises one or more ports for connection to a packet data network and is configured to send the at least one packet to a remote device over the packet data network via the one or more ports.
