{
  "id": "2019/910",
  "url": "https://opencryptology.org/2019/910",
  "original_url": "https://eprint.iacr.org/2019/910",
  "title": "Efficiently Masking Binomial Sampling at Arbitrary Orders for Lattice-Based Crypto",
  "authors": [
    "Tobias Schneider",
    "Clara Paglialonga",
    "Tobias Oder",
    "Tim Güneysu"
  ],
  "affiliations": null,
  "abstract": "With the rising popularity of lattice-based cryptography, the Learning with Errors (LWE) problem has emerged as a fundamental core of numerous encryption and key exchange schemes. Many LWE-based schemes have in common that they require sampling from a discrete Gaussian distribution which comes with a number of challenges for the practical instantiation of those schemes. One of these is the inclusion of countermeasures against a physical side-channel adversary. While several works discuss the protection of samplers against timing leaks, only few publications explore resistance against other side-channels, e.g., power. The most recent example of a protected binomial sampler (as used in key encapsulation mechanisms to sufficiently approximate Gaussian distributions) from CHES 2018 is restricted to a first-order adversary and\ncannot be easily extended to higher protection orders.\nIn this work, we present the first protected binomial sampler which provides provable security against a side-channel adversary at arbitrary orders. Our construction relies on a new conversion between Boolean and arithmetic (B2A) masking schemes for prime moduli which outperforms previous algorithms significantly for the relevant parameters, and is paired with a new masked bitsliced sampler allowing secure and efficient sampling even at larger protection orders. Since our proposed solution supports arbitrary moduli, it can be utilized in a large variety of lattice-based constructions, like NewHope, LIMA, Saber, Kyber, HILA5, or Ding Key Exchange.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Efficiently Masking Binomial Sampling at Arbitrary Orders for Lattice-Based Crypto” by Tobias Schneider, Clara Paglialonga, Tobias Oder, Tim Güneysu, Cryptology ePrint Archive, Paper 2019/910, https://eprint.iacr.org/2019/910. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2019-08-08T06:45:17Z",
    "updated": "2019-08-08T06:45:17Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2019/910.pdf",
    "sha256": "8fe2520466948364c88403b2c4e4260f1e3029f055e364e393af03886df8fe1c",
    "size": 918522,
    "source": "github-mirror",
    "source_date": "2020-04-17T10:36:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2019/910/versions/20200417T103614Z.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "label": "copy captured 2020-04-17",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/910.pdf",
      "size": 918522,
      "sha256": "8fe2520466948364c88403b2c4e4260f1e3029f055e364e393af03886df8fe1c",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260228175648id_/https://eprint.iacr.org/2019/910.pdf",
      "captured_at": "2026-02-28T17:56:48Z",
      "size": 828285
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2019/910.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "size": 918522
    }
  ],
  "bibtex": "@misc{cryptoeprint:2019/910,\n      author = {Tobias Schneider and Clara Paglialonga and Tobias Oder and Tim Güneysu},\n      title = {Efficiently Masking Binomial Sampling at Arbitrary Orders for Lattice-Based Crypto},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2019/910},\n      year = {2019},\n      url = {https://eprint.iacr.org/2019/910}\n}"
}
