# US 11,120,167 B2 · Block chain based validation of memory commands

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

- Number: US 11,120,167 B2
- Document ID: US11120167B2
- Status: Granted
- Kind: B2
- Application number: 16/362,757
- Filed: 2019-03-25
- Published: 2020-10-01
- Granted: 2021-09-14
- Earliest claimed: 2019-03-25
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Antonino Mondello; Alberto Troia
- Web page: https://patentgrep.com/patent/US11120167B2

## CPC

- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F 21/72: in cryptographic circuits
- G06F 21/52: during program execution, e.g. stack integrity {; Preventing unwanted data erasure; Buffer overflow}
- G06F 21/79: in semiconductor storage media, e.g. directly-addressable memories
- H04L 9/3236: {using cryptographic hash functions}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 9/3247: {involving digital signatures}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 63/12: {Applying verification of the received information (cryptographic mechanisms or cryptographic arrangements for data integrity or data verification H04L9/32)}
- G06F 21/76: in application-specific integrated circuits [ASIC] or field-programmable devices, e.g. field-programmable gate arrays [FPGA] or programmable logic devices [PLD]
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present disclosure includes apparatuses, methods, and systems for block chain validation of memory commands. An embodiment includes a memory, and circuitry configured to receive a command that is included in a block in a block chain for validating commands to be executed on the memory, wherein the command includes an anti-replay portion that is based on a previous command included in a previous block in the block chain, validate the command using the anti-replay portion of the command, and execute the command on the memory upon validating the command.

## Claims

### Claim 1

An apparatus, comprising:
a memory; and
a controller to:
receive a command that is included in a block in a block chain for validating commands to be executed on the memory, wherein the command includes an anti-replay portion that is based on a previous command included in a previous block in the block chain;
validate the command using the anti-replay portion of the command, wherein validating the command includes ensuring the command has not been previously executed on the memory; and
execute the command on the memory upon validating the command.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein:
the command includes a signature associated with a host; and
the controller is to validate the command using the signature of the command.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein:
the controller includes a register to store an anti-replay portion of the previous command; and
the controller is to validate the command using the anti-replay portion of the previous command stored in the register.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the controller is to validate the command by:
generating a cryptographic hash of the anti-replay portion of the previous command stored in the register; and
comparing the generated cryptographic hash with the anti-replay portion of the command.

### Claim 5 (depends on 3)

The apparatus of claim 3, wherein the controller is to validate the command by:
generating a digital signature for the anti-replay portion of the previous command stored in the register; and
comparing the generated digital signature with the anti-replay portion of the command.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein:
the command and the previous command are included in a sequence of commands to be executed on the memory;
the block in the block chain in which the command is included includes an indication of a position of the command in the sequence of commands; and
the controller is to validate the command using the indication of the position of the command.

### Claim 7

A method of operating memory, comprising:
receiving a command from a host, wherein:
the command is included in a block in a block chain for validating commands to be executed on the memory; and
the command includes an anti-replay portion that is based on a previous command included in a previous block in the block chain;
validating the command using the anti-replay portion of the command, wherein validating the command includes ensuring the command has not been previously executed on the memory; and
executing the command on the memory upon validating the command.

### Claim 8 (depends on 7)

The method of claim 7, wherein the method includes sending a command response to the host upon executing the command on the memory, wherein the command response includes:
a result of the execution of the command; and
the anti-replay portion of the command.

### Claim 9 (depends on 7)

The method of claim 7, wherein validating the command using the anti-replay portion of the command includes:
comparing the anti-replay portion of the command to an expected value for the anti-replay portion of the command; and
validating the command upon the comparison indicating the anti-replay portion of the command matches the expected value.

### Claim 10 (depends on 9)

The method of claim 9, wherein the expected value for the anti-replay portion of the command is a cryptographic hash of an anti-replay portion of the previous command.

### Claim 11 (depends on 9)

The method of claim 9, wherein the expected value for the anti-replay portion of the command is a signature for an anti-replay portion of the previous command.

### Claim 12 (depends on 7)

The method of claim 7, wherein the method includes:
receiving an additional command from the host, wherein:
the additional command is included in a subsequent block in the block chain; and
the additional command includes an anti-replay portion that is based on the command included in the block in the block chain;
validating the additional command using the anti-replay portion of the additional command; and
executing the additional command on the memory upon validating the additional command.

### Claim 13

A method of operating memory, comprising:
generating an anti-replay portion for validating a command to be executed on the memory, wherein:
the command is included in a block in a block chain for validating commands to be executed on the memory; and
the anti-replay portion for the command is generated from a previous command included in a previous block in the block chain; and
validating the command includes ensuring the command has not been previously executed on the memory; and
sending the command having the anti-replay portion to the memory.

### Claim 14 (depends on 13)

The method of claim 13, wherein the anti-replay portion for the command is a cryptographic hash of an anti-replay portion of the previous command.

### Claim 15 (depends on 14)

The method of claim 14, wherein the cryptographic hash comprises a SHA-256 cryptographic hash.

### Claim 16 (depends on 13)

The method of claim 13, wherein the anti-replay portion for the command is a signature for an anti-replay portion of the previous command.

### Claim 17 (depends on 16)

The method of claim 16, wherein the signature comprises an elliptical curve digital signature.

### Claim 18 (depends on 16)

The method of claim 16, wherein the signature is a digital signature generated using asymmetric cryptography.

### Claim 19 (depends on 16)

The method of claim 16, wherein the signature is generated using symmetric cryptography.

### Claim 20

A system, comprising:
a host having a host controller; and
a memory device having a memory and a controller;
wherein the host controller is to:
generate an anti-replay portion for a command to be executed on the memory, wherein:
the command is included in a block in a block chain for validating commands to be executed on the memory; and
the anti-replay portion for the command is generated from a previous command included in a previous block in the block chain; and
send the command having the anti-replay portion to the memory device; and
wherein the controller of the memory device is to:
validate the command using the anti-replay portion, wherein validating the command includes ensuring the command has not been previously executed on the memory; and
execute the command on the memory upon validating the command.

### Claim 21 (depends on 20)

The system of claim 20, wherein:
the controller of the memory device is to send a command response to the host upon executing the command on the memory, wherein the command response includes:
a result of the execution of the command; and
the anti-replay portion; and
the host controller is to validate the result of the execution of the command using the anti-replay portion.

### Claim 22 (depends on 21)

The system of claim 21, wherein:
the command response includes a signature associated with the memory device; and
the host controller is to validate the result of the execution of the command using the signature.

### Claim 23 (depends on 20)

The system of claim 20, wherein the host controller is to generate an anti-replay portion for an initial command included in an initial block in the block chain from a random value generated by the host.

### Claim 24 (depends on 23)

The system of claim 23, wherein the host controller is to generate the anti-replay portion for the initial command responsive to a powering of the memory device.
