{
  "id": "2026/1632",
  "url": "https://opencryptology.org/2026/1632",
  "original_url": "https://eprint.iacr.org/2026/1632",
  "title": "Counters and Nonces for Mitigating Ciphertext Side Channels",
  "authors": [
    "Moritz Peters",
    "Jens Alich",
    "Ashwin Jha",
    "Gregor Leander",
    "Yuval Yarom",
    "Tim Güneysu"
  ],
  "affiliations": null,
  "abstract": "Recent works have highlighted the risk of deterministic memory encryption, as used for example in AMD SEV. In the so-called ciphertext side-channel attack, an adversary leaks sensitive information, such as cryptographic keys, from an encrypted VM by observing changes in the encrypted contents of the memory. To date, countermeasures have been quite restricted in scope and have not addressed the root cause. Alternatively, some studies suggest adding freshness to memory encryption. However, this approach is considered impractical due to the performance overhead introduced by fetching such freshness values for every single memory access.\n\nIn this work, we propose an efficient approach for eliminating most of the overhead of fetching the aforementioned freshness. Our core idea is to repurpose the ECC memory area to efficiently store random nonces or counters. We propose a range of implementations with varying trade-offs between security guarantees and performance overhead, and demonstrate that we can achieve a solid baseline security even with small random nonces. By leaving a portion of ECC memory unused, we show that it is possible to efficiently integrate protection mechanisms such as memory integrity and memory tagging, while limiting the overall performance overhead to approximately 2%.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Counters and Nonces for Mitigating Ciphertext Side Channels” by Moritz Peters, Jens Alich, Ashwin Jha, Gregor Leander, Yuval Yarom, Tim Güneysu, Cryptology ePrint Archive, Paper 2026/1632, https://eprint.iacr.org/2026/1632. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-08-07T08:31:34Z",
    "updated": "2026-08-07T08:31:34Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/1632.pdf",
    "sha256": "95a6641d5fe69146c4f82394b801dfa0937b06af37834064b7247b43faa7f73e",
    "size": 676424,
    "source": "wayback",
    "source_date": "2026-09-28T16:23:48Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/1632/versions/20260928T162348Z.pdf",
      "captured_at": "2026-09-28T16:23:48Z",
      "label": "copy captured 2026-09-28",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260928162348id_/https://eprint.iacr.org/2026/1632.pdf",
      "size": 676424,
      "sha256": "95a6641d5fe69146c4f82394b801dfa0937b06af37834064b7247b43faa7f73e",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260928162348id_/https://eprint.iacr.org/2026/1632.pdf",
      "captured_at": "2026-09-28T16:23:48Z",
      "size": 647163
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/1632,\n      author = {Moritz Peters and Jens Alich and Ashwin Jha and Gregor Leander and Yuval Yarom and Tim Güneysu},\n      title = {Counters and Nonces for Mitigating Ciphertext Side Channels},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/1632},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/1632}\n}"
}
