# US 2024/0202340 A1 · Trusted access control for secure boot process for storage controllers or drivers

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

- Number: US 2024/0202340 A1
- Document ID: US20240202340A1
- Status: Published application
- Kind: A1
- Application number: 18/082,889
- Filed: 2022-12-16
- Published: 2024-06-20
- Earliest claimed: 2022-12-16
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Yashavantha RAO; Tanya MAHAJAN; Benish BABU; Prashanth MAYYA
- Web page: https://patentgrep.com/patent/US20240202340A1

## CPC

- G06F 21/575: {Secure boot}
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and techniques are described herein for image authentication for secure boot. For example, a process the image authentication can include: receiving, a request to load an image during a secure boot process; performing, at the secure entity, a secure boot configuration action set in response to receiving the request; requesting the image from a storage device; transmitting the image to a cryptographic hardware component; obtaining, at the cryptographic hardware component, a digest corresponding to at least a portion of the image; storing the digest in the secured register of the cryptographic hardware component; storing the image in a secured memory device portion; obtaining, at the secure entity, a previously calculated digest corresponding to the image from the secured memory device portion; obtaining, at the secure entity, the digest from the secured register; and performing a comparison to determine whether the digest and the previously calculated digest match.

## Claims

### Claim 1

A method for image authentication for secure boot, the method comprising:
receiving, at a secure entity, a request to load an image during a secure boot process;
performing, at the secure entity, a secure boot configuration action set in response to receiving the request;
requesting the image from a storage device;
transmitting the image to a cryptographic hardware component;
obtaining, at the cryptographic hardware component, a digest corresponding to at least a portion of the image;
storing the digest in a secured register of the cryptographic hardware component;
storing the image in a secured memory device portion;
obtaining, at the secure entity, a previously calculated digest corresponding to the image from the secured memory device portion;
obtaining, at the secure entity, the digest from the secured register; and
performing a comparison to determine whether the digest and the previously calculated digest match.

### Claim 2 (depends on 1)

The method of claim 1, wherein performing the secure boot configuration action set comprises:
configuring a protection unit to include an association between the secure entity and the secured memory device portion for read and write access; and
configuring the protection unit to include an association between a storage controller and the secured memory device portion for write access.

### Claim 3 (depends on 1)

The method of claim 1, wherein performing the secure boot configuration action set comprises:
configuring a protection unit to include an association between the secure entity and the secured register for read access.

### Claim 4 (depends on 1)

The method of claim 1, wherein performing the secure boot configuration action set comprises:
configuring a data path to the secured memory device portion to exclude use of the data path by other components of a computing device.

### Claim 5 (depends on 1)

The method of claim 1, wherein the request to load the image includes a location of the image on the storage device.

### Claim 6 (depends on 1)

The method of claim 1, wherein performing the comparison to determine whether the digest and the previously calculated digest match determines a match, and wherein the secure boot process is allowed to continue based on the match.

### Claim 7 (depends on 1)

The method of claim 1, wherein performing the comparison to determine whether the digest and the previously calculated digest match determines a failed match, and wherein the secure boot process is halted based on the failed match.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
removing the image from the secured memory device portion based on the failed match.

### Claim 9 (depends on 1)

The method of claim 1, wherein the request to load the image is received from a processor of a computing device.

### Claim 10 (depends on 1)

The method of claim 1, wherein obtaining, at the cryptographic hardware component, the digest corresponding to the portion of the image comprises executing a hashing algorithm at the cryptographic hardware component using the portion of the image as input.

### Claim 11

An apparatus for image authentication for secure boot, the apparatus comprising:
at least one memory; and
at least one processor coupled to the at least one memory and configured to:
receive a request to load an image during a secure boot process;
perform a secure boot configuration action set in response to receiving the request;
request the image from a storage device:
transmit the image to a cryptographic hardware component;
obtain a digest corresponding to at least a portion of the image:
store the digest in a secured register of the cryptographic hardware component;
store the image in a secured memory device portion:
obtain a previously calculated digest corresponding to the image from the secured memory device portion;
obtain the digest from the secured register; and
perform a comparison to determine whether the digest and the previously calculated digest match.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein, to perform the secure boot configuration action set, the at least one processor is further configured to:
configure a protection unit to include an association between a secure entity and the secured memory device portion for read and write access; and
configure the protection unit to include an association between a storage controller and the secured memory device portion for write access.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein, to perform the secure boot configuration action set, the at least one processor is further configured to:
configure a protection unit to include an association between a secure entity and the secured register for read access.

### Claim 14 (depends on 11)

The apparatus of claim 11, wherein, to perform the secure boot configuration action set, the at least one processor is further configured to:
configure a data path to the secured memory device portion to exclude use of the data path by other components of a computing device.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein the request to load the image includes a location of the image on the storage device.

### Claim 16 (depends on 11)

The apparatus of claim 11, wherein performing the comparison to determine whether the digest and the previously calculated digest match determines a match, and wherein the secure boot process is allowed to continue based on the match.

### Claim 17 (depends on 11)

The apparatus of claim 11, wherein performing the comparison to determine whether the digest and the previously calculated digest match determines a failed match, and wherein the secure boot process is halted based on the failed match.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the at least one processor is further configured to:
remove the image from the secured memory device portion based on the failed match.

### Claim 19 (depends on 11)

The apparatus of claim 11, wherein the request to load the image is received from a processor of a computing device.

### Claim 20 (depends on 11)

The apparatus of claim 11, wherein, to obtain, at the cryptographic hardware component, the digest, the cryptographic hardware component executes a hashing algorithm using the portion of the image as input.

### Claim 21 (depends on 11)

The apparatus of claim 11, further comprising a secure entity configured to:
receive the request to load the image during the secure boot process;
perform the secure boot configuration action set in response to receiving the request;
obtain the previously calculated digest; and
obtain the digest from the secured register.

### Claim 22 (depends on 11)

The apparatus of claim 11, further comprising the cryptographic hardware component configured to:
obtain the digest corresponding to at least the portion of the image.

### Claim 23

A non-transitory computer-readable medium having stored thereon instructions that, when executed by one or more processors, cause the one or more processors to:
receive a request to load an image during a secure boot process;
perform a secure boot configuration action set in response to receiving the request;
request the image from a storage device;
transmit the image to a cryptographic hardware component;
obtain, via the cryptographic hardware component, a digest corresponding to at least a portion of the image;
store the digest in a secured register of the cryptographic hardware component;
store the image in a secured memory device portion;
obtain a previously calculated digest corresponding to the image from the secured memory device portion;
obtain the digest from the secured register; and
perform a comparison to determine whether the digest and the previously calculated digest match.

### Claim 24 (depends on 23)

The non-transitory computer-readable medium of claim 23, wherein, to perform the secure boot configuration action set, the instructions further cause the one or processors to:
configure a protection unit to include an association between a secure entity and the secured memory device portion for read and write access; and
configure the protection unit to include an association between a storage controller and the secured memory device portion for write access.

### Claim 25 (depends on 23)

The non-transitory computer-readable medium of claim 23, wherein, to perform the secure boot configuration action set, the instructions further cause the one or processors to:
configure a protection unit to include an association between a secure entity and the secured register for read access.

### Claim 26 (depends on 23)

The non-transitory computer-readable medium of claim 23, wherein, to perform the secure boot configuration action set, the instructions further cause the one or processors to:
configure a data path to the secured memory device portion to exclude use of the data path by other components of a computing device.

### Claim 27 (depends on 23)

The non-transitory computer-readable medium of claim 23, wherein the request to load the image includes a location of the image on the storage device.

### Claim 28 (depends on 23)

The non-transitory computer-readable medium of claim 23, wherein performing the comparison to determine whether the digest and the previously calculated digest match determines a match, and wherein the secure boot process is allowed to continue based on the match.

### Claim 29 (depends on 23)

The non-transitory computer-readable medium of claim 23, wherein performing the comparison to determine whether the digest and the previously calculated digest match determines a failed match, and wherein the secure boot process is halted based on the failed match.

### Claim 30 (depends on 29)

The non-transitory computer-readable medium of claim 29, wherein the instructions further cause the one or processors to:
remove the image from the secured memory device portion based on the failed match.
