# US 2021/0081536 A1 · Secure boot 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/0081536 A1
- Document ID: US20210081536A1
- Status: Published application
- Kind: A1
- Application number: 17/093,582
- Filed: 2020-11-09
- Published: 2021-03-18
- Earliest claimed: 2018-05-11
- Assignees: Lattice Semiconductor Corporation
- Applicants: Lattice Semiconductor Corporation
- Inventors: Fulong Zhang; Srirama Chandra; Sreepada Hegade; Joel Coplen; Wei Han; Yu Sun
- Web page: https://patentgrep.com/patent/US20210081536A1

## 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 secure booting of secure programmable logic devices (PLDs) are disclosed. An example system includes a secure PLD including programmable logic blocks (PLBs) arranged in a PLD fabric of the secure PLD, and 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. The secure PLD is configured to retrieve a pre-authentication status associated with the configuration image from the NVM, determine or verify the retrieved pre-authentication status associated with the configuration image includes a valid status, and boot the PLD fabric of the secure PLD using the configuration image.

## Claims

### Claim 1

A secure programmable logic device (PLD) secure booting 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, and 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, wherein the secure PLD is configured to perform a computer-implemented method comprising:
retrieving a pre-authentication status associated with the configuration image from the NVM;
determining the retrieved pre-authentication status associated with the configuration image comprises a valid status; and
booting the PLD fabric of the secure PLD using the configuration image.

### Claim 2 (depends on 1)

The secure PLD secure booting system of claim 1, wherein the computer-implemented method further comprises performing a pre-authentication process associated with the configuration image prior to the retrieving the pre-authentication status associated with the configuration image, the pre-authentication process comprising:
determining an authentication engine result comprises a pass result based, at least in part, on the configuration image;
determining a design version corresponding to the configuration image and/or a pre-authentication hash signature associated with the configuration image; and
storing the authentication engine result, the design version corresponding to the configuration image, and/or the pre-authentication hash signature as the pre-authentication status in the NVM.

### Claim 3 (depends on 2)

The secure PLD secure booting system of claim 2, wherein the determining the authentication engine result comprises a pass result comprises:
authenticating the configuration image, wherein the configuration image is signed using a private key associated with a secure PLD customer for the secure PLD or a secure PLD manufacturer of the secure PLD, a corresponding public key is stored in the NVM, and the authenticating comprises using the public key to verify that the configuration image is signed using the private key associated with the secure PLD customer or the secure PLD manufacturer;
determining the configuration image comprises a complete configuration image for the secure PLD; and/or
validating the configuration image with respect to the secure PLD.

### Claim 4 (depends on 1)

The secure PLD secure booting system of claim 1, wherein the determining the pre-authentication status associated with the configuration image comprises a valid status comprises:
determining an authentication engine result associated with the configuration image comprises a pass result; and/or
determining a pre-boot hash signature associated with the configuration image and verifying that the pre-boot hash signature matches a pre-authentication hash signature prior to the booting the PLD fabric using the configuration image, wherein the pre-authentication status comprises the pre-authentication hash signature associated with the configuration image.

### Claim 5 (depends on 1)

The secure PLD secure booting system of claim 1, wherein the configuration engine is configured to program the PLD fabric according to a first or second configuration image stored in the NVM of the secure PLD, wherein the configuration image comprises an update configuration image, and wherein the computer-implemented method further comprises:
receiving the update configuration image over the configuration I/O or a programmable I/O of the secure PLD;
performing a pre-authentication process associated with the update configuration image to determine the pre-authentication status associated with the update configuration image; and
storing the update configuration image in the NVM in place of the first or second configuration image based, at least in part, on the pre-authentication status and a secure boot mode associated with the secure PLD.

### Claim 6 (depends on 5)

The secure PLD secure booting system of claim 5, wherein the performing the pre-authentication process associated with the update configuration image comprises:
determining a design version corresponding to the update configuration image; and
validating the design version corresponding to the update configuration image based, at least in part, on a rollback protection ruleset stored in the NVM, a secure boot mode associated with the secure PLD, and/or first and/or second design versions corresponding to the respective first and/or second configuration images.

### Claim 7 (depends on 5)

The secure PLD secure booting system of claim 5, wherein the secure boot mode associated with the secure PLD comprises a golden boot mode, and wherein the storing the update configuration image in the NVM comprises:
identifying the first configuration image as a golden configuration image; and
storing the update configuration image in the NVM in place of the second configuration image.

### Claim 8 (depends on 5)

The secure PLD secure booting system of claim 5, wherein the secure boot mode associated with the secure PLD comprises a ping pong boot mode, and wherein the storing the update configuration image in the NVM comprises:
identifying the second configuration image as an updateable configuration image; and
storing the update configuration image in the NVM in place of the second configuration image.

### Claim 9

A secure programmable logic device (PLD) secure booting 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, and a configuration engine configured to program the PLD fabric according to first and/or second configuration images 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, wherein the secure PLD is configured to perform a computer-implemented method comprising:
receiving an update configuration image over the configuration I/O or a programmable I/O of the secure PLD;
performing a pre-authentication process associated with the update configuration image to determine a pre-authentication status associated with the update configuration image; and
selectively storing the update configuration image in the NVM in place of the first or second configuration image based, at least in part, on the determined pre-authentication status and a secure boot mode associated with the secure PLD.

### Claim 10 (depends on 9)

The secure PLD secure booting system of claim 9, wherein the performing the pre-authentication process associated with the update configuration image comprises:
determining an authentication engine result based, at least in part, on the update configuration image; and
selectively storing the authentication engine result as the pre-authentication status in the NVM based, at least in part, on the authentication engine result.

### Claim 11 (depends on 9)

The secure PLD secure booting system of claim 9, wherein the performing the pre-authentication process associated with the update configuration image comprises:
determining a design version corresponding to the update configuration image; and
selectively validating the design version corresponding to the update configuration image based, at least in part, on a rollback protection ruleset stored in the NVM, a secure boot mode associated with the secure PLD, and/or first and/or second design versions corresponding to the respective first and/or second configuration images.

### Claim 12 (depends on 9)

The secure PLD secure booting system of claim 9, wherein the pre-authentication status associated with the update configuration image comprises a valid status and the update configuration image is stored in the NVM, and wherein the computer-implemented method further comprises:
retrieving the pre-authentication status associated with the update configuration image from the NVM;
verifying the retrieved pre-authentication status associated with the update configuration image comprises a valid status; and
booting the PLD fabric of the secure PLD using the update configuration image.

### Claim 13 (depends on 12)

The secure PLD secure booting system of claim 12, wherein the booting the PLD fabric of the secure PLD comprises:
retrieving the update configuration image from the NVM;
programming the PLD fabric according to the update configuration image; and
initializing the PLD fabric of the secure PLD.

### Claim 14

A method for secure booting for a secure programmable logic device (PLD), the method comprising:
retrieving a pre-authentication status associated with a configuration image for a PLD fabric of the secure PLD, from a non-volatile memory (NVM) of the secure PLD, wherein the configuration image is stored in the NVM and/or coupled through a configuration input/output (I/O) of the secure PLD to the secure PLD;
determining the retrieved pre-authentication status associated with the configuration image comprises a valid status; and
booting the PLD fabric of the secure PLD using the configuration image.

### Claim 15 (depends on 14)

The method of claim 14, further comprising performing a pre-authentication process associated with the configuration image prior to the retrieving the pre-authentication status associated with the configuration image, the pre-authentication process comprising:
determining an authentication engine result comprises a pass result based, at least in part, on the configuration image;
determining a design version corresponding to the configuration image and/or a pre-authentication hash signature associated with the configuration image; and
storing the authentication engine result, the design version corresponding to the configuration image, and/or the pre-authentication hash signature as the pre-authentication status in the NVM.

### Claim 16 (depends on 15)

The method of claim 15, wherein the determining the authentication engine result comprises a pass result comprises:
authenticating the configuration image, wherein the configuration image is signed using a private key associated with a secure PLD customer for the secure PLD or a secure PLD manufacturer of the secure PLD, a corresponding public key is stored in the NVM, and the authenticating comprises using the public key to verify that the configuration image is signed using the private key associated with the secure PLD customer or the secure PLD manufacturer;
determining the configuration image comprises a complete configuration image for the secure PLD; and/or
validating the configuration image with respect to the secure PLD.

### Claim 17 (depends on 14)

The method of claim 14, wherein the determining the pre-authentication status associated with the configuration image comprises a valid status comprises:
determining an authentication engine result associated with the configuration image comprises a pass result; and/or
determining a pre-boot hash signature associated with the configuration image and verifying that the pre-boot hash signature matches a pre-authentication hash signature prior to the booting the PLD fabric using the configuration image, wherein the pre-authentication status comprises the pre-authentication hash signature associated with the configuration image.

### Claim 18 (depends on 14)

The method of claim 14, wherein the configuration image comprises an update configuration image, the method further comprising:
receiving the update configuration image over the configuration I/O or a programmable I/O of the secure PLD;
performing a pre-authentication process associated with the update configuration image to determine the pre-authentication status associated with the update configuration image; and
storing the update configuration image in the NVM in place of a first or second configuration image based, at least in part, on the pre-authentication status and a secure boot mode associated with the secure PLD.

### Claim 19 (depends on 18)

The method of claim 18, wherein the performing the pre-authentication process associated with the update configuration image comprises:
determining a design version corresponding to the update configuration image; and
validating the design version corresponding to the update configuration image based, at least in part, on a rollback protection ruleset stored in the NVM, a secure boot mode associated with the secure PLD, and/or first and/or second design versions corresponding to the respective first and/or second configuration images.

### Claim 20 (depends on 18)

The method of claim 18, wherein the secure boot mode associated with the secure PLD comprises a golden boot mode, and wherein the storing the update configuration image in the NVM comprises:
identifying the first configuration image as a golden configuration image; and
storing the update configuration image in the NVM in place of the second configuration image.

### Claim 21 (depends on 18)

The method of claim 18, wherein the secure boot mode associated with the secure PLD comprises a ping pong boot mode, and wherein the storing the update configuration image in the NVM comprises:
identifying the second configuration image as an updateable configuration image; and
storing the update configuration image in the NVM in place of the second configuration image.
