# US 2017/0286319 A1 · Securing Information Relating to Data Compression and Encryption in a Storage Device

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

- Number: US 2017/0286319 A1
- Document ID: US20170286319A1
- Status: Published application
- Kind: A1
- Application number: 15/084,222
- Filed: 2016-03-29
- Published: 2017-10-05
- Earliest claimed: 2016-03-29
- Assignees: Seagate Technology LLC
- Applicants: Seagate Technology LLC
- Inventors: Syed Yasir Abbas; Jeetandra Kella; William Erik Anderson
- Web page: https://patentgrep.com/patent/US20170286319A1

## CPC

- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 3/0623: {in relation to content}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0676: {Magnetic disk device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/068: {Hybrid storage device}
- G06F 21/44: Program or device authentication
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/62: Protecting access to data via a platform, e.g. using keys or access control rules
- G06F 21/80: in storage media based on magnetic or optical technology, e.g. disks with sectors (preventing unauthorised reproduction or copying of disc-type recordable media G11B20/00)
- G06F 2212/1052: Security improvement
- G06F 2212/401: Compressed data
- G06F 2212/402: Encrypted data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Apparatus and method for data security in a data storage environment. In some embodiments, input data from a host is received into a buffer memory. Data compression is applied to the input data to provide compressed data. Encryption is applied to the compressed data to generate encrypted data, and the encrypted data are stored in a main memory of a data storage device. A system parameter value associated with the storage of the encrypted data is generated and stored in a memory, such as the main memory of the storage device. The system parameter value may include information relating to the compression of the data. A trusted relationship is established to authenticate the host responsive to a request for the updated system parameter value. The system parameter value is transferred to the host responsive to the established trusted relationship.

## Claims

### Claim 1

A computer implemented method comprising:
receiving input data from a host into a buffer memory;
applying data compression to the input data to provide compressed data;
encrypting the compressed data using an encryption key to generate encrypted data;
storing the encrypted data in a main memory of a data storage device;
generating and storing, in a memory, a system parameter value associated with the storage of the encrypted data;
establishing a trusted relationship to authenticate the host responsive to a request for the updated system parameter value; and
transferring, from the data storage device to the host, the updated system parameter value responsive to the established trusted relationship.

### Claim 2 (depends on 1)

The method of claim 1, wherein the data compression is lossless data compression.

### Claim 3 (depends on 1)

The method of claim 1, wherein the data compression is lossy data compression.

### Claim 4 (depends on 1)

The method of claim 1, further comprising encrypting the system parameter value prior to storage thereof in the memory.

### Claim 5 (depends on 1)

The method of claim 1, wherein the system parameter value is stored to the main memory of the data storage device.

### Claim 6 (depends on 1)

The method of claim 1, wherein the system parameter value indicates a compression parameter associated with the compression of the input data.

### Claim 7 (depends on 6)

The method of claim 6, wherein the compression parameter indicates a size of the compressed data.

### Claim 8 (depends on 1)

The method of claim 1, wherein the system parameter value comprises metadata associated with the storage of the encrypted data in the main memory of the data storage device.

### Claim 9 (depends on 1)

The method of claim 1, further comprising concatenating a plurality of compressed data blocks into a fixed sized data packet, applying compression to the packet, and storing the packet in said main memory of the data storage device.

### Claim 10 (depends on 1)

The method of claim 1, further comprising using a challenge value issued by the storage device to establish the trusted relationship.

### Claim 11 (depends on 1)

The method of claim 1, wherein the data storage device is characterized as a solid state drive (SSD).

### Claim 12 (depends on 1)

The method of claim 1, wherein the data storage device is characterized as a hard disc drive (HDD).

### Claim 13

A data storage device comprising:
a non-volatile main memory;
a controller circuit configured to receive input data from a host into a buffer memory, apply data compression to the input data to provide compressed data, encrypt the compressed data using an encryption key to generate encrypted data, store the encrypted data in the main memory, generate and store in a memory a system parameter value associated with the storage of the encrypted data, establish a trusted relationship to authenticate the host responsive to a request for the updated system parameter value, and transfer the updated system parameter value to the host responsive to the established trusted relationship, the system parameter value indicating a compression parameter associated with the compression of the input data.

### Claim 14 (depends on 13)

The data storage device of claim 13, wherein the controller circuit is further configured to encrypt the system parameter value.

### Claim 15 (depends on 13)

The data storage device of claim 13, characterized as a solid state drive (SSD).

### Claim 16 (depends on 13)

The data storage device of claim 13, characterized as a hard disc drive (HDD).

### Claim 17 (depends on 13)

The data storage device of claim 13, characterized as a hybrid data storage device (HDSD) so that the non-volatile main memory comprises both rotatable magnetic recording media and solid-state semiconductor memory.

### Claim 18 (depends on 13)

The data storage device of claim 13, wherein the controller circuit is further configured to concatenate a plurality of compressed data blocks into a fixed sized data packet, apply compression to the packet, and store the packet in said main memory of the data storage device.

### Claim 19

An apparatus comprising:
a plurality of data storage devices arranged to form a multi-device memory space; and
a controller circuit configured to transfer data between the memory space and a host device by applying data compression to input data received from the host to provide compressed data, encrypting the compressed data using an encryption key to generate encrypted data, storing the encrypted data in the main memory, and generating and storing in a memory a system parameter value associated with the storage of the encrypted data, the controller circuit further configured to, responsive to a request from the host for the system parameter value, establish a trusted relationship with the host and to transfer the updated system parameter value to the host responsive to the established trusted relationship.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein the system parameter value relates to the application of data compression to the input data.
