# US 2019/0319789 A1 · Device ID for Memory Protection

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

- Number: US 2019/0319789 A1
- Document ID: US20190319789A1
- Status: Published application
- Kind: A1
- Application number: 16/454,476
- Filed: 2019-06-27
- Published: 2019-10-17
- Earliest claimed: 2019-06-27
- Assignees: Intel Corporation
- Inventors: Siddhartha Chhabra; Prashant Dewan
- Web page: https://patentgrep.com/patent/US20190319789A1

## CPC

- H04L 9/0866: {involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- 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/85: interconnection devices, e.g. bus-connected or in-line devices
- H04L 9/002: {Countermeasures against attacks on cryptographic mechanisms (network architectures or network communication protocols for protection against malicious traffic H04L63/1441)}
- H04L 9/088: {Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms (network architectures or network communication protocols for using time-dependent keys in a packet data network H04L63/068)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

There is disclosed in one example a computing system, including: a processor; a memory; and a memory encryption engine (MEE) including circuitry and logic to: allocate a protected isolated memory region (IMR); encrypt the protected IMR; set an access control policy to allow access to the IMR by a device identified by a device identifier; and upon receiving a memory access request directed to the IMR, enforce the access control policy.

## Claims

### Claim 1

A computing system, comprising:
a processor;
a memory; and
a memory encryption engine (MEE) comprising circuitry and logic to:
allocate a protected isolated memory region (IMR);
encrypt the protected IMR;
set an access control policy to allow access to the IMR by a device identified by a device identifier; and
upon receiving a memory access request directed to the IMR, enforce the access control policy.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein the MEE logic is further to deny access to any device not identified by the device identifier.

### Claim 3 (depends on 1)

The computing system of claim 1, wherein the MEE logic is further to receive a plurality of device identifiers for a plurality of devices, and permit access to the IMR only to the plurality of devices.

### Claim 4 (depends on 1)

The computing system of claim 1, wherein the MEE is a multi-key total memory encryption (MKTME) engine.

### Claim 5 (depends on 1)

The computing system of claim 1, wherein the MEE is a partial scope MEE.

### Claim 6 (depends on 1)

The computing system of claim 1, wherein the processor comprises one or more access policy registers, and circuitry and logic to set the access control policy of the MEE according to the access policy registers.

### Claim 7 (depends on 1)

The computing system of claim 1, wherein the processor comprises logic to provide a SET_POLICY instruction, the SET_POLICY instruction to provide a software-accessible means for setting the access control policy.

### Claim 8 (depends on 1)

The computing system of claim 1, further comprising processor microcode to implement the SET_POLICY instruction.

### Claim 9 (depends on 1)

The computing system of claim 1, further comprising an on-die interconnect fabric between the processor and the MEE, the on-die interconnect fabric comprising dedicated device identifier bus lines.

### Claim 10 (depends on 9)

The computing system of claim 9, further comprising an uncore, and source identifier bus lines between the processor and the uncore.

### Claim 11 (depends on 1)

The computing system of claim 1, further comprising a peripheral component interconnect express (PCIe) controller, the PCIe controller comprising a device ID processor module.

### Claim 12 (depends on 11)

The computing system of claim 11, wherein the device ID processor module comprises logic to process a device ID within a transaction layer protocol (TLP) packet prefix.

### Claim 13

An integrated circuit, comprising:
a memory encryption engine (MEE) module comprising circuitry to encrypt all or a portion of a main memory, and to identify within the encrypted memory a range of memory as an isolated memory region (IMR);
a memory policy set module comprising circuitry to receive an authorized device identifier, and to associate the authorized device identifier with the IMR as a device authorized to access the IMR; and
a memory policy enforcement module comprising circuitry to receive an access request directed to a memory location within the range of the IMR, including a requesting device identifier, and to allow the access request only if the requesting device identifier matches the authorized device identifier.

### Claim 14 (depends on 13)

The integrated circuit of claim 13, wherein the memory policy enforcement module further comprises circuitry to determine that the requesting device identifier does not match the authorized device identifier, and to drop the access request.

### Claim 15 (depends on 13)

The integrated circuit of claim 13, further comprising an interface to an on-chip fabric, the interconnect comprising n bus lines for receiving the requesting device identifier.

### Claim 16 (depends on 13)

The integrated circuit of claim 13, wherein n=16.

### Claim 17

A microprocessor, comprising:
one or more cores; and
a register file including one or more memory policy registers configured to hold a memory range for an encrypted memory region, and at least one authorized device identifier authorized to access the encrypted memory region; and
logic to program a memory encryption engine (MEE) with a memory access policy according to the range for the encrypted memory region and the at least one authorized device identifier.

### Claim 18 (depends on 17)

The microprocessor of claim 17, further comprising providing a memory policy set instruction, wherein the memory policy set instruction is to receive a range of the encrypted memory region and the at least one authorized device identifier, and to program the MEE according to the range of the encrypted memory and the at least one authorized device identifier.

### Claim 19 (depends on 18)

The microprocessor of claim 18, wherein the memory policy set instruction is to receive a plurality of device identifiers authorized to access the range.

### Claim 20 (depends on 18)

The microprocessor of claim 18, wherein the memory policy set instruction is to receive a range of device identifiers authorized to access the range of encrypted memory.
