{
  "id": "2017/033",
  "url": "https://opencryptology.org/2017/033",
  "original_url": "https://eprint.iacr.org/2017/033",
  "title": "Analyzing the Shuffling Side-Channel Countermeasure for Lattice-Based Signatures",
  "authors": [
    "Peter Pessl"
  ],
  "affiliations": null,
  "abstract": "Implementation security for lattice-based cryptography is still a vastly unexplored field. At CHES 2016, the very first side-channel attack on a lattice-based signature scheme was presented. Later, shuffling was proposed as an inexpensive means to protect the Gaussian sampling component against such attacks. However, the concrete effectiveness of this countermeasure has never been evaluated.\nWe change that by presenting an in-depth analysis of the shuffling countermeasure. Our analysis consists of two main parts. First, we perform a side-channel attack on a Gaussian sampler implementation. We combine templates with a recovery of data-dependent branches, which are inherent to samplers. We show that an adversary can realistically recover some samples with very high confidence.\nSecond, we present a new attack against the shuffling countermeasure in context of Gaussian sampling and lattice-based signatures. We do not attack the shuffling algorithm as such, but exploit differing distributions of certain variables.\nWe give a broad analysis of our attack by considering multiple modeled SCA adversaries.\nWe show that a simple version of shuffling is not an effective countermeasure. With our attack, a profiled SCA adversary can recover the key by observing only 7000 signatures. A second version of this countermeasure, which uses Gaussian convolution in conjunction with shuffling twice, can increase side-channel security and the number of required signatures significantly. Here, roughly 285000 observations are needed for a successful attack. Yet, this number is still practical.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Analyzing the Shuffling Side-Channel Countermeasure for Lattice-Based Signatures” by Peter Pessl, Cryptology ePrint Archive, Paper 2017/033, https://eprint.iacr.org/2017/033. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2017-01-13T18:31:57Z",
    "updated": "2017-01-13T18:31:57Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2017/033.pdf",
    "sha256": "ff652c53bc3420e36f5ff6b26eaa3a54281455961905975cfb937bfdeb672a22",
    "size": 3149020,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:41:11Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2017/033/versions/20190225T174111Z.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/033.pdf",
      "size": 3149020,
      "sha256": "ff652c53bc3420e36f5ff6b26eaa3a54281455961905975cfb937bfdeb672a22",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260429090012id_/https://eprint.iacr.org/2017/033.pdf",
      "captured_at": "2026-04-29T09:00:12Z",
      "size": 3044864
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/033.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "size": 3149020
    }
  ],
  "bibtex": "@misc{cryptoeprint:2017/033,\n      author = {Peter Pessl},\n      title = {Analyzing the Shuffling Side-Channel Countermeasure for Lattice-Based Signatures},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2017/033},\n      year = {2017},\n      url = {https://eprint.iacr.org/2017/033}\n}"
}
