{
  "id": "2021/199",
  "url": "https://opencryptology.org/2021/199",
  "original_url": "https://eprint.iacr.org/2021/199",
  "title": "Generic, Efficient and Isochronous Gaussian Sampling over the Integers",
  "authors": [
    "Shuo Sun",
    "Yongbin Zhou",
    "Yunfeng Ji",
    "Rui Zhang",
    "Yang Tao"
  ],
  "affiliations": null,
  "abstract": "Gaussian sampling over the integers is one of the fundamental building blocks of lattice-based cryptography. Among the extensively used trapdoor sampling algorithms, it's ineluctable until now. Under the influence of numerous side-channel attacks, it's still challenging to construct a Gaussian sampler that is generic, efficient, and resistant to timing attacks. In this paper, our contribution is three-fold.\n\nFirst, we propose a secure, efficient exponential Bernoulli sampling algorithm. It can be applied to Gaussian samplers based on rejection samplings. We apply it to FALCON, a candidate of round 3 of the NIST post-quantum cryptography standardization project, and reduce its signature generation time by 13%-14%.\n\nSecond, we develop an isochronous Gaussian sampler based on rejection sampling. Our Algorithm can securely sample from Gaussian distributions with different standard deviations and arbitrary centers. We apply it to PALISADE (S&P 2018), an open-source lattice cryptography library. During the online phase of trapdoor sampling, the running time of the G-lattice sampling algorithm is reduced by 44.12% while resisting timing attacks.\n\nThird, we improve the efficiency of the COSAC sampler (PQC 2020). The new COSAC sampler is 1.46x-1.63x faster than the original and has the lowest expected number of trials among all Gaussian samplers based on rejection samplings. But it needs a more efficient algorithm sampling from the normal distribution to improve its performance.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Generic, Efficient and Isochronous Gaussian Sampling over the Integers” by Shuo Sun, Yongbin Zhou, Yunfeng Ji, Rui Zhang, Yang Tao, Cryptology ePrint Archive, Paper 2021/199, https://eprint.iacr.org/2021/199. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-02-24T14:56:17Z",
    "updated": "2021-12-09T11:02:09Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/199.pdf",
    "sha256": "55c7f466513f363dca2228bc5c07e5c02c50197f6f6c733a4bc851fd6f63af57",
    "size": 472698,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/199/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/199.pdf",
      "size": 472698,
      "sha256": "55c7f466513f363dca2228bc5c07e5c02c50197f6f6c733a4bc851fd6f63af57",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2021/199/versions/20210518T171236Z.pdf",
      "captured_at": "2021-05-18T17:12:36Z",
      "label": "copy captured 2021-05-18",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20210518171236id_/https://eprint.iacr.org/2021/199.pdf",
      "size": 581525,
      "sha256": "af2b576de5e8d6b4be7e6e0bdfc2c7d551a6437d6cb5902be9909d85b4fb995e",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251215225334id_/https://eprint.iacr.org/2021/199.pdf",
      "captured_at": "2025-12-15T22:53:34Z",
      "size": 468747
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/199.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 472698
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/199,\n      author = {Shuo Sun and Yongbin Zhou and Yunfeng Ji and Rui Zhang and Yang Tao},\n      title = {Generic, Efficient and Isochronous Gaussian Sampling over the Integers},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/199},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/199}\n}"
}
