# US 2020/0403980 A1 · Method and apparatus for protecting confidential data in an open software stack

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

- Number: US 2020/0403980 A1
- Document ID: US20200403980A1
- Status: Published application
- Kind: A1
- Application number: 17/009,547
- Filed: 2020-09-01
- Published: 2020-12-24
- Earliest claimed: 2016-09-16
- Assignees: ARRIS Enterprises LLC
- Applicants: ARRIS Enterprises LLC
- Inventors: Brian D. Mullen; Alexander Medvinsky; Tat Keung Chan
- Web page: https://patentgrep.com/patent/US20200403980A1

## CPC

- H04L 63/0435: {wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for symmetric key encryption H04L9/06)}
- H04L 63/0478: {applying multiple layers of encryption, e.g. nested tunnels or encrypting the content with a first key and then with at least a second key (cryptographic mechanisms or cryptographic arrangements using a plurality of keys or algorithms H04L9/14)}
- G06F 21/10: Protecting distributed programs or content, e.g. vending or licensing of copyrighted material (protection in video systems or pay television H04N7/16) {; Digital rights management [DRM]}
- H04L 63/061: {for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838)}
- H04L 2463/062: applying encryption of the keys
- H04L 2463/101: applying security measures for digital rights management
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method is provided for securely providing data for use in a consumer electronics device having a processor performing instructions defined in a software image. The method includes receiving the data encrypted according to a global key, further encrypting the data according to a device-unique hardware key, storing the further encrypted data in a secure memory of the consumer electronics device, providing the global key to a whitebox encoder for encoding according to a base key to generate a whitebox encoded global key, and transmitting the software image to the consumer electronics device for storage in an operating memory of the consumer electronics device, the software image having a whitebox decoder utility corresponding to the whitebox encoder and the whitebox encoded global key.

## Claims

### Claim 1

A method of securely providing data for use in a consumer electronics device having a hardware security module (HSM) and a processor performing instructions defined in a software image, the method comprising:
receiving the data encrypted according to a global key;
further encrypting the data according to a device-unique hardware key;
storing the further encrypted data in a secure memory of the consumer electronics device;
providing the global key to a whitebox encoder for encoding according to a base key to generate a whitebox encoded global key; and
transmitting the software image to the consumer electronics device for storage in an operating memory of the consumer electronics device, the software image having a whitebox decoder utility corresponding to the whitebox encoder and the whitebox encoded global key.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
retrieving the stored further encrypted data from the secure memory;
decrypting the data according to the device-unique hardware key using the HSM;
whitebox decoding the decrypted encrypted data using the whitebox decoding utility of the software image and the encoded global key; and
providing the decrypted data for use by the software image via an unexternalized software application program interface of the software image.

### Claim 3 (depends on 2)

The method of claim 2, wherein:
the method further comprises:
receiving the data encrypted according to a second global key;
decrypting the encrypted data using the second global key in the hardware security module; and
encrypting the decrypted data using the HSM according to the global key; and
further encrypting the data according to a device-unique hardware key using the HSM comprises further encrypting the data encrypted according to the global key.

### Claim 4 (depends on 3)

The method of claim 3, wherein the encrypted data is received from a licensor.

### Claim 5 (depends on 4)

The method of claim 4, wherein:
the encrypted data received from the licensor is further encrypted according to the device-unique hardware key by the licensor.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
the received data comprises confidential data comprising a whitebox encoded consumer electronics device private key;
the whitebox encoded consumer electronics device private key is generated by:
providing the consumer electronics device private key to a second whitebox encoder for encoding according to a second base key;
transmitting the software image to the consumer electronics device for storage in an operating memory of the consumer electronics device, the software image having the whitebox decoder utility corresponding to the whitebox encoder and the whitebox encoded global key comprises:
transmitting the software image to the consumer electronics device for storage in an operating memory of the consumer electronics device, the software image having the whitebox decoder utility corresponding to the whitebox encoder and the whitebox encoded global key, and the whitebox encoded consumer electronics device private key.

### Claim 7 (depends on 6)

The method of claim 6, wherein:
the method further comprises:
whitebox decoding the whitebox encoded global key;
decrypting the data according to the device-unique hardware key using the HSM to produce the data encrypted according to the global key; and
decrypting the data according to the whitebox decoded global key; providing
the decrypted data for use by the software image via an unexternalized software application program interface of the software image further comprises: providing
the whitebox encoded consumer electronics device private key.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
performing cryptographic operations using the whitebox encoded consumer electronics device private key without exposing a clear version of the whitebox encoded consumer electronics device private key.

### Claim 9

An apparatus for securely providing data for use in a consumer electronics device having a hardware security module (HSM) and a processor performing instructions defined in a software image, comprising:
a processor;
a memory, communicatively coupled to the processor, the memory storing instructions for:
receiving the data encrypted according to a global key;
further encrypting the data according to a device-unique hardware key;
storing the further encrypted data in a secure memory of the consumer electronics device;
providing the global key to a whitebox encoder for encoding according to a base key to generate a whitebox encoded global key; and
transmitting the software image to the consumer electronics device for storage in an operating memory of the consumer electronics device, the software image having a whitebox decoder utility corresponding to the whitebox encoder and the whitebox encoded global key.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the consumer electronics device:
retrieves the stored further encrypted data from the secure memory;
decrypts the data according to the device-unique hardware key using the HSM;
whitebox decodes the decrypted encrypted data using the whitebox decoding utility of the software image and the encoded second global key; and
provides the decrypted data for use by the software image via an unexternalized software application program interface of the software image.

### Claim 11 (depends on 2)

The apparatus of claim 2, wherein:
the processor instructions further comprise instructions for:
receiving the data encrypted according to a second global key;
decrypting the encrypted data using the second global key in the hardware security module; and
encrypting the decrypted data using the HSM according to the global key; and the
instructions for further encrypting the data according to the device-unique hardware key using the HSM comprise instructions for further encrypting the data encrypted according to the global key.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the encrypted data is received from a licensor.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein:
the encrypted data received from the licensor is further encrypted according to the hardware key by the licensor.

### Claim 14 (depends on 9)

The apparatus of claim 9, wherein:
the received data comprises a whitebox encoded consumer electronics device private key;
the whitebox encoded consumer electronics device private key is generated by performing further instructions comprising instructions for:
providing the consumer electronics device private key to a second whitebox encoder for encoding according to a second base key;
the instructions for transmitting the software image to the consumer electronics device for storage in an operating memory of the consumer electronics device, the software image having the whitebox decoder utility corresponding to the whitebox encoder and the whitebox encoded global key comprises instructions for:
transmitting the software image to the consumer electronics device for storage in an operating memory of the consumer electronics device, the software image having the whitebox decoder utility corresponding to the whitebox encoder and the whitebox encoded global key, and the whitebox encoded consumer electronics device private key.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein:
the instructions further comprise instructions for:
whitebox decoding the whitebox encoded global key;
decrypting the data according to the device-unique hardware key using the HSM to produce the data encrypted according to the global key; and
decrypting the data according to the whitebox decoded global key; and
the instructions for providing the decrypted data for use by the software image via an unexternalized software application program interface of the software image further comprise instructions for:
providing the whitebox encoded consumer electronics device private key.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the consumer electronics device performs cryptographic operations using the whitebox encoded consumer electronics device private key without exposing a clear version of the whitebox encoded consumer electronics device private key.

### Claim 17

An apparatus for securely providing data for use in a consumer electronics device having a hardware security module (HSM) and a processor performing instructions defined in a software image, the apparatus comprising:
means for receiving the data encrypted according to a global key;
means for further encrypting the data according to a device-unique hardware key;
means for storing the further encrypted data in a secure memory of the consumer electronics device;
means for providing the global key to a whitebox encoder for encoding according to a base key to generate a whitebox encoded global key; and
means for transmitting the software image to the consumer electronics device for storage in an operating memory of the consumer electronics device, the software image having a whitebox decoder utility corresponding to the whitebox encoder and the whitebox encoded global key.

### Claim 18 (depends on 17)

The apparatus of claim 17, further comprising:
means for retrieving the stored further encrypted data from the secure memory;
means for decrypting the data according to the device-unique hardware key using the HSM;
means for whitebox decoding the decrypted encrypted data using the whitebox decoding utility of the software image and the encoded second global key; and
means for providing the decrypted data for use by the software image via an unexternalized software application program interface of the software image.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein:
the apparatus further comprises:
means for receiving the data encrypted according to a second global key;
means for decrypting the encrypted data using the second global key in the hardware security module; and
means for encrypting the decrypted data using the HSM according to the global key; and
wherein the means for further encrypting the data according to a device-unique hardware key using the HSM comprises means for further encrypting the data encrypted according to the global key.

### Claim 20 (depends on 17)

The apparatus of claim 17, wherein:
the received data comprises a whitebox encoded consumer electronics device private key;
the apparatus further comprises a second whitebox encoder for encoding according to a second base key and a means for providing the consumer electronics device private key to the second whitebox encoder for encoding according to the second base key; and
the means for transmitting the software image to the consumer electronics device for storage in an operating memory of the consumer electronics device, the software image having the whitebox decoder utility corresponding to the whitebox encoder and the whitebox encoded global key comprises:
means for transmitting the software image to the consumer electronics device for storage in an operating memory of the consumer electronics device, the software image having the whitebox decoder utility corresponding to the whitebox encoder and the whitebox encoded global key, and the whitebox encoded consumer electronics device private key.
