# US 2022/0283714 A1 · Storage device having encryption

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

- Number: US 2022/0283714 A1
- Document ID: US20220283714A1
- Status: Published application
- Kind: A1
- Application number: 17/514,059
- Filed: 2021-10-29
- Published: 2022-09-08
- Earliest claimed: 2021-03-03
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Myeong Jong LEE; Hyun Sook HONG; Ji Soo KIM; Seung-Jae LEE
- Web page: https://patentgrep.com/patent/US20220283714A1

## CPC

- G06F 3/0622: {in relation to access}
- G06F 3/0637: {Permissions}
- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A storage device includes a non-volatile memory configured to store an encryption key and a data key encrypted with the encryption key, writes data using the data key, and reads the data using the data key; and a storage controller, wherein the storage controller is configured to receive a first security setting command which allows access to the data key, using a first password, generates a first key on the basis of the first password in response to the first security setting command, encrypts the encryption key with the first key to generate a first encrypted encryption key, encrypts the first key with the encryption key to generate an encrypted first key, and stores the first encrypted encryption key and the encrypted first key in the non-volatile memory.

## Claims

### Claim 1

A storage device comprising:
a non-volatile memory configured to store an encryption key and a data key encrypted with the encryption key, write data using the data key, and read the data using the data key; and
a storage controller,
wherein the storage controller is configured to receive a first security setting command which allows access to the data key using a first password,
generate a first key on the basis of the first password in response to the first security setting command,
encrypt the encryption key with the first key to generate a first encrypted encryption key,
encrypt the first key with the encryption key to generate an encrypted first key, and
store the first encrypted encryption key and the encrypted first key in the non-volatile memory.

### Claim 2 (depends on 1)

The storage device of claim 1, wherein the first key is a hash value of the first password.

### Claim 3 (depends on 1)

The storage device of claim 1, wherein the storage controller is configured to delete the encryption key in response to the first security setting command.

### Claim 4 (depends on 1)

The storage device of claim 1, wherein the storage controller is configured to:
receive a second security setting command which blocks access to the data key using the first password, and
delete the first encrypted encryption key stored in the non-volatile memory in response to the second security setting command.

### Claim 5 (depends on 4)

The storage device of claim 4, wherein the storage controller is configured to:
receive a third security setting command that allows access to the data key using the first password,
decrypt the encrypted first key stored in the non-volatile memory to generate the first key in response to the third security setting command,
encrypt the encryption key with the first key to generate the first encrypted encryption key, and
store the first encrypted encryption key in the non-volatile memory.

### Claim 6 (depends on 1)

The storage device of claim 1, wherein the first password is not changed by the first security setting command.

### Claim 7 (depends on 1)

The storage device of claim 1, wherein:
the first security setting command includes a second password different from the first password, and allows access to the data key further using the second password, and
the storage controller is configured to:
generate a second key on the basis of the second password in response to the first security setting command,
encrypt the encryption key with the second key to generate a second encrypted encryption key, and
store the second encrypted encryption key in the non-volatile memory.

### Claim 8 (depends on 7)

The storage device of claim 7, wherein the storage controller is configured to delete the encryption key stored in the non-volatile memory in response to the first security setting command.

### Claim 9 (depends on 7)

The storage device of claim 7, wherein the second key is a hash value of the second password.

### Claim 10 (depends on 7)

The storage device of claim 7, wherein the storage controller is configured to:
receive a security release command that allows access to the data key without using the first password or the second password, and
delete the first encrypted encryption key and the second encrypted encryption key stored in the non-volatile memory in response to the security release command.

### Claim 11 (depends on 10)

The storage device of claim 10, wherein the storage controller is configured to:
delete the encryption key stored in the non-volatile memory in response to the first security setting command, and
store the encryption key in the non-volatile memory in response to the security release command.

### Claim 12 (depends on 7)

The storage device of claim 7, wherein the storage controller is configured to:
receive a security deletion command which includes one of the first password and the second password and deletes the data stored in the non-volatile memory, and
delete the data stored in the non-volatile memory, the first encrypted encryption key, the second encrypted encryption key, and encrypted data key, in response to the security deletion command.

### Claim 13 (depends on 12)

The storage device of claim 12, wherein the storage controller is configured to:
generate a new data key in response to the security deletion command,
encrypt the new data key with the encryption key, and
store the new data key in the non-volatile memory.

### Claim 14

A storage device comprising:
a non-volatile memory configured to store an encrypted first key generated by encrypting a first key generated on the basis of a first password with an encryption key, a first encrypted encryption key generated by encrypting the encryption key with the first key, and an encrypted data key generated by encrypting the data key with the encryption key; and
a storage controller configured to control an operation of the non-volatile memory,
wherein the storage controller is configured to:
receive a first security setting command which blocks access to the data key using the first password,
delete the first encrypted encryption key stored in the non-volatile memory in response to the first security setting command,
receive a second security setting command which allows access to the data key using the first password, and
store the first encrypted encryption key in the non-volatile memory in response to the second security setting command.

### Claim 15

(canceled)

### Claim 16 (depends on 14)

The storage device of claim 14, wherein the storage controller is configured to:
decrypt the encrypted first key stored in the non-volatile memory to generate the first key, in response to the second security setting command,
encrypt the encryption key with the first key to generate the first encrypted encryption key, and
store the first encrypted encryption key in the non-volatile memory.

### Claim 17

(canceled)

### Claim 18 (depends on 14)

The storage device of claim 14, wherein the non-volatile memory includes:
a user area in which data is written using the data key and the data is read using the data key, and
a meta area in which the encryption key, the first encrypted encryption key, and the encrypted first key are stored.

### Claim 19 (depends on 14)

The storage device of claim 14, wherein:
the first security setting command includes a second password different from the first password, and allows access to the data key using the second password,
the second security setting command includes a third password different from the first password, and allows access the data key further using the third password, and
the storage controller is configured to:
generate a second key on the basis of the second password in response to the first security setting command,
encrypt the encryption key with the second key to further generate a second encrypted encryption key,
store the second encrypted encryption key in the non-volatile memory,
generate a third key on the basis of the third password in response to the second security setting command,
encrypt the encryption key with the third key to further generate a third encrypted encryption key, and
store the third encrypted encryption key in the non-volatile memory.

### Claim 20

(canceled)

### Claim 21

(canceled)

### Claim 22

A storage device comprising:
a non-volatile memory configured to store a first encryption key and a first encrypted data key encrypted with the first encryption key, write data using the data key, and read the data using the data key; and
a storage controller,
wherein the storage controller is configured to:
receive a first security setting command that allows access to the data key, using a plurality of first passwords different from each other,
generate a plurality of first keys on the basis of each of the plurality of first passwords in response to the first security setting command,
encrypt the first encryption key with each of the plurality of first keys to generate a plurality of first encrypted encryption keys,
encrypt each of the plurality of first keys with the first encryption key to generate a plurality of encrypted first keys, and
store the plurality of first encrypted encryption keys and the plurality of encrypted first keys in the non-volatile memory.

### Claim 23

(canceled)

### Claim 24 (depends on 22)

The storage device of claim 22, wherein:
the plurality of first passwords include a first sub-password,
the plurality of first keys include a first sub-key generated on the basis of the first sub-password,
the plurality of first encrypted encryption keys include a second sub-key generated by encrypting the first encryption key with the first sub-key, and
the storage controller is configured to:
receive a second security setting command which blocks access to the data key using the first sub-password, and
delete the second sub-key in response to the second security setting command.

### Claim 25

(canceled)

### Claim 26 (depends on 22)

The storage device of claim 22, wherein:
the non-volatile memory is further configured to store a second encryption key different from the first encryption key, and a second encrypted data key encrypted with the second encryption key, and
the storage controller is configured to:
receive a second security setting command that allows access to the data key, using a plurality of second passwords different from each other,
generate a plurality of second keys on the basis of each of the plurality of second passwords in response to the second security setting command,
encrypt the second encryption key with each of the plurality of second keys to generate a plurality of second encrypted encryption keys,
encrypt each of the plurality of second keys with the second encryption key to generate a plurality of encrypted second keys, and
store the plurality of second encrypted encryption keys and the plurality of encrypted second keys in the non-volatile memory.

### Claim 27

(canceled)
