{
  "id": "2016/204",
  "url": "https://opencryptology.org/2016/204",
  "original_url": "https://eprint.iacr.org/2016/204",
  "title": "A Memory Encryption Engine Suitable for General Purpose Processors",
  "authors": [
    "Shay Gueron"
  ],
  "affiliations": null,
  "abstract": "Cryptographic protection of memory is an essential ingredient for any technology that allows a closed computing system to run software in a trustworthy manner and handle secrets, while its external memory is susceptible to eavesdropping and tampering. An example for such a technology is\nIntel's emerging Software Guard Extensions technology (Intel SGX) that appears in the latest processor generation, Architecture Codename Skylake.\nThis technology operates under the assumption that the security perimeter includes only the internals of the CPU package, and in particular, leaves the DRAM untrusted.\nIt is supported by an autonomous hardware unit called the Memory Encryption Engine (MEE), whose role is to protect the confidentiality, integrity, and freshness of the CPU-DRAM traffic over some memory range.\nTo succeed in adding this unit to the micro architecture of a general purpose processor product, it must be designed under very strict engineering constraints. This requires a careful combination of cryptographic primitives operating over a customized integrity tree that mostly resides on the DRAM while relying only on a small internally stored root.\nThe purpose of this paper is to explain how this hardware component of SGX works, and the rationale behind some of its design choices.\nTo this end, we formalize the MEE threat model and security objectives, describe the MEE design, cryptographic properties, security margins, and report some concrete performance results.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A Memory Encryption Engine Suitable for General Purpose Processors” by Shay Gueron, Cryptology ePrint Archive, Paper 2016/204, https://eprint.iacr.org/2016/204. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-02-25T21:13:16Z",
    "updated": "2016-02-25T21:13:16Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/204.pdf",
    "sha256": "7bc4bbb3392bc782306a6a1bc22d98c492222cb1525208fc0467944010234f40",
    "size": 1910159,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/204/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/204.pdf",
      "size": 1910159,
      "sha256": "7bc4bbb3392bc782306a6a1bc22d98c492222cb1525208fc0467944010234f40",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002195542id_/https://eprint.iacr.org/2016/204.pdf",
      "captured_at": "2026-10-02T19:55:42Z",
      "size": 1307211
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/204.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 1910159
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/204,\n      author = {Shay Gueron},\n      title = {A Memory Encryption Engine Suitable for General Purpose Processors},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/204},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/204}\n}"
}
