# US 2026/0039487 A1 · Enabling efficient hash-based signature verification in processor-based devices

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

- Number: US 2026/0039487 A1
- Document ID: US20260039487A1
- Status: Published application
- Kind: A1
- Application number: 18/789,622
- Filed: 2024-07-30
- Published: 2026-02-05
- Earliest claimed: 2024-07-30
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Kunyan LIU; Eric Edward EILERTSON
- Web page: https://patentgrep.com/patent/US20260039487A1

## CPC

- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- H04L 9/3247: {involving digital signatures}
- H04L 2209/122: Hardware reduction or efficient architectures
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Enabling efficient hash-based signature verification in processor-based devices is disclosed herein. In one exemplary embodiment, a processor-based device includes a processor device and a hash compute core circuit. The hash compute core circuit receives, from a process executing on the processor device, a digit of a plurality of digits of a message digest, a signature value corresponding to the digit, and an initialized context value. The hash compute core circuit generates a hash chain by being configured to, for Y times wherein Y is an integer value calculated using a value of the digit, update the context value, and perform a hash operation on the signature value. The hash compute core circuit then transmits an ending value of the hash chain to the process, which stores the ending value of the hash chain.

## Claims

### Claim 1

A processor-based device, comprising:
a processor device; and
a hash compute core circuit configured to:
receive, from a process executing on the processor device:
a digit of a plurality of digits of a message digest;
a signature value corresponding to the digit; and
an initialized context value;
generate a hash chain by being configured to, for Y times wherein Y is an integer value calculated using a value of the digit:
update the context value; and
perform a hash operation on the signature value; and
transmit an ending value of the hash chain to the process; and
the processor device configured to store, using the process, the ending value of the hash chain.

### Claim 2 (depends on 1)

The processor-based device of claim 1, wherein the processor device is further configured to:
determine, using the process, whether the message digest is valid; and
responsive to determining that the message digest is valid, transmit, using the process, the digit of the plurality of digits of the message digest, the signature value corresponding to the digit, and the initialized context value to the hash compute core circuit.

### Claim 3 (depends on 1)

The processor-based device of claim 1, wherein:
the processor-based device further comprises a ping-pong buffer; and
the processor device is further configured to transmit, using the process, a next digit of the plurality of digits of the message digest, a next signature value corresponding to the next digit, and a next initial context value to the hash compute core circuit using the ping-pong buffer in parallel with the hash compute core circuit generating the hash chain.

### Claim 4 (depends on 1)

The processor-based device of claim 1, wherein the processor device is further configured to, subsequent to storing a last ending value of a plurality of ending values:
generate, using the process, a plurality of One-Time Signature (OTS) public keys based on the plurality of ending values;
compute, using the process, a Merkle tree based on the plurality of OTS public keys;
compute, using the process, a root hash value based on the Merkle tree; and
validate, using the process, a public key using the root hash value.

### Claim 5 (depends on 1)

The processor-based device of claim 1, wherein the context value comprises a per-round prefix specified by a Leighton-Micali Hash-Based Signature (LMS).

### Claim 6 (depends on 1)

The processor-based device of claim 1, wherein the context value comprises a bitmask required by an Extended Merkle Signature Scheme (XMSS).

### Claim 7 (depends on 1)

The processor-based device of claim 1, wherein the hash compute core circuit is configured to perform the hash operation by being configured to invoke a hash primitive of the processor-based device.

### Claim 8 (depends on 1)

The processor-based device of claim 1, wherein the signature value is one of a plurality of signature values of a signature used to sign a firmware image.

### Claim 9

A method for enabling efficient hash-based signature verification, comprising:
receiving, by a hash compute core circuit of a processor-based device from a process executing on a processor device of the processor-based device:
a digit of a plurality of digits of a message digest;
a signature value corresponding to the digit; and
an initialized context value;
generating, by the hash compute core circuit, a hash chain by, for Y times wherein Y is an integer value calculated using a value of the digit:
updating the context value; and
performing a hash operation on the signature value;
transmitting, by the hash compute core circuit, an ending value of the hash chain to the process; and
storing, by the process, the ending value of the hash chain.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
determining, by the process, that the message digest is valid; and
responsive to determining that the message digest is valid, transmitting, by the process, the digit of the plurality of digits of the message digest, the signature value corresponding to the digit, and the initialized context value to the hash compute core circuit.

### Claim 11 (depends on 10)

The method of claim 10, further comprising transmitting, by the process, a next digit of the plurality of digits of the message digest, a next signature value corresponding to the next digit, and a next initial context value to the hash compute core circuit using a ping-pong buffer in parallel with the hash compute core circuit generating the hash chain.

### Claim 12 (depends on 9)

The method of claim 9, further comprising, subsequent to storing a last ending value of a plurality of ending values:
generating, by the process, a plurality of One-Time Signature (OTS) public keys based on the plurality of ending values;
computing, by the process, a Merkle tree based on the plurality of OTS public keys;
computing, by the process, a root hash value based on the Merkle tree; and
validating, by the process, a public key using the root hash value.

### Claim 13 (depends on 9)

The method of claim 9, wherein the context value comprises a per-round prefix specified by a Leighton-Micali Hash-Based Signature (LMS).

### Claim 14 (depends on 9)

The method of claim 9, wherein the context value comprises a bitmask required by an Extended Merkle Signature Scheme (XMSS).

### Claim 15 (depends on 9)

The method of claim 9, wherein the hash compute core circuit is configured to perform the hash operation by being configured to invoke a hash primitive of the processor-based device.

### Claim 16 (depends on 9)

The method of claim 9, wherein the signature value is one of a plurality of signature values of a signature used to sign a firmware image.

### Claim 17

A non-transitory computer-readable medium, having stored thereon computer-executable instructions that, when executed by a processor device, cause the processor device to:
determine whether a message digest is valid;
responsive to determining that the message digest is valid, transmit a digit of a plurality of digits of the message digest, a signature value corresponding to the digit, and an initialized context value to a hash compute core circuit;
receive, from the hash compute core circuit, an ending value of a hash chain; and
store the ending value of the hash chain;
wherein the hash compute core circuit is configured to:
receive, from the processor device, the digit of the plurality of digits of the message digest, the signature value corresponding to the digit, and the initialized context value;
generate the hash chain by being configured to, for Y times wherein Y is an integer value calculated using a value of the digit:
update the context value; and
perform a hash operation on the signature value; and
transmit the ending value of the hash chain to a process.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the computer-executable instructions further cause the processor device to transmit a next digit of the plurality of digits of the message digest, a next signature value corresponding to the next digit, and a next initial context value to the hash compute core circuit using a ping-pong buffer in parallel with the hash compute core circuit generating the hash chain.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the computer-executable instructions further cause the processor device to, subsequent to storing a last ending value of a plurality of ending values:
generate a plurality of One-Time Signature (OTS) public keys based on the plurality of ending values;
compute a Merkle tree based on the plurality of OTS public keys;
compute a root hash value based on the Merkle tree; and
validate a public key using the root hash value.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the context value comprises one of a per-round prefix specified by a Leighton-Micali Hash-Based Signature (LMS) and a bitmask required by an Extended Merkle Signature Scheme (XMSS).
