# US 2025/0148089 A1 · Instruction prefix encoding for cryptographic computing capability data types

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

- Number: US 2025/0148089 A1
- Document ID: US20250148089A1
- Status: Published application
- Kind: A1
- Application number: 18/346,221
- Filed: 2023-07-01
- Published: 2025-05-08
- Earliest claimed: 2023-07-01
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: David M. Durham; Michael LeMay; Hans Goran Liljestrand
- Web page: https://patentgrep.com/patent/US20250148089A1

## CPC

- G06F 9/30178: {of compressed or encrypted instructions}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 9/30043: {LOAD or STORE instructions; Clear instruction}
- G06F 9/30185: {according to one or more bits in the instruction, e.g. prefix, sub-opcode}
- G06F 9/34: Addressing or accessing the instruction operand or the result {; Formation of operand address; Addressing modes (address translation G06F12/00)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for instruction prefix encoding for cryptographic computing capability data types are described. In an embodiment, an apparatus includes an instruction decoder to decode a first instruction including a first prefix; and cryptography circuitry to perform a cryptographic operation on data, the cryptographic operation to be based at least in part on the first prefix and a relative enumeration in a pointer to the data.

## Claims

### Claim 1

A processor device comprising:
an instruction decoder to decode a first instruction including a first prefix; and
cryptography circuitry to perform a cryptographic operation on data, the cryptographic operation to be based at least in part on the first prefix and a relative enumeration in a pointer to the data.

### Claim 2 (depends on 1)

The processor device of claim 1, wherein the instruction decoder is also to decode a second instruction, the second instruction including a second prefix based on the relative enumeration in the pointer.

### Claim 3 (depends on 2)

The processor device of claim 2, wherein the data corresponds to a member of an object.

### Claim 4 (depends on 3)

The processor device of claim 3, wherein the first prefix is related to the member.

### Claim 5 (depends on 3)

The processor device of claim 3, wherein the second prefix is related to the object.

### Claim 6 (depends on 1)

The processor device of claim 1, wherein the cryptographic operation is based at least on a tweak derived from the first prefix and the relative enumeration.

### Claim 7 (depends on 6)

The processor device of claim 6, wherein the tweak is derived from a sum of the first prefix and the relative enumeration.

### Claim 8 (depends on 1)

The processor device of claim 1, further comprising execution circuitry to perform one or more operations corresponding to the first instruction, including moving the data.

### Claim 9 (depends on 2)

The processor device of claim 2, further comprising execution circuitry to perform one or more operations corresponding to the second instruction, including calculating an effective address of the data based at least in part on the pointer.

### Claim 10

A method comprising:
decoding, by an instruction decoder of a processing device, a first instruction including a first prefix; and
performing, by cryptography circuitry of the processing device, a cryptographic operation on data, the cryptographic operation to be based at least in part on the first prefix and a relative enumeration in a pointer to the data.

### Claim 11 (depends on 10)

The method of claim 10, further comprises decoding, by the instruction decoder, a second instruction including a second prefix based on the relative enumeration in the pointer.

### Claim 12 (depends on 11)

The method of claim 11, wherein the data corresponds to a member of an object.

### Claim 13 (depends on 12)

The method of claim 12, wherein the first prefix is related to the member.

### Claim 14 (depends on 12)

The method of claim 12, wherein the second prefix is related to the object.

### Claim 15 (depends on 10)

The method of claim 10, wherein the cryptographic operation is based at least on a tweak derived from the first prefix and the relative enumeration.

### Claim 16 (depends on 15)

The method of claim 15, wherein the tweak is derived from a sum of the first prefix and the relative enumeration.

### Claim 17 (depends on 10)

The method of claim 10, further comprising performing, by execution circuitry of the processing device, one or more operations corresponding to the first instruction, including moving the data.

### Claim 18 (depends on 11)

The method of claim 11, further comprising performing, by execution circuitry of the processing device, one or more operations corresponding to the second instruction, including calculating an effective address of the data based at least in part on the pointer.

### Claim 19

A non-transitory machine-readable medium storing at least a single instruction which, when executed by a machine, causes the machine to perform a method comprising:
decoding, by an instruction decoder of a processing device, a first instruction including a first prefix; and
performing, by cryptography circuitry of the processing device, a cryptographic operation on data, the cryptographic operation to be based at least in part on the first prefix and a relative enumeration in a pointer to the data.

### Claim 20 (depends on 19)

The non-transitory machine-readable medium of claim 19, wherein the method further comprises decoding, by the instruction decoder, a second instruction including a second prefix based on the relative enumeration in the pointer.
