# US 2023/0274037 A1 · Secure Flash Controller

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

- Number: US 2023/0274037 A1
- Document ID: US20230274037A1
- Status: Published application
- Kind: A1
- Application number: 18/309,851
- Filed: 2023-05-01
- Published: 2023-08-31
- Earliest claimed: 2020-09-07
- Assignees: Mellanox Technologies, Ltd.
- Applicants: Mellanox Technologies, Ltd.
- Inventors: Yuval Itkin; Nir Eilam
- Web page: https://patentgrep.com/patent/US20230274037A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 21/79: in semiconductor storage media, e.g. directly-addressable memories
- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 12/1441: {for a range}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 2212/1036: Life time enhancement
- G06F 2212/1052: Security improvement
- G06F 2212/1056: Simplification
- G06F 2212/7207: management of metadata or control data
- G06F 2212/7209: Validity control, e.g. using flags, time stamps or sequence numbers
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computing device includes a non-volatile memory (NVM) interface and a processor. The NVM interface is to communicate with an NVM. The processor is to store in the NVM at least a Type-Length-Value (TLV) record including one or more encrypted fields and one or more non-encrypted fields, the non-encrypted fields including at least a validity indicator of the TLV record, to read the TLV record from the NVM, and to invalidate the TLV record by modifying the validity indicator stored in the non-encrypted fields, without decryption of any of the encrypted fields.

## Claims

### Claim 1

A computing device, comprising:
a non-volatile memory (NVM) interface, to communicate with an NVM; and
a processor, to:
store in the NVM at least a Type-Length-Value (TLV) record comprising one or more encrypted fields and one or more non-encrypted fields, the non-encrypted fields comprising at least a validity indicator of the TLV record;
read the TLV record from the NVM; and
invalidate the TLV record by modifying the validity indicator stored in the non-encrypted fields, without decryption of any of the encrypted fields.

### Claim 2 (depends on 1)

The computing device according to claim 1, wherein the processor is to store the non-encrypted fields in a plaintext header of the TLV record, and the encrypted fields in an encrypted payload of the TLV record.

### Claim 3 (depends on 1)

The computing device according to claim 1, wherein the encrypted fields comprise data encrypted with an initialization vector (IV) that depends at least on a random nonce, and wherein the processor is to store the random nonce in the non-encrypted fields of the TLV record.

### Claim 4 (depends on 3)

The computing device according to claim 3, wherein the IV further depends on an address in which the TLV record is stored in the NVM.

### Claim 5 (depends on 3)

The computing device according to claim 3, wherein the processor is to update the TLV record by storing an updated version of the TLV record in a different address in the NVM, including replacing the random nonce with a different random nonce.

### Claim 6 (depends on 3)

The computing device according to claim 3, wherein the processor is to re-generate the random nonce at least on reset of the processor, for use in encrypting subsequent TLV records.

### Claim 7 (depends on 1)

The computing device according to claim 1, wherein the processor is to store an authentication tag in the non-encrypted fields, and, upon reading the TLV record, authenticate the TLV record using the stored authentication tag.

### Claim 8 (depends on 7)

The computing device according to claim 7, wherein the authentication tag is calculated over a payload of the TLV record and over at least a part of a header of the TLV record.

### Claim 9 (depends on 1)

The computing device according to claim 1, wherein the NVM comprises a Flash memory.

### Claim 10

A method, comprising:
storing in a non-volatile memory (NVM) at least a Type-Length-Value (TLV) record comprising one or more encrypted fields and one or more non-encrypted fields, the non-encrypted fields comprising at least a validity indicator of the TLV record;
reading the TLV record from the NVM; and
invalidating the TLV record by modifying the validity indicator stored in the non-encrypted fields, without decryption of any of the encrypted fields.

### Claim 11 (depends on 10)

The method according to claim 10, wherein storing the TLV record comprises storing the non-encrypted fields in a plaintext header of the TLV record, and the encrypted fields in an encrypted payload of the TLV record.

### Claim 12 (depends on 10)

The method according to claim 10, wherein the encrypted fields comprise data encrypted with an initialization vector (IV) that depends at least on a random nonce, and wherein storing the TLV record comprises storing the random nonce in the non-encrypted fields of the TLV record.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the IV further depends on an address in which the TLV record is stored in the NVM.

### Claim 14 (depends on 12)

The method according to claim 12, and comprising updating the TLV record by storing an updated version of the TLV record in a different address in the NVM, including replacing the random nonce with a different random nonce.

### Claim 15 (depends on 12)

The method according to claim 12, wherein the processor is to re-generate the random nonce at least on reset of the processor, for use in encrypting subsequent TLV records.

### Claim 16 (depends on 10)

The method according to claim 10, wherein storing the TLV record comprises storing an authentication tag in the non-encrypted fields, and, upon reading the TLV record, authenticating the TLV record using the stored authentication tag.

### Claim 17 (depends on 16)

The method according to claim 16, wherein the authentication tag is calculated over a payload of the TLV record and over at least a part of a header of the TLV record.

### Claim 18 (depends on 10)

The method according to claim 10, wherein the NVM comprises a Flash memory.
