# US 2024/0202342 A1 · Secure boot device, method and electronic system using the same

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

- Number: US 2024/0202342 A1
- Document ID: US20240202342A1
- Status: Published application
- Kind: A1
- Application number: 18/525,202
- Filed: 2023-11-30
- Published: 2024-06-20
- Earliest claimed: 2022-12-19
- Assignees: Nuvoton Technology Corporation
- Applicants: Nuvoton Technology Corporation
- Inventors: Wen-Hung HUANG
- Web page: https://patentgrep.com/patent/US20240202342A1

## CPC

- G06F 21/575: {Secure boot}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A secure boot device includes a counter, a storage device and a comparator. The counter receives a clock. When the processor performs a verification of a firmware for the first time, the counter counts a first verification time taken by the processor to perform the verification of the firmware for the first time based on the clock to generate a first-time verification count value. When the processor performs the verification of the firmware for the non-first time, the counter counts a second verification time taken by the processor to perform the verification of the firmware at least once for the non-first time based on the clock to generate a count value. The storage device stores the first-time verification count value. The comparator is electrically connected to the counter and the storage device. When the processor performs the verification of the firmware for the non-first time, the comparator compares the count value with the first-time verification count value, and generates a comparison result. The comparison result is used to indicate whether the processor executes the firmware.

## Claims

### Claim 1

A secure boot device, comprising:
a first counter, configured to receive a first clock,
wherein when a processor performs a verification of a firmware for a first time, the first counter counts a first verification time taken by the processor to perform the verification of the firmware for the first time based on the first clock to generate a first first-time verification count value, and
wherein when the processor performs the verification of the firmware for a non-first time, the first counter counts a second verification time taken by the processor to perform the verification of the firmware at least once for the non-first time based on the first clock to generate a first count value;
a first storage device, electrically connected to the first counter, and configured to store the first first-time verification count value; and
a first comparator, electrically connected to the first counter and the first storage device,
wherein when the processor performs the verification of the firmware for the non-first time, the first comparator compares the first count value with the first first-time verification count value and generates a first comparison result, and
wherein the first comparison result is configured to indicate whether the processor executes the firmware.

### Claim 2 (depends on 1)

The secure boot device according to claim 1, further comprising:
a first demultiplexer, electrically connected to the first counter, the first storage device and the first comparator,
wherein the first demultiplexer determines to transmit the first first-time verification count value to the first storage device for storing, or to transmit the first count value to the first comparator based on a first-time verification instruction transmitted from the processor.

### Claim 3 (depends on 1)

The secure boot device according to claim 1, further comprising:
a second counter, configured to receive a second clock,
wherein when the processor performs the verification of the firmware for the first time, the second counter counts the first verification time taken by the processor to perform the verification of the firmware for the first time based on the second clock to generate a second first-time verification count value,
wherein when the processor performs the verification of the firmware for the non-first time, the second counter counts the second verification time taken by the processor to perform the verification of the firmware for the non-first time based on the second clock to generate a second count value, and
wherein the second first-time verification count value is stored in the first storage device; and
a second comparator, electrically connected to the second counter and the first storage device,
wherein when the processor performs the verification of the firmware for the non-first time, the second comparator compares the second count value with the second first-time verification count value, and generates a second comparison result, and
wherein the second comparison result is configured to indicate whether the processor executes the firmware.

### Claim 4 (depends on 3)

The secure boot device according to claim 3, further comprising:
a first demultiplexer, electrically connected to the first counter, the first storage device and the first comparator,
wherein the first demultiplexer determines to transmit the first first-time verification count value to the first storage device for storing, or to transmit the first count value to the first comparator based on a first-time verification instruction transmitted from the processor; and
a second demultiplexer, electrically connected the second counter, the first storage device and the second comparator,
wherein the second demultiplexer determines to transmit the second first-time verification count value to the first storage device for storing, or to transmit the second count value to the second comparator based on the first-time verification instruction transmitted from the processor.

### Claim 5 (depends on 3)

The secure boot device according to claim 3, wherein the first clock is corresponding to a system main frequency, and the second clock is corresponding to an auxiliary frequency.

### Claim 6

An electronic system, comprising:
a secure boot device, comprising:
a first counter, configured to receive a first clock,
wherein when a processor performs a verification of a firmware for a first time, the first counter counts a first verification time taken by the processor to perform the verification of the firmware for the first time based on the first clock to generate a first first-time verification count value, and
wherein when the processor performs the verification of the firmware for a non-first time, the first counter counts a second verification time taken by the processor to perform the verification of the firmware at least once for the non-first time based on the first clock to generate a first count value;
a first storage device, electrically connected to the first counter, and configured to store the first first-time verification count value; and
a first comparator, electrically connected to the first counter and the first storage device,
wherein when the processor performs the verification of the firmware for the non-first time, the first comparator compares the first count value with the first first-time verification count value and generates a first comparison result, and
wherein the first comparison result is configured to indicate whether the processor executes the firmware;
the processor; and
a second storage device, electrically connected to the processor and the secure boot device, and configured to store the firmware.

### Claim 7 (depends on 6)

The electronic system according to the claim 6, further comprising:
a first demultiplexer, electrically connected to the first counter, the first storage device and the first comparator,
wherein the first demultiplexer determines to transmit the first first-time verification count value to the first storage device for storing, or to transmit the first count value to the first comparator based on a first-time verification instruction transmitted from the processor.

### Claim 8 (depends on 6)

The electronic system according to the claim 6, further comprising:
a second counter, configured to receive a second clock,
wherein when the processor performs the verification of the firmware for the first time, the second counter counts the first verification time taken by the processor to perform the verification of the firmware for the first time based on the second clock to generate a second first first-time verification count value,
wherein when the processor performs the verification of the firmware for the non-first time, the second counter counts the second verification time taken by the processor to perform the verification of the firmware for the non-first time based on the second clock to generate a second count value, and
wherein the second first-time verification count value is stored in the first storage device; and
a second comparator, electrically connected to the second counter and the first storage device,
wherein when the processor performs the verification of the firmware for the non-first time, the second comparator compares the second count value with the second first-time verification count value, and generates a second comparison result, and
wherein the second comparison result is configured to indicate whether the processor executes the firmware.

### Claim 9 (depends on 8)

The electronic system according to claim 8, further comprising:
a first demultiplexer, electrically connected to the first counter, the first storage device and the first comparator,
wherein the first demultiplexer determines to transmit the first first-time verification count value to the first storage device for storing, or to transmit the first count value to the first comparator based on a first-time verification instruction transmitted to the processor; and
a second demultiplexer, electrically connected the second counter, the first storage device and the second comparator,
wherein the second demultiplexer determines to transmit the second first-time verification count value to the first storage device for storage, or to transmit the second count value to the second comparator based on the first-time verification instruction transmitted from the processor.

### Claim 10 (depends on 8)

The electronic system according to claim 8, wherein the first clock is corresponding to a system main frequency, and the second clock is corresponding to an auxiliary frequency.

### Claim 11 (depends on 6)

The electronic system according to claim 6, wherein the electronic system is a server, a game console, a smartphone, a tablet, a desktop computer, a notebook computer, a smart wearable device, a processing equipment or a reaction equipment.

### Claim 12

A secure boot method, comprising:
counting a first verification time taken by a processor to perform a verification of a firmware for a first time based on a first clock to generate a first first-time verification count value, and storing the first first-time verification count value in a first storage device when the processor performs the verification of the firmware for the first time;
counting a second verification time taken by the processor to perform the verification of the firmware at least once for a non-first time based on the first clock to generate a first count value, comparing the first count value with the first first-time verification count value, and generating a first comparison result when the processor performs the verification of the firmware for the non-first time; and
indicating whether the processor executes the firmware based on the first comparison result.

### Claim 13 (depends on 12)

The secure boot method according to claim 12, further comprising:
counting the first verification time taken by the processor to perform the verification of the firmware for first time based on a second clock to generate a second first-time verification count value, and storing the second first-time verification count value in the first storage device when the processor performs the verification of the firmware for the first time;
counting the second verification time taken by the processor to perform the verification of the firmware for the non-first time based on the second clock to generate a second count value, comparing the second count value and the second first-time verification count value, and generating a second comparison result when the processor performs the verification of the firmware for the non-first time; and
indicating whether the processor executes the firmware based on the first comparison result and the second comparison result.

### Claim 14 (depends on 13)

The secure boot method according to claim 13, wherein the first clock is corresponding to a system main frequency, and the second clock is corresponding to an auxiliary frequency.
