# US 2021/0083675 A1 · Key provisioning systems and methods for programmable logic devices

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

- Number: US 2021/0083675 A1
- Document ID: US20210083675A1
- Status: Published application
- Kind: A1
- Application number: 17/093,572
- Filed: 2020-11-09
- Published: 2021-03-18
- Earliest claimed: 2018-05-11
- Assignees: Lattice Semiconductor Corporation
- Applicants: Lattice Semiconductor Corporation
- Inventors: Srirama Chandra; Fulong Zhang; Sreepada Hegade; Joel Coplen; Wei Han; Yu Sun
- Web page: https://patentgrep.com/patent/US20210083675A1

## CPC

- G06F 21/575: {Secure boot}
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 11/362: Debugging of software
- G06F 11/3656: {using a specific debug interface}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 21/31: User authentication
- G06F 21/44: Program or device authentication
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06F 21/76: in application-specific integrated circuits [ASIC] or field-programmable devices, e.g. field-programmable gate arrays [FPGA] or programmable logic devices [PLD]
- G06F 21/79: in semiconductor storage media, e.g. directly-addressable memories
- G06F 21/85: interconnection devices, e.g. bus-connected or in-line devices
- H03K 19/17768: for security
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- H04L 9/0877: {using additional device, e.g. trusted platform module [TPM], smartcard, USB or hardware security module [HSM]}
- H04L 9/30: Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
- H04L 9/3236: {using cryptographic hash functions}
- H04L 9/3252: {using DSA or related signature schemes, e.g. elliptic based signatures, ElGamal or Schnorr schemes}
- G06F 21/107: {License processing; Key processing}
- H04L 2209/12: Details relating to cryptographic hardware or logic circuitry
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods for provisioning secure programmable logic devices (PLDs) are disclosed. An example secure PLD provisioning system includes an external system comprising a processor and a memory and configured to be coupled to a secure PLD through a configuration input/output (I/O) of the secure PLD. The external system is configured to generate a locked PLD comprising the secure PLD based, at least in part, on a request from a secure PLD customer, wherein the request from the secure PLD customer comprises a customer public key; and to provide a secured unlock package for the locked secure PLD. The external system may also be configured to provide an authenticatable key manifest comprising a customer programming key token and a corresponding programming public key associated with the locked secure PLD, wherein the authenticatable key manifest is signed using a programming private key generated by the locked secure PLD.

## Claims

### Claim 1

A secure programmable logic device (PLD) provisioning system, comprising:
an external system comprising a processor and a memory and configured to be coupled to a secure PLD through a configuration input/output (I/O) of the secure PLD, wherein the memory comprises machine-readable instructions which when executed by the processor of the external system are adapted to cause the external system to perform a computer-implemented method comprising:
generating a locked PLD comprising the secure PLD based, at least in part, on a request from a secure PLD customer, wherein the request from the secure PLD customer comprises a customer public key; and
providing a secured unlock package for the locked secure PLD.

### Claim 2 (depends on 1)

The system of claim 1, wherein the generating the locked PLD comprises:
generating a customer programming key token corresponding to the secure PLD customer or the request from the secure PLD customer by providing the customer public key in the request to a hardened security module (HSM) coupled to the external system and receiving the customer programming key token generated by the HSM.

### Claim 3 (depends on 1)

The system of claim 1, wherein the generating the locked PLD comprises:
providing the customer public key in the request from the secure PLD customer to a hardened security module (HSM) coupled to the external system, wherein the HSM is configured to generate a customer programming key token, a programming public/private key pair, and a programming secret in response to receiving the customer public key;
receiving the programming private key, the programming secret, and an encrypted programming packet from the HSM, wherein the encrypted programming packet comprises the programming secret encrypted using the customer public key and signed using the programming private key, and wherein the secured unlock package comprises the encrypted programming packet; and
providing the programming private key and the programming secret to the secure PLD.

### Claim 4 (depends on 1)

The system of claim 1, wherein the providing the secure unlock package for the locked secure PLD comprises:
providing an encrypted programming packet generated by a hardened security module (HSM) coupled to the external system to the secure PLD customer, wherein the encrypted programming packet comprises a programming secret generated by the HSM that is encrypted by the HSM using the customer public key and signed by the HSM using a programming private key generated by the HSM; and
providing a programming public key generated by the HSM to the secure PLD customer.

### Claim 5 (depends on 1)

The system of claim 1, wherein the computer-implemented method further comprises:
providing an authenticatable locked PLD manifest comprising a trace ID and a corresponding device public key associated with the locked secure PLD, wherein the authenticatable locked PLD manifest is signed using a programming private key generated by a hardened security module (HSM) coupled to the external system.

### Claim 6 (depends on 1)

The system of claim 1, wherein the generating the locked PLD comprises:
providing a customer programming key token to a hardened security module (HSM) coupled to the external system;
receiving a programming private key and a programming secret from the HSM and a device public key from the secure PLD;
providing an initial programming image (IPI) configuration to the secure PLD; and
programming a PLD fabric of the secure PLD according to the IPI configuration.

### Claim 7 (depends on 1)

The system of claim 1, wherein the computer-implemented method further comprises:
generating or receiving a protected configuration for the locked secure PLD; and
programming the locked secure PLD according to the protected configuration;
wherein the protected configuration comprises an application configuration and a feature configuration, each signed by an application private key associated with the secure PLD customer and encrypted by an application encryption key associated with the secure PLD customer, and a programming key digest comprising an encrypted and signed combination of an application public key, the application encryption key, and a programming secret generated by a hardened security module (HSM) coupled to the external system.

### Claim 8 (depends on 1)

The system of claim 1, further comprising:
the secure PLD, wherein the secure PLD comprises a plurality of programmable logic blocks (PLBs) arranged in a PLD fabric of the secure PLD, a configuration engine configured to program the PLD fabric according to a configuration image stored in a non-volatile memory (NVM) of the secure PLD and/or coupled through the configuration input/output (I/O) to the configuration engine, and a security engine configured to provide a plurality of security functions for the PLD fabric and/or the configuration engine, wherein the secure PLD is configured to perform a secure PLD-implemented method comprising:
booting according to an initial programming image (IPI) configuration stored in the NVM and programmed into the PLD fabric;
receiving a protected configuration through the configuration I/O, wherein the protected configuration comprises an application configuration and a feature configuration, each signed by an application private key associated with a secure PLD customer for the secure PLD and encrypted by an application encryption key associated with the secure PLD customer, and a programming key digest comprising an encrypted and signed combination of an application public key, the application encryption key, and a programming secret generated by a hardened security module (HSM) coupled to the external system;
decrypting and authenticating the programming key digest using a programming private key stored in the NVM and the decrypted application public key;
verifying the programming secret from the programming key digest matches a programming secret stored in the NVM;
decrypting and authenticating the application configuration and the feature configuration using the application encryption key and the application public key from the key digest;
erasing the IPI configuration from the PLD fabric; and
programming the PLD fabric according to the decrypted and authenticated application configuration and one or more portions of the NVM according to the decrypted and authenticated feature configuration.

### Claim 9

A secure programmable logic device (PLD) provisioning system, comprising:
a secure PLD, wherein the secure PLD comprises a plurality of programmable logic blocks (PLBs) arranged in a PLD fabric of the secure PLD, a configuration engine configured to program the PLD fabric according to a configuration image stored in a non-volatile memory (NVM) of the secure PLD and/or coupled through a configuration input/output (I/O) of the secure PLD to the configuration engine, and a security engine configured to provide a plurality of security functions for the PLD fabric and/or the configuration engine, wherein the secure PLD is configured to perform a computer-implemented method comprising:
booting according to an initial programming image (IPI) configuration stored in the NVM and programmed into the PLD fabric;
receiving a protected configuration through the configuration I/O, wherein the protected configuration comprises an application configuration and a feature configuration, each signed by an application private key associated with a secure PLD customer for the secure PLD and encrypted by an application encryption key associated with the secure PLD customer, and a programming key digest comprising an encrypted and signed combination of an application public key, the application encryption key, and a programming secret generated by a hardened security module (HSM);
decrypting and authenticating the programming key digest using a programming private key stored in the NVM and the decrypted application public key;
decrypting and authenticating the application configuration and the feature configuration using the application encryption key and the application public key from the key digest; and
programming the PLD fabric according to the decrypted and authenticated application configuration and one or more portions of the NVM according to the decrypted and authenticated feature configuration.

### Claim 10 (depends on 9)

The system of claim 9, further comprising:
an external system comprising a processor and a memory and configured to be coupled to the secure PLD through the configuration input/output (I/O), wherein the memory comprises machine-readable instructions which when executed by the processor of the external system are adapted to cause the external system to perform a computer-implemented method comprising:
authenticating an authenticatable locked PLD manifest identifying the secure PLD and a corresponding device public key using a programming public key associated with the secure PLD;
querying the secure PLD for the device public key and comparing the query response to a corresponding device public key in the authenticated locked PLD manifest; and
challenging the secure PLD by providing a random number encrypted according to the device public key to the secure PLD and comparing a returned challenge response to the random number.

### Claim 11

A method comprising:
generating a locked PLD comprising a secure PLD based, at least in part, on a request from a secure PLD customer, wherein the request from the secure PLD customer comprises a customer public key, and wherein the secure PLD comprises a configuration input/output (I/O) configured to be coupled to an external system and/or machine readable memory; and
providing a secured unlock package for the locked secure PLD.

### Claim 12 (depends on 11)

The method of claim 11, wherein the generating the locked PLD comprises:
generating a customer programming key token corresponding to the secure PLD customer or the request from the secure PLD customer by providing the customer public key in the request to a hardened security module (HSM) coupled to the external system and receiving the customer programming key token generated by the HSM.

### Claim 13 (depends on 11)

The method of claim 11, wherein the generating the locked PLD comprises:
receiving the customer public key in the request from the secure PLD customer by a hardened security module (HSM) coupled to the external system, wherein the HSM is configured to generate a programming public/private key pair and a programming secret in response to receiving the customer public key; and
generating an encrypted programming packet by the HSM, wherein the encrypted programming packet comprises the programming secret encrypted using the customer public key and signed using the programming private key.

### Claim 14 (depends on 13)

The method of claim 13, wherein the HSM is configured to generate a customer programming key token in response to receiving the customer public key, and wherein the generating the locked PLD comprises:
receiving a device public key generated by the secure PLD; and
storing the device public key from the secure PLD, the programming public/private key pair, and the programming secret in a database referenced by the customer programming key token.

### Claim 15 (depends on 13)

The method of claim 13, wherein the secure PLD is configured to generate a device public/private key pair in response to receiving a trace ID from the external system, and wherein the generating the locked PLD comprises:
storing the device public/private key pair in a non-volatile memory (NVM) of the secure PLD.

### Claim 16 (depends on 11)

The method of claim 11, wherein the providing the secure unlock package for the locked secure PLD comprises:
providing an encrypted programming packet generated by a hardened security module (HSM) coupled to the external system to the secure PLD customer, wherein the encrypted programming packet comprises a programming secret generated by the HSM that is encrypted by the HSM using the customer public key and signed by the HSM using a programming private key generated by the HSM; and
providing a programming public key generated by the HSM to the secure PLD customer.

### Claim 17 (depends on 11)

The method of claim 11, further comprising:
providing an authenticatable locked PLD manifest comprising a trace ID and a corresponding device public key associated with the locked secure PLD, wherein the authenticatable locked PLD manifest is signed using a programming private key generated by a hardened security module (HSM) coupled to the external system.

### Claim 18 (depends on 11)

The method of claim 11, wherein the generating the locked PLD comprises:
providing a customer programming key token to a hardened security module (HSM) coupled to the external system;
receiving a programming private key and a programming secret from the HSM and a device public key from the secure PLD;
providing an initial programming image (IPI) configuration to the secure PLD; and
programming a PLD fabric of the secure PLD according to the IPI configuration.

### Claim 19 (depends on 11)

The method of claim 11, further comprising:
generating or receiving a protected configuration for the locked secure PLD; and
programming the locked secure PLD according to the protected configuration;
wherein the protected configuration comprises an application configuration and a feature configuration, each signed by an application private key associated with the secure PLD customer and encrypted by an application encryption key associated with the secure PLD customer, and a programming key digest comprising an encrypted and signed combination of an application public key, the application encryption key, and a programming secret generated by a hardened security module (HSM) coupled to the external system.

### Claim 20 (depends on 11)

The method of claim 11, further comprising:
receiving, by the secure PLD, a protected configuration through the configuration I/O, wherein the protected configuration comprises an application configuration and a feature configuration, each encrypted by an application encryption key associated with the secure PLD customer, and a programming key digest comprising an encrypted and signed combination of an application public key, the application encryption key, and a programming secret;
decrypting and authenticating the programming key digest using a programming private key stored in a non-volatile memory (NVM) of the PLD and the decrypted application public key;
decrypting and authenticating the application configuration and the feature configuration using the application encryption key and the application public key from the key digest; and
programming the PLD fabric according to the decrypted and authenticated application configuration and one or more portions of the NVM according to the decrypted and authenticated feature configuration.
