# US 2020/0287716 A1 · Encrypted gang programming

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

- Number: US 2020/0287716 A1
- Document ID: US20200287716A1
- Status: Published application
- Kind: A1
- Application number: 16/714,274
- Filed: 2019-12-13
- Published: 2020-09-10
- Earliest claimed: 2019-03-04
- Assignees: Cypress Semiconductor Corporation
- Applicants: Cypress Semiconductor Corporation
- Inventors: Clifford Zitlaw; Markus Unseld; Sandeep Krishnegowda; Daisuke Nakata; Shinsuke Okada; Stephan Rosner
- Web page: https://patentgrep.com/patent/US20200287716A1

## CPC

- H04L 9/0897: {involving additional devices, e.g. trusted platform module [TPM], smartcard or USB}
- H04L 9/14: using a plurality of keys or algorithms
- 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
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- 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/3278: {using physically unclonable functions [PUF]}
- H04L 63/068: {using time-dependent keys, e.g. periodically changing keys (cryptographic mechanisms or cryptographic arrangements for controlling usage of secret information H04L9/088)}
- 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

Disclosed are apparatus and methods for programming a plurality of nonvolatile memory (NVM) devices. Each NVM device self-generates and stores a unique encryption key. Each NVM device concurrently receives an image from a multiple-device programming system to which all the NVM devices are communicatively coupled. Each NVM device encrypts the received image using such NVM device's unique encryption key to produce a unique encrypted image for each NVM device. Each NVM device stores its unique encrypted image within a nonvolatile memory of such NVM device. The unique encryption key can then be securely transferred to a host device for decrypting the image accessed from one of the NVM devices.

## Claims

### Claim 1

A method of programming a plurality of nonvolatile memory (NVM) devices, the method comprising:
in each of the plurality of NVM devices, self-generating and storing a unique encryption key;
in each of the plurality of NVM devices, concurrently receiving an image from a multiple-device programming system to which all of the plurality of NVM devices are communicatively coupled;
each NVM device encrypting the image, which was received, using such NVM device's unique encryption key to produce a unique encrypted image for each NVM device; and
each NVM device storing its unique encrypted image within a nonvolatile memory of such NVM device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the self-generating of the unique encryption key in each NVM device is performed by a true random number generator of each NVM device.

### Claim 3 (depends on 1)

The method of claim 1, wherein the self-generating of the unique encryption key in each NVM device is performed by a physical unclonable function (PUF) applied to a microstructure having a unique response in each NVM device.

### Claim 4 (depends on 1)

The method of claim 1, wherein the self-generating of the unique encryption key in each NVM device is based on a unique identifier stored in each NVM device.

### Claim 5 (depends on 1)

The method of claim 1, wherein the self-generating of the unique encryption key in each NVM device is based on one or more encryption key parameters configured in each NVM device.

### Claim 6 (depends on 1)

The method of claim 1, wherein the image is received in chunks, and the method further comprising collecting and storing, by each NVM device, a number of the chunks, which are received, that corresponds to a page size of each NVM device prior to encrypting the chunks collected together into an encrypted collection of chunks that are stored in a nonvolatile memory array.

### Claim 7 (depends on 1)

The method of claim 1, further comprising verifying whether the image was programmed, encrypted, and stored accurately in each page of each NVM device.

### Claim 8 (depends on 7)

The method of claim 7, further comprising deactivating the verifying operation for each NVM device that passes verification.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
after a first one of the NVM devices has completed storing of its unique encrypted image within a nonvolatile memory of the first NVM device, mounting the first NVM device on a printed circuit board that include a host device;
transferring the unique encryption key from the first NVM device to the host device;
after the unique encryption key is transferred, the first NVM device destroying its unique encryption key that is stored in the first NVM device; and
after the unique encryption key is transferred, the host device performing field operations by accessing one or more portions of the encrypted image from the first NVM device and using the unique encryption key, which was transferred, to decrypt the accessed one or more portions of the encrypted image.

### Claim 10 (depends on 9)

The method of claim 9, wherein the unique encryption key from the first NVM device is transferred using a secure channel by use of a public key paired with a private key for (i) the first NVM device encrypting the unique encryption key with the private key and (ii) the host device decrypting the unique encryption key with the public key that is paired with the private key.

### Claim 11 (depends on 1)

The method of claim 1, wherein the image received by each NVM device is in an encrypted form that is based on a second encryption key, and the method further comprises:
in the NVM device, receiving the second encryption key in an encrypted form that is based on a private encryption key associated with a public encryption key;
providing the public encryption key to each NVM device;
prior to encrypting and storing the received image, each NVM device decrypting the second encryption key using the public encryption key; and
prior to encrypting and storing the received image, each NVM device decrypting the encrypted image using the decrypted second encryption key.

### Claim 12

A nonvolatile memory (NVM) device, comprising:
an NVM array for storing data;
a key generator for generating and storing a unique encryption key; and
at least one controller for performing the following operations:
receiving an image from a multiple-device programming system to which the NVM device and a plurality of other NVM devices are communicatively coupled for concurrently receiving the image;
encrypting the image, which was received, using the unique encryption key to produce a unique encrypted image; and
storing the unique encrypted image within the NVM array.

### Claim 13 (depends on 12)

The device of claim 12, wherein the key generator is a true random number generator of each NVM device.

### Claim 14 (depends on 12)

The device of claim 12, wherein the key generator is further configured to use a physical unclonable function (PUF) applied to a microstructure having a unique response in each NVM device.

### Claim 15 (depends on 12)

The device of claim 12, wherein the generating of the unique encryption key in is further based on a unique identifier stored in each NVM device.

### Claim 16 (depends on 12)

The device of claim 12, further comprising one or more encryption parameter registers, and wherein the generating of the unique encryption key in is further based on one or more encryption key parameters configured in the one or more encryption parameter registers.

### Claim 17 (depends on 12)

The device of claim 12, wherein the image is received in chunks, and the controller is further configured for collecting and temporarily storing a number of the chunks, which were received, that correspond to a page size of the NVM array prior to encrypting the chunks collected together into an encrypted collection of chunks that are stored in the NVM array.

### Claim 18 (depends on 12)

The device of claim 12, wherein the controller is further configured for verifying whether the image was programmed, encrypted, and stored accurately in the NVM array and thereafter deactivating such verifying operation if the verification passes.

### Claim 19 (depends on 12)

A system, comprising:
a printed circuit board;
a host device mounted on the printed circuit board; and
the NVM device of claim 12 mounted on the printed circuit board and communicatively coupled with the host device, wherein the controller of the NVM device being further configured for (i) transferring the unique encryption key to the host device and (ii) after the unique encryption key is transferred, destroying the unique encryption key that is stored in the NVM array of the NVM device; and
wherein the host device is further configured for, after the unique encryption key is transferred, performing field operations by accessing one or more portions of the encrypted image from the NVM array of the NVM device and using the transferred encryption key to decrypt the accessed one or more portions of the encrypted image.

### Claim 20 (depends on 19)

The system of claim 19, wherein the unique encryption key from the NVM device is transferred using a secure channel by use of a public key paired with a private key for (i) the NVM device encrypting the unique encryption key with the private key and (ii) the host device decrypting the unique encryption key with the public key that is paired with the private key.

### Claim 21 (depends on 12)

The device of claim 12, wherein the image received by each NVM device is in an encrypted form that is based on a second encryption key, and the controller being further configured for:
receiving the second encryption key in an encrypted form that is based on a private encryption key associated with a public encryption key;
receiving the public encryption key;
prior to encrypting and storing the received image, decrypting the second encryption key using the public encryption key; and
prior to encrypting and storing the received image, decrypting the encrypted image using the decrypted second encryption key.
