# US 2026/0093853 A1 · Memory safety using cryptographic entropy tagging

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

- Number: US 2026/0093853 A1
- Document ID: US20260093853A1
- Status: Published application
- Kind: A1
- Application number: 18/900,705
- Filed: 2024-09-28
- Published: 2026-04-02
- Earliest claimed: 2024-09-28
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Bharath Namboothiry; David M. Durham; Christoph Dobraunig; Michael LeMay
- Web page: https://patentgrep.com/patent/US20260093853A1

## CPC

- G06F 21/78: to assure secure storage of data (address-based protection against unauthorised use of memory G06F12/14; record carriers for use with machines and with at least a part designed to carry digital markings G06K19/00)
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/604: {Tools and structures for managing or administering access control systems}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for memory safety using cryptographic entropy tagging are described. In an embodiment, an apparatus includes a plurality of decryption circuits and an entropy comparison circuit. The plurality of decryption circuits are to decrypt content of a memory location to be referenced by a pointer used in an attempted access to the memory location, the pointer to include a supplied tag value, wherein the supplied tag value is one of a plurality of possible tag values, and wherein each of the plurality of decryption circuits is to decrypt the content of the memory location based on a different one of the plurality of possible tag values to generate a plurality of decryption results. The entropy comparison circuit is to determine whether the attempted access is valid by measuring entropy of at least one of the plurality of decryption results and comparing the entropy of the at least one of the plurality of decryption results to the entropy of at least an other one of the plurality of decryption results or a threshold value.

## Claims

### Claim 1

An apparatus comprising:
a plurality of decryption circuits to decrypt content of a memory location to be referenced by a pointer used in an attempted access to the memory location, the pointer to include a supplied tag value, wherein the supplied tag value is one of a plurality of possible tag values, and wherein each of the plurality of decryption circuits is to decrypt the content of the memory location based on a different one of the plurality of possible tag values to generate a plurality of decryption results; and
an entropy comparison circuit to determine whether the attempted access is valid by measuring entropy of at least one of the plurality of decryption results and comparing the entropy of the at least one of the plurality of decryption results to the entropy of at least an other one of the plurality of decryption results or a threshold value.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the entropy comparison circuit is to measure the entropy based on at least one of a byte collision test, a nibble collision test, and a bit collision test.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the attempted access to the memory location is one of a plurality of attempted accesses to a plurality of memory locations, wherein each of the plurality of memory locations is of a fixed size.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein each of the plurality of memory locations is to be assigned one of the plurality of possible tag values.

### Claim 5 (depends on 3)

The apparatus of claim 3, wherein the threshold value is to be determined based on tuning parameters including at least one of the fixed size and a maximum number of possible tag values.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein if the attempted access is a write of data that would result in a subsequent valid read access being determined invalid by the entropy comparison circuit, the supplied tag value and an address of the memory location is to be stored in a lookup table to be referenced during the subsequent valid read access.

### Claim 7

A method comprising:
decrypting content of a memory location referenced by a pointer used in an attempted access to the memory location, the pointer including a supplied tag value, wherein the supplied tag value is one of a plurality of possible tag values and wherein the decrypting is performed based on the supplied tag value;
measuring entropy of at least one of a plurality of decryption results; and
determining whether the attempted access is valid by comparing the entropy of a result of the decrypting to the entropy of a result of decrypting based on at least an other one of the plurality of possible tag values or a threshold value.

### Claim 8 (depends on 7)

The method of claim 7, wherein the attempted access is determined to be valid if the entropy of the result of the decrypting based on the supplied tag value is low compared to the entropy of the result of the decrypting based on the at least the other of the possible tag values.

### Claim 9 (depends on 7)

The method of claim 7, further comprising, if the entropy of the result of the decrypting based on the supplied tag value is high compared to the entropy of the result of the decrypting based on the at least the other of the possible tag values, querying a false positive table for the supplied tag value and an address of the memory location.

### Claim 10 (depends on 9)

The method of claim 9, further comprising determining the access is valid if the supplied tag value and the address of the memory location are found in the false positive table.

### Claim 11 (depends on 9)

The method of claim 9, further comprising determining the attempted access is invalid if the supplied tag value and the address of the memory location are not found in the false positive table.

### Claim 12 (depends on 7)

The method of claim 7, wherein decrypting based on at least an other one of the plurality of possible tag values is performed in parallel with decrypting based on the supplied tag value.

### Claim 13 (depends on 7)

The method of claim 7, wherein decrypting based on at least an other one of the plurality of possible tag values is performed after decrypting based on the supplied tag value, only if the entropy of the result of the decrypting based on the supplied tag value is high compared to the threshold.

### Claim 14 (depends on 7)

The method of claim 7, wherein the entropy is measured based on at least one of a byte collision test, a nibble collision test, and a bit collision test.

### Claim 15 (depends on 7)

The method of claim 7, wherein the attempted access to the memory location is one of a plurality of attempted accesses to a plurality of memory locations, wherein each of the plurality of memory locations is of a fixed size.

### Claim 16 (depends on 15)

The method of claim 15, wherein each of the plurality of memory locations is assigned one of the plurality of possible tag values.

### Claim 17 (depends on 15)

The method of claim 15, wherein the threshold value is determined based on tuning parameters including at least one of the fixed size and a maximum number of possible tag values.

### Claim 18

A non-transitory machine-readable medium storing instructions which, when executed by a machine, causes the machine to perform a method comprising:
decrypting content of a memory location referenced by a pointer used in an attempted access to the memory location, the pointer including a supplied tag value, wherein the supplied tag value is one of a plurality of possible tag values and wherein the decrypting is performed based on the supplied tag value;
measuring entropy of at least one of a plurality of decryption results; and
determining whether the attempted access is valid by comparing the entropy of a result of the decrypting to the entropy of a result of decrypting based on at least an other one of the plurality of possible tag values or a threshold value.

### Claim 19 (depends on 18)

The non-transitory machine-readable medium of claim 18, wherein the attempted access is determined to be valid if the entropy of the result of the decrypting based on the supplied tag value is low compared to the entropy of the result of the decrypting based on the at least the other of the possible tag values.

### Claim 20 (depends on 18)

The non-transitory machine-readable medium of claim 18, wherein the method further comprises, if the entropy of the result of the decrypting based on the supplied tag value is high compared to the entropy of the result of the decrypting based on the at least the other of the possible tag values, querying a false positive table for the supplied tag value and an address of the memory location.
