# US 2025/0156339 A1 · Namespace encryption in non-volatile memory devices

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

- Number: US 2025/0156339 A1
- Document ID: US20250156339A1
- Status: Published application
- Kind: A1
- Application number: 19/025,637
- Filed: 2025-01-16
- Published: 2025-05-15
- Earliest claimed: 2017-11-16
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Alex Frolikov
- Web page: https://patentgrep.com/patent/US20250156339A1

## CPC

- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 3/0605: {by facilitating the interaction with a user or administrator}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0631: {by allocating resources to storage systems}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/1441: {for a range}
- H04L 9/0816: {Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use}
- H04L 9/0866: {involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/14: using a plurality of keys or algorithms
- G06F 2212/1044: Space efficiency improvement
- G06F 2212/1052: Security improvement
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7202: Allocation control and policies
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- 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

A computer storage device having a host interface, a controller, non-volatile storage media, and firmware. The firmware instructs the controller to: limit a crypto key to be used in data access requests made in a first namespace allocated on the non-volatile storage media of the computer storage device; store data in the first namespace in an encrypted form that is to be decrypted using the crypto key; free a portion of the non-volatile storage media from the first namespace, the portion storing the data; and make the portion of the non-volatile storage media available in a second namespace without erasing the data stored in the portion of the non-volatile storage media.

## Claims

### Claim 1

A computer storage device, comprising:
a host interface;
a controller;
non-volatile storage media; and
firmware containing instructions which, when executed by the controller, instruct the controller to at least:
require a crypto key to be used in data access requests made in a first namespace allocated on the non-volatile storage media of the computer storage device;
store data in the first namespace in an encrypted form corresponding to the crypto key;
free a portion of the non-volatile storage media from the first namespace, the portion storing the data; and
make the portion of the non-volatile storage media available in a second namespace.

### Claim 2 (depends on 1)

The computer storage device of claim 1, further comprising:
a plurality of registers each storing a crypto key and configured to be limited with data access in only one namespace.

### Claim 3 (depends on 1)

The computer storage device of claim 1, further comprising:
a crypto engine coupled to the registers to perform decryption using the crypto key for data access made in the first name space.

### Claim 4 (depends on 3)

The computer storage device of claim 3, wherein the crypto key is generated by the crypto engine in response to a command to allocate the first namespace on the non-volatile storage media.

### Claim 5 (depends on 4)

The computer storage device of claim 4, wherein the crypto key is deleted from the computer storage device to perform a cryptographic erasure of data stored in the first namespace in response to a command to delete the namespace.

### Claim 6 (depends on 3)

The computer storage device of claim 3, wherein the crypto key is received for the first namespace in connection with a command to allocate the first namespace on the non-volatile storage media.

### Claim 7 (depends on 3)

The computer storage device of claim 3, wherein the crypto engine implements symmetric encryption using the crypto key.

### Claim 8 (depends on 3)

The computer storage device of claim 3, wherein the crypto key is a public key for non-symmetric encryption and is received from a host for encryption of data stored in the first namespace.

### Claim 9 (depends on 3)

The computer storage device of claim 3, wherein the crypto key is a first key of a key pair for non-symmetric encryption of data stored in the first namespace; and a second key of the key pair of is provided for decryption of data retrieved from the first namespace.

### Claim 10 (depends on 3)

The computer storage device of claim 3, wherein the crypto engine generates the key pair in response to creation of the first namespace on the non-volatile storage media.

### Claim 11 (depends on 1)

The computer storage device of claim 1, wherein the instructions are further configured to instruct the controller to:
store a namespace map mapping blocks of logical addresses defined in the first namespace to blocks of logical addresses defined, independent of namespace, on a capacity of the non-volatile storage media;
wherein the crypto key is limited to be used with the namespace map in accessing the non-volatile storage media.

### Claim 12 (depends on 1)

The computer storage device of claim 1, wherein the portion of the non-volatile storage media storing the data is freed from the first namespace in response to a command to reduce a size of the first namespace.

### Claim 13 (depends on 1)

The computer storage device of claim 1, wherein the portion of the non-volatile storage media storing the data is freed in response to an adjustment in the namespace map.

### Claim 14 (depends on 13)

The computer storage device of claim 13, wherein before the adjustment:
the portion of the non-volatile storage media is identified by a first subset of the logical addresses defined, independent of namespace, on the capacity of the non-volatile storage media; and
the namespace map maps a subset of the logical addresses defined in the first namespace to the first subset of the logical addresses defined on the capacity of the non-volatile storage media.

### Claim 15 (depends on 14)

The computer storage device of claim 14, wherein after the adjustment, the subset of the logical addresses previously defined in the first namespace is no longer defined in the first namespace.

### Claim 16 (depends on 14)

The computer storage device of claim 14, wherein after the adjustment, the namespace map maps the subset of the logical addresses defined in the first namespace to a second subset of the logical addresses defined, independent of namespace, on the capacity of the non-volatile storage media.

### Claim 17 (depends on 16)

The computer storage device of claim 16, wherein a portion of the non-volatile storage media identified by the second subset of the logical addresses defined on the capacity of the non-volatile storage media is different from the portion of the non-volatile storage media identified by the first subset of the logical addresses defined on the capacity of the non-volatile storage media.

### Claim 18

A method implemented in a computer storage device, the method comprising:
requiring a crypto key to be used in data access requests made in a first namespace allocated on a non-volatile storage media of the computer storage device;
storing data in the first namespace in an encrypted form corresponding to the crypto key;
freeing a portion of the non-volatile storage media from the first namespace, the portion storing the data; and
making the portion of the non-volatile storage media available in a second namespace.

### Claim 19 (depends on 18)

The method of claim 18, wherein the freeing is in response to a command to reducing a size of the first namespace.

### Claim 20

A non-transitory computer storage medium storing instructions which, when executed by a controller of a computer storage device, cause the controller to perform a method, the method comprising:
requiring a crypto key to be used in data access requests made in a first namespace allocated on a non-volatile storage media of the computer storage device;
storing data in the first namespace in an encrypted form corresponding to the crypto key;
freeing a portion of the non-volatile storage media from the first namespace, the portion storing the data; and
making the portion of the non-volatile storage media available in a second namespace.
