{
  "id": "2022/1472",
  "url": "https://opencryptology.org/2022/1472",
  "original_url": "https://eprint.iacr.org/2022/1472",
  "title": "Hardware-Supported Cryptographic Protection of Random Access Memory",
  "authors": [
    "Roberto Avanzi",
    "Ionut Mihalcea",
    "David Schall",
    "Héctor Montaner",
    "Andreas Sandberg"
  ],
  "affiliations": null,
  "abstract": "Confidential Computing is the protection of data in use from access or modification by any unauthorized agent, including privileged software. For example, in Intel SGX (Client and Scalable versions) and TDX, AMD SEV, Arm CCA, and IBM Ultravisor this protection is implemented via access control policies. Some of these architectures also include memory protection schemes relying on cryptography, to protect against physical attacks.\n\nWe review and classify such schemes, from academia and industry, according to protection levels corresponding of adversaries with varying capabilities, budget, and strategy.\n\nThe building blocks of all memory protection schemes are encryption and integrity primitives and modes of operation, as well as anti-replay structures. We review these building blocks, consider their possible combinations, and evaluate the performance impact of the resulting schemes.\n\nWe present a framework for performance evaluation in a simulated system. To understand the best and worst case overhead, systems with varying load levels are considered.\n\nWe propose new solutions to further reduce the performance and memory overheads of such technologies. Advanced counter compression techniques make it viable to store counters used for replay protection in a physically protected memory.  By additionally repurposing some ECC bits to store integrity tags, we can provide the highest levels of confidentiality, integrity, and replay protection at a hitherto unattained performance penalty, namely 3.32%, even under extreme load and at costs that make them reasonable in data centers. Combinations of technologies that are suitable for client devices are also discussed.",
  "category": "Applications",
  "license": {
    "code": "CC BY-NC-ND",
    "url": "https://creativecommons.org/licenses/by-nc-nd/4.0/",
    "label": "CC BY-NC-ND 4.0",
    "attribution": "“Hardware-Supported Cryptographic Protection of Random Access Memory” by Roberto Avanzi, Ionut Mihalcea, David Schall, Héctor Montaner, Andreas Sandberg, Cryptology ePrint Archive, Paper 2022/1472, https://eprint.iacr.org/2022/1472. Licensed under CC BY-NC-ND 4.0 (https://creativecommons.org/licenses/by-nc-nd/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": true,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2022-10-27T10:52:57Z",
    "updated": "2023-11-07T12:14:14Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1472.pdf",
    "sha256": "c8683fedc35f5c52cf8b83d8ac9ff8640e7c1f48201d787e109961ed98289f7d",
    "size": 1139653,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1472/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1472.pdf",
      "size": 1139653,
      "sha256": "c8683fedc35f5c52cf8b83d8ac9ff8640e7c1f48201d787e109961ed98289f7d",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/1472/versions/20221027T203549Z.pdf",
      "captured_at": "2022-10-27T20:35:49Z",
      "label": "copy captured 2022-10-27",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221027203549id_/https://eprint.iacr.org/2022/1472.pdf",
      "size": 1414031,
      "sha256": "38791809e8be4f3eeae556e100e232134733bc55d48c1b6d8908982af90a35c3",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250526211353id_/https://eprint.iacr.org/2022/1472.pdf",
      "captured_at": "2025-05-26T21:13:53Z",
      "size": 1112887
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1472.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 1139653
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1472,\n      author = {Roberto Avanzi and Ionut Mihalcea and David Schall and Héctor Montaner and Andreas Sandberg},\n      title = {Hardware-Supported Cryptographic Protection of Random Access Memory},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1472},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1472}\n}"
}
