# US 2022/0284104 A1 · Secure Boot Process for a Computer System

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

- Number: US 2022/0284104 A1
- Document ID: US20220284104A1
- Status: Published application
- Kind: A1
- Application number: 17/192,278
- Filed: 2021-03-04
- Published: 2022-09-08
- Earliest claimed: 2021-03-04
- Assignees: Arm Limited
- Applicants: Arm Limited
- Inventors: Rainer Herberholz; Alexander Klimov; Peter Andrew Rees Williams
- Web page: https://patentgrep.com/patent/US20220284104A1

## CPC

- G06F 21/575: {Secure boot}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- H04L 9/3236: {using cryptographic hash functions}
- H04L 9/3247: {involving digital signatures}
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments of the present disclosure advantageously provide a secure boot integrity verification system that is protected against future quantum attacks without relying on correctly functioning hardware security modules (HSMs) for the expected lifetime of the computer system or embedded device.

## Claims

### Claim 1

A method of assuring integrity of code loaded during a boot process of a computer system, comprising:
reading an image of a first boot stage module of a multi-stage secure boot integrity verification system from a first memory;
executing the first boot stage module;
reading an image of a first version of a second boot stage module of the multi-stage secure boot integrity verification system from a second memory, the first version of the second boot stage module including a stateful hash-based signature (HBS);
authenticating, by the first boot stage module, the first version of the second boot stage module based on a quantum-safe process, including verifying the stateful HBS within the image of the first version of the second boot stage module;
executing the first version of the second boot stage module when the stateful HBS is verified;
reading an image of an additional boot stage module from a third memory;
authenticating, by the first version of the second boot stage module, the image of the additional boot stage module; and
executing the additional boot stage module when the image of the additional boot stage module is authenticated,
where, prior to a subsequent secure booting of the computer system, the first version of the second boot stage module is replaced with a second version of the second boot stage module that is configured to authenticate the image of the additional boot stage module based on a quantum-safe process, and
where, during the subsequent secure booting of the computer system, the second version of the second boot stage module is authenticated by the first boot stage module, and then executed in place of the first version of the second boot stage module.

### Claim 2 (depends on 1)

The method of claim 1, where the first memory is a read-only memory or a one time programmable (OTP) memory.

### Claim 3 (depends on 2)

The method of claim 2, where the second memory is an OTP memory, and the replacement of the first version of the second boot stage module includes:
storing the second version of the second boot stage module in the second memory or the third memory; and
writing to a portion of the second memory to prevent the reading of the image of the first version of the second boot stage module.

### Claim 4 (depends on 3)

The method of claim 3, where the third memory is a non-volatile memory.

### Claim 5 (depends on 1)

The method of claim 1, further comprising terminating execution of the first boot stage module when the stateful HBS is not verified.

### Claim 6 (depends on 1)

The method of claim 1, further comprising terminating execution of the second boot stage module when the additional boot stage module is not authenticated.

### Claim 7 (depends on 1)

The method of claim 1, where, prior to the replacement of the first version of the second boot stage module, said authenticating the image of the additional boot stage module is based on a non-quantum-safe process.

### Claim 8 (depends on 1)

The method of claim 1, where, prior to the replacement of the first version of the second boot stage module, said authenticating the image of the additional boot stage module is based on a quantum-safe process.

### Claim 9 (depends on 8)

The method of claim 8, where the image of the additional boot stage module includes a stateful HBS, and said authenticating the image of the additional boot stage module includes verifying the stateful HBS within the image of the additional boot stage module.

### Claim 10 (depends on 1)

The method of claim 1, where:
the first boot stage module is configured to authenticate the first and second versions of the second boot stage module based on a last stored cryptographic hash; and
the first boot stage module includes a firmware update module that is configured to update the hash stored in a secure memory based on a one-time signature or an HBS.

### Claim 11

A computer system, comprising:
a memory storing a multi-stage secure boot integrity verification system including a first boot stage module, a first version of a second boot stage module and one or more additional boot stage modules, the first version of the second boot stage module including a stateful hash-based signature (HBS), the memory including:
a first memory portion storing the first boot stage module,
a second memory portion storing the first version of the second boot stage module, and
a third memory portion storing an additional boot stage module; and
a processor, coupled to the memory, configured to:
read an image of the first boot stage module,
execute the first boot stage module,
read an image of the first version of the second boot stage module,
authenticate, by the first boot stage module, the first version of the second boot stage module based on a quantum-safe process, including verify the stateful HBS within the image of the first version of the second boot stage module,
execute the first version of the second boot stage module when the stateful HBS is verified,
read an image of the additional boot stage module,
authenticate, by the first version of the second boot stage module, the image of the additional boot stage module, and
execute the additional boot stage module when the image of the additional boot stage module is authenticated,
where, prior to a subsequent secure booting of the computer system, the first version of the second boot stage module is replaced with a second version of the second boot stage module that is configured to authenticate the image of the additional boot stage module based on a quantum-safe process, and
where, during the subsequent secure booting of the computer system, the second version of the second boot stage module is authenticated by the first boot stage module, and then executed in place of the first version of the second boot stage module.

### Claim 12 (depends on 11)

The computer system of claim 11, where the first memory portion is a read-only memory.

### Claim 13 (depends on 12)

The computer system of claim 12, where the second memory portion is a one-time programmable memory, and the replacement of the first version of the second boot stage module includes:
store the second version of the second boot stage module in the second memory portion or the third memory portion; and
write to the second memory portion to prevent the reading of the image of the first version of the second boot stage module.

### Claim 14 (depends on 13)

The computer system of claim 13, where the third memory portion is a non-volatile memory.

### Claim 15 (depends on 11)

The computer system of claim 11, where the processor is further configured to terminate execution of the first boot stage module when the stateful HBS is not verified.

### Claim 16 (depends on 11)

The computer system of claim 11, the processor is further configured to terminate execution of the second boot stage module when the additional boot stage module is not authenticated.

### Claim 17 (depends on 11)

The computer system of claim 11, where, prior to the replacement of the first version of the second boot stage module, said authenticate the image of the additional boot stage module is based on a non-quantum-safe process.

### Claim 18 (depends on 11)

The computer system of claim 11, where, prior to the replacement of the first version of the second boot stage module, said authenticate the image of the additional boot stage module is based on a quantum-safe process.

### Claim 19 (depends on 18)

The computer system of claim 18, where the image of the additional boot stage module includes a stateful HBS, and said authenticate the image of the additional boot stage module includes verify the stateful HBS within the image of the additional boot stage module.

### Claim 20 (depends on 11)

The computer system of claim 11, where:
the first boot stage module is configured to authenticate the first and second versions of the second boot stage module based on a last stored cryptographic hash; and
the first boot stage module includes a firmware update module that is configured to update the hash stored in a secure memory based on a one-time signature or an HBS.
