# US 2022/0035749 A1 · Cryptographic protection of memory attached over interconnects

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

- Number: US 2022/0035749 A1
- Document ID: US20220035749A1
- Status: Published application
- Kind: A1
- Application number: 17/504,609
- Filed: 2021-10-19
- Published: 2022-02-03
- Earliest claimed: 2021-06-25
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Siddhartha Chhabra; Prashant Dewan
- Web page: https://patentgrep.com/patent/US20220035749A1

## CPC

- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 12/1425: {the protection being physical, e.g. cell, word, block}
- G06F 12/1441: {for a range}
- G06F 12/1466: {Key-lock mechanism}
- G06F 13/1668: {Details of memory controller}
- G06F 21/79: in semiconductor storage media, e.g. directly-addressable memories
- G06F 2212/1052: Security improvement
- G06T 1/60: Memory management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Methods and apparatus relating to cryptographic protection of memory attached over interconnects are described. In an embodiment, memory stores data and a processor having execution circuitry executes an instruction to program an inline memory expansion logic and a host memory encryption logic with one or more cryptographic keys. The inline memory expansion logic encrypts the data to be written to the memory and decrypts encrypted data to be read from the memory. The memory is coupled to the processor via an interconnect endpoint of a system fabric. Other embodiments are also disclosed and claimed.

## Claims

### Claim 1

An apparatus comprising:
a system fabric to couple interconnect attached non-volatile memory and volatile memory to a processor; and
an inline memory expansion logic, coupled to an interconnect endpoint of the system fabric, to encrypt data to be written to the interconnect attached non-volatile memory and to decrypt encrypted data to be read from the interconnect attached non-volatile memory, wherein the interconnect endpoint is to operate in accordance with Compute Express Link™ (CXL™) protocol.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the interconnect attached non-volatile memory is to be accessed in block mode or direct access mode.

### Claim 3 (depends on 1)

The apparatus of claim 1, comprising host memory encryption logic is to encrypt data to be written to the volatile memory and to decrypt encrypted data to be read from the volatile memory.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the interconnect attached non-volatile memory and the volatile memory are to be accessible as a single system main memory by the processor.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the interconnect attached non-volatile memory is a far memory in a two level memory system and the volatile memory is a near memory in the two level memory system.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein one or more of the processor, the interconnect attached non-volatile memory, inline memory expansion logic, the interconnect endpoint, and the system fabric are on a same integrated circuit device.

### Claim 7

A method comprising:
an inline memory expansion logic, coupled to an interconnect endpoint of a system fabric, to encrypt data to be written to an interconnect attached non-volatile memory and to decrypt encrypted data to be read from the interconnect attached non-volatile memory,
wherein the system fabric couples the interconnect attached non-volatile memory and volatile memory to a processor
wherein the interconnect endpoint operates in accordance with Compute Express Link™ (CXL™) protocol.

### Claim 8 (depends on 7)

The method of claim 7, further comprising causing the interconnect attached non-volatile memory to be accessed in block mode or direct access mode.

### Claim 9 (depends on 7)

The method of claim 7, further comprising causing host memory encryption logic to encrypt data to be written to the volatile memory and to decrypt encrypted data to be read from the volatile memory.

### Claim 10 (depends on 7)

The method of claim 7, wherein the interconnect attached non-volatile memory and the volatile memory are accessible as a single system main memory by the processor.

### Claim 11 (depends on 7)

The method of claim 7, wherein the interconnect attached non-volatile memory is a far memory in a two level memory system and the volatile memory is a near memory in the two level memory system.

### Claim 12 (depends on 7)

The method of claim 7, wherein one or more of the processor, the interconnect attached non-volatile memory, inline memory expansion logic, the interconnect endpoint, and the system fabric are on a same integrated circuit device.

### Claim 13

One or more non-transitory computer-readable media comprising one or more instructions that when executed on a processor configure the processor to perform one or more operations to cause:
an inline memory expansion logic, coupled to an interconnect endpoint of a system fabric, to encrypt data to be written to an interconnect attached non-volatile memory and to decrypt encrypted data to be read from the interconnect attached non-volatile memory,
wherein the system fabric couples the interconnect attached non-volatile memory and volatile memory to a processor
wherein the interconnect endpoint is to operate in accordance with Compute Express Link™ (CXL™) protocol.

### Claim 14 (depends on 13)

The one or more computer-readable media of claim 13, further comprising one or more instructions that when executed on the at least one processor configure the at least one processor to perform one or more operations to cause the interconnect attached non-volatile memory to be accessed in block mode or direct access mode.

### Claim 15 (depends on 13)

The one or more computer-readable media of claim 13, further comprising one or more instructions that when executed on the at least one processor configure the at least one processor to perform one or more operations to cause host memory encryption logic to encrypt data to be written to the volatile memory and to decrypt encrypted data to be read from the volatile memory.

### Claim 16 (depends on 13)

The one or more computer-readable media of claim 13, wherein the interconnect attached non-volatile memory and the volatile memory are accessible as a single system main memory by the processor.

### Claim 17 (depends on 13)

The one or more computer-readable media of claim 13, wherein the interconnect attached non-volatile memory is a far memory in a two level memory system and the volatile memory is a near memory in the two level memory system.

### Claim 18 (depends on 13)

The one or more computer-readable media of claim 13, wherein one or more of the processor, the interconnect attached non-volatile memory, inline memory expansion logic, the interconnect endpoint, and the system fabric are on a same integrated circuit device.
