# US 2026/0005835 A1 · Instruction to accelerate hash processing

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

- Number: US 2026/0005835 A1
- Document ID: US20260005835A1
- Status: Published application
- Kind: A1
- Application number: 18/756,603
- Filed: 2024-06-27
- Published: 2026-01-01
- Earliest claimed: 2024-06-27
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Rajat RAO; Jonathan D. BRADBURY; Timothy J SLEGEL; Görkem KILINÇ; Louis P. GOMES
- Web page: https://patentgrep.com/patent/US20260005835A1

## CPC

- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- 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

An instruction is executed to generate a message digest for a message. The message digest is to be used in authentication of the message. Executing the instruction includes obtaining from the instruction a control indicator and determining, based on the control indicator, an initial chaining value to be used to generate the message digest. The message digest is generated using the initial chaining value and the message digest is provided to be used in the authentication of the message.

## Claims

### Claim 1

A computer program product comprising:
a set of one or more computer-readable storage media; and
program instructions, collectively stored in the set of one or more computer-readable storage media, for causing at least one computing device to perform computer operations including:
executing an instruction to generate a message digest for a message, the message digest to be used in authentication of the message, the executing the instruction including:
obtaining from the instruction a control indicator;
determining, based on the control indicator, an initial chaining value to be used to generate the message digest;
generating the message digest using the initial chaining value; and
providing the message digest to be used in the authentication of the message.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein the determining the initial chaining value comprises:
checking the control indicator; and
using a program provided initial chaining value as the initial chaining value, based on the control indicator being a selected value.

### Claim 3 (depends on 2)

The computer program product of claim 2, wherein the determining the initial chaining value comprises using a default value as the initial chaining value, based on the control indicator being another selected value.

### Claim 4 (depends on 1)

The computer program product of claim 1, wherein the message digest is an intermediate message digest for the message.

### Claim 5 (depends on 1)

The computer program product of claim 1, wherein the message digest is a last message digest for the message.

### Claim 6 (depends on 5)

The computer program product of claim 5, wherein the executing the instruction further includes controlling a storing of at least a part of an output chaining value produced in generating the last message digest based on another control indicator of the instruction.

### Claim 7 (depends on 6)

The computer program product of claim 6, wherein the controlling the storing of the at least a part of the output chaining value includes selectively bypassing a storing the at least a part of the output chaining value based on the another control indicator being set to a selected value.

### Claim 8 (depends on 6)

The computer program product of claim 6, wherein the controlling the storing of the at least a part of the output chaining value includes storing the at least a part of the output chaining value based on the another control indicator being set to another selected value.

### Claim 9 (depends on 1)

The computer program product of claim 1, wherein the computer operations further include:
interrupting execution of the instruction; and
resuming execution of the instruction using at least one selected input of the instruction.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein the at least one selected input is an output chaining value that is provided as an input to the instruction.

### Claim 11

A computer system comprising:
at least one computing device;
a set of one or more computer-readable storage media; and
program instructions, collectively stored in the set of one or more computer-readable storage media, for causing the at least one computing device to perform computer operations including:
executing an instruction to generate a message digest for a message, the message digest to be used in authentication of the message, the executing the instruction including:
obtaining from the instruction a control indicator;
determining, based on the control indicator, an initial chaining value to be used to generate the message digest;
generating the message digest using the initial chaining value; and
providing the message digest to be used in the authentication of the message.

### Claim 12 (depends on 11)

The computer system of claim 11, wherein the determining the initial chaining value comprises:
checking the control indicator; and
using a program provided initial chaining value as the initial chaining value, based on the control indicator being a selected value.

### Claim 13 (depends on 12)

The computer system of claim 12, wherein the determining the initial chaining value comprises using a default value as the initial chaining value, based on the control indicator being another selected value.

### Claim 14 (depends on 11)

The computer system of claim 11, wherein the message digest is an intermediate message digest for the message.

### Claim 15 (depends on 11)

The computer system of claim 11, wherein the message digest is a last message digest for the message.

### Claim 16 (depends on 15)

The computer system of claim 15, wherein the executing the instruction further includes controlling a storing of at least a part of an output chaining value produced in generating the last message digest based on another control indicator of the instruction, wherein the controlling the storing of the at least a part of the output chaining value includes selectively bypassing a storing the at least a part of the output chaining value based on the another control indicator being set to a selected value.

### Claim 17 (depends on 15)

The computer system of claim 15, wherein the executing the instruction further includes controlling a storing of at least a part of an output chaining value produced in generating the last message digest based on another control indicator of the instruction, wherein the controlling the storing of the at least a part of the output chaining value includes storing the at least a part of the output chaining value based on the another control indicator being set to another selected value.

### Claim 18

A computer-implemented method comprising:
executing an instruction to generate a message digest for a message, the message digest to be used in authentication of the message, the executing the instruction including:
obtaining from the instruction a control indicator;
determining, based on the control indicator, an initial chaining value to be used to generate the message digest;
generating the message digest using the initial chaining value; and
providing the message digest to be used in the authentication of the message.

### Claim 19 (depends on 18)

The computer-implemented method of claim 18, wherein the determining the initial chaining value comprises:
checking the control indicator; and
using a program provided initial chaining value as the initial chaining value, based on the control indicator being a selected value.

### Claim 20 (depends on 19)

The computer-implemented method of claim 19, wherein the determining the initial chaining value comprises using a default value as the initial chaining value, based on the control indicator being another selected value.

### Claim 21 (depends on 18)

The computer-implemented method of claim 18, wherein the message digest is an intermediate message digest for the message.

### Claim 22 (depends on 18)

The computer-implemented method of claim 18, wherein the message digest is a last message digest for the message.

### Claim 23 (depends on 18)

The computer-implemented method of claim 18, wherein the executing the instruction further includes controlling a storing of at least a part of an output chaining value produced in generating the last message digest based on another control indicator of the instruction.

### Claim 24

A computer program product comprising:
a set of one or more computer-readable storage media; and
program instructions, collectively stored in the set of one or more computer-readable storage media, for causing at least one computing device to perform computer operations including:
executing an instruction to generate a message digest for a message, the instruction including a flags field having at least one control indicator, an address of the message, and a function code to specify a function of the instruction to be performed, the function being a specific hash technique to generate the message digest, the message digest to be used in authentication of the message, the executing the instruction including:
obtaining from the instruction a control indicator of the at least one control indicator;
determining, based on the control indicator, an initial chaining value to be used to generate the message digest for the message specified by the instruction;
generating the message digest using the initial chaining value; and
providing the message digest to be used in the authentication of the message.

### Claim 25

A computer-implemented method comprising:
executing an instruction to generate a message digest for a message, the instruction including a flags field having at least one control indicator, an address of the message, and a function code to specify a function of the instruction to be performed, the function being a specific hash technique to generate the message digest, the message digest to be used in authentication of the message, the executing the instruction including:
obtaining from the instruction a control indicator of the at least one control indicator;
determining, based on the control indicator, an initial chaining value to be used to generate the message digest for the message specified by the instruction;
generating the message digest using the initial chaining value; and
providing the message digest to be used in the authentication of the message.
