{
  "id": "2014/591",
  "url": "https://opencryptology.org/2014/591",
  "original_url": "https://eprint.iacr.org/2014/591",
  "title": "Compact and Side Channel Secure Discrete Gaussian Sampling",
  "authors": [
    "Sujoy Sinha Roy",
    "Oscar Reparaz",
    "Frederik Vercauteren",
    "Ingrid Verbauwhede"
  ],
  "affiliations": null,
  "abstract": "Discrete Gaussian sampling is an integral part of many lattice\nbased cryptosystems such as public-key encryption, digital signature schemes and homomorphic encryption schemes. In this paper we propose a compact and fast Knuth-Yao sampler for sampling from a narrow discrete Gaussian distribution with very high precision. The designed samplers have a maximum statistical distance of $2^{-90}$ to a true discrete Gaussian distribution. In this paper we investigate various optimization techniques to achieve minimum area and cycle requirement. For the standard deviation 3.33, the most area-optimal implementation of the bit-scan operation based Knuth-Yao sampler consumes 30 slices on the Xilinx Virtex 5 FPGAs, and requires on average 17 cycles to generate a sample. We improve the speed of the sampler by using a precomputed table that directly maps the initial random bits into samples with very high probability. The fast sampler consumes 35 slices and spends on average 2.5 cycles to generate a sample. However the sampler architectures are not secure against timing and power analysis based attacks. In this paper we propose a random shuffle method to protect the Gaussian distributed polynomial against such attacks. The side channel attack resistant sampler architecture consumes 52 slices and spends on average 420 cycles to\ngenerate a polynomial of 256 coefficients.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Compact and Side Channel Secure Discrete Gaussian Sampling” by Sujoy Sinha Roy, Oscar Reparaz, Frederik Vercauteren, Ingrid Verbauwhede, Cryptology ePrint Archive, Paper 2014/591, https://eprint.iacr.org/2014/591. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2014-07-31T09:25:40Z",
    "updated": "2014-10-01T06:38:22Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2014/591.pdf",
    "sha256": "4dbf11c51b103935e02a29bc774e497d763f3b9f2867dcd289150891cb1b880b",
    "size": 228656,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:55:32Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2014/591/versions/20190225T165532Z.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/591.pdf",
      "size": 228656,
      "sha256": "4dbf11c51b103935e02a29bc774e497d763f3b9f2867dcd289150891cb1b880b",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260421041029id_/https://eprint.iacr.org/2014/591.pdf",
      "captured_at": "2026-04-21T04:10:29Z",
      "size": 211287
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/591.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "size": 228656
    }
  ],
  "bibtex": "@misc{cryptoeprint:2014/591,\n      author = {Sujoy Sinha Roy and Oscar Reparaz and Frederik Vercauteren and Ingrid Verbauwhede},\n      title = {Compact and Side Channel Secure Discrete Gaussian Sampling},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2014/591},\n      year = {2014},\n      url = {https://eprint.iacr.org/2014/591}\n}"
}
