{
  "id": "2020/733",
  "url": "https://opencryptology.org/2020/733",
  "original_url": "https://eprint.iacr.org/2020/733",
  "title": "A Side-Channel Resistant Implementation of SABER",
  "authors": [
    "Michiel Van Beirendonck",
    "Jan-Pieter D'Anvers",
    "Angshuman Karmakar",
    "Josep Balasch",
    "Ingrid Verbauwhede"
  ],
  "affiliations": null,
  "abstract": "The candidates for the NIST Post-Quantum Cryptography standardization have undergone extensive studies on efficiency and theoretical security, but research on their side-channel security is largely lacking. This remains a considerable obstacle for their real-world deployment, where side-channel security can be a critical requirement. This work describes a side-channel resistant instance of Saber, one of the lattice-based candidates, using masking as a countermeasure. Saber proves to be very efficient to mask due to two specific design choices: power-of-two moduli, and limited noise sampling of learning with rounding. A major challenge in masking lattice-based cryptosystems is the integration of bit-wise operations with arithmetic masking, requiring algorithms to securely convert between masked representations. The described design includes a novel primitive for masked logical shifting on arithmetic shares, as well as adapts an existing masked binomial sampler for Saber. An implementation is provided for an ARM Cortex-M4 microcontroller, and its side-channel resistance is experimentally demonstrated. The masked implementation features a 2.5x overhead factor, significantly lower than the 5.7x previously reported for a masked variant of NewHope. Masked key decapsulation requires less than 3,000,000 cycles on the Cortex-M4 and consumes less than 12kB of dynamic memory, making it suitable for deployment in embedded platforms. We have made our implementation available at\nhttps://github.com/KULeuven-COSIC/SABER-masking.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A Side-Channel Resistant Implementation of SABER” by Michiel Van Beirendonck, Jan-Pieter D'Anvers, Angshuman Karmakar, Josep Balasch, Ingrid Verbauwhede, Cryptology ePrint Archive, Paper 2020/733, https://eprint.iacr.org/2020/733. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2020-06-17T15:53:15Z",
    "updated": "2021-11-25T09:55:19Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/733.pdf",
    "sha256": "fdd06f429e3406a5f2b93eb7157e36aa6845e0a3def4ee56bd423fdaaf18939a",
    "size": 1817629,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/733/versions/20240114T061314Z.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/733.pdf",
      "size": 1817629,
      "sha256": "fdd06f429e3406a5f2b93eb7157e36aa6845e0a3def4ee56bd423fdaaf18939a",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2020/733/versions/20210727T210847Z.pdf",
      "captured_at": "2021-07-27T21:08:47Z",
      "label": "copy captured 2021-07-27",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20210727210847id_/https://eprint.iacr.org/2020/733.pdf",
      "size": 1812321,
      "sha256": "320e204d3c98d783baf28da13c0518b4bd890db0269014663c58e5168215a7fb",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260309022548id_/https://eprint.iacr.org/2020/733.pdf",
      "captured_at": "2026-03-09T02:25:48Z",
      "size": 1814428
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/733.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 1817629
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/733,\n      author = {Michiel Van Beirendonck and Jan-Pieter D'Anvers and Angshuman Karmakar and Josep Balasch and Ingrid Verbauwhede},\n      title = {A Side-Channel Resistant Implementation of SABER},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/733},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/733}\n}"
}
