Scalable multi-key memory encryption
Abstract
Embodiments of apparatuses, methods, and systems for scalable multi-key memory encryption are disclosed. In an embodiment, an apparatus includes a core, an encryption unit, and key identification hardware. The core is to write data to and read data from memory regions, each to be identified by a corresponding address. The encryption unit to encrypt data to be written and decrypt data to be read. The key identification hardware is to use a portion of the corresponding address to look up a corresponding key identifier in a key information data structure. The corresponding key identifier is one multiple key identifiers. The corresponding key identifier is to identify which one of multiple encryption keys is to be used to encrypt and decrypt the data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 77 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
An apparatus comprising: a core to write data to and read data from a plurality of memory regions, each of the plurality of memory regions to be identified by a corresponding address; an encryption unit to encrypt data to be written and decrypt data to be read, wherein the encryption unit is to use a plurality of encryption keys; key identification hardware to use a portion of the corresponding address to look up a corresponding key identifier in a key information data structure, wherein, the corresponding key identifier is one of a plurality of key identifiers, and the corresponding key identifier is to identify one of the plurality of encryption keys to be used to encrypt and decrypt the data; and an instruction decoder to decode a first instruction to write to the key information data structure, wherein the first instruction is the only way for software to write to the key information data structure and is to write only to the key information structure; wherein the key information d
- Claim 2Depends on #1
The apparatus of claim 1, wherein the portion of the corresponding address is an address of one of the plurality of memory region to be protected by encryption with the one of the plurality of encryption keys identified by the corresponding key identifier.
- Claim 3Depends on #2
The apparatus of claim 2, wherein the one of the plurality of memory regions is a page.
- Claim 4Depends on #3
The apparatus of claim 3, wherein the portion of the corresponding address is a page frame number.
- Claim 5Depends on #4
The apparatus of claim 4, wherein the corresponding address is an address of a memory location within the page.
- Claim 6Depends on #5
The apparatus of claim 5, wherein the key information data structure is to include an entry per page, wherein each entry is to include a key identifier field.
- Claim 7Depends on #6
The apparatus of claim 6, wherein each entry is to include an indicator to indicate whether data to be stored at the corresponding address is private.
- Claim 8Depends on #6
The apparatus of claim 6, wherein each entry is to include an indicator to indicate that the entry is one of a group of entries in which the key identifier field is storing a first key identifier, wherein the first key identifier is the same for each entry.
Technical Overview & Description
FIELD OF INVENTION The field of invention relates generally to information processing, and, more specifically, but without limitation, to security in information processing systems. BACKGROUND Information processing systems may use disk encryption to protect data at rest. However, data in memory may be vulnerable to attacks. The vulnerability of data in memory is further exacerbated by the current trend of moving data and enterprise workloads into the cloud, for example, using virtualization-based hosting services provided by cloud service providers. BRIEF DESCRIPTION OF THE DRAWINGS The present invention is illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements and in which: FIG. 1 is a diagram illustrating a processing system according to an embodiment of the invention; FIG. 2 illustrates an embodiment in which addresses may be mapped to key identifiers using a key information table (KIT); FIG. 3 A illustrates a format of a KIT read instruction according to embodiments; FIG. 3 B illustrates a format of a KIT write instruction according to embodiments; FIG. 4 A is a block diagram illustrating both an exemplary in-order pipeline and an exemplary register renaming, out-of-order issue/execution pipeline according to embodiments of the invention; FIG. 4 B is a block diagram illustrating both an exemplary embodiment of an in-order architecture core and an exemplary register renaming, out-of-order issue/execution architecture core to be included in a processor according to embodiments of the invention; FIG. 5 is a block diagram of a processor that may have more than one core, may have an integrated memory controller, and may have integrated graphics according to embodiments of the invention; FIG. 6 is a block diagram of a system in accordance with one embodiment of the present invention; FIG. 7 is a block diagram of a first more specific exemplary system in accordance with an embodi
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (77)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- No stated author; Intel Architecture Memory Encryption Technologies Specification; 2019; retrieved from the Internet kib.kiev.ua/x86docs/Intel/MemEncryption/336907-002.pdf; pp. 1-30, as printed. (Year: 2019).
- No stated author;
- §
- 5.2 Page Translation
- —
- Intel 80386 Reference Programmer's Manual; Retrieved from the Internet https://pdos.csail.mit.edu/6.828/2011/readings/i386/toc.htm; pp. 1-4 as printed. (Year: 2011).
- European Search Report and Search Opinion, EP App. No. 21197466.2, dated Mar. 2, 2022, 9 pages.
- Notice of Allowance, U.S. Appl. No. 16/727,608, dated Apr. 13, 2022, 13 pages.
- European Search Report and Search Opinion, EP App. No. 20198333.5, dated Mar. 9, 2021, 8 pages.
- Examination Report, IN App. No. 202044041215, dated Feb. 25, 2022, 6 pages.