{
  "id": "2022/706",
  "url": "https://opencryptology.org/2022/706",
  "original_url": "https://eprint.iacr.org/2022/706",
  "title": "Finding and Evaluating Parameters for BGV",
  "authors": [
    "Johannes Mono",
    "Chiara Marcolla",
    "Georg Land",
    "Tim Güneysu",
    "Najwa Aaraj"
  ],
  "affiliations": null,
  "abstract": "Fully Homomorphic Encryption (FHE) is a groundbreaking technology that allows for arbitrary computations to be performed on encrypted data. State-of-the-art schemes such as  Brakerski Gentry Vaikuntanathan (BGV) are based on the Learning with Errors over rings (RLWE) assumption, and each ciphertext has an associated error that grows with each homomorphic operation.\nFor correctness, the error needs to stay below a certain threshold, requiring a trade-off between security and error margin for computations in the parameters.\nChoosing the parameters accordingly, for example, the polynomial degree or the ciphertext modulus, is challenging and requires expert knowledge specific to each scheme.\nIn this work, we improve the parameter generation process across all steps of its process. We provide a comprehensive analysis for BGV in the Double Chinese Remainder Theorem (DCRT) representation providing more accurate and better bounds than previous work on the DCRT, and empirically derive a closed formula linking the security level, the polynomial degree, and the ciphertext modulus.\nAdditionally, we introduce new circuit models and combine our theoretical work in an easy-to-use parameter generator for researchers and practitioners interested in using BGV for secure computation.\nOur formula results in better security estimates than previous closed formulas, while our DCRT analysis results in reduced prime sizes of up to 42% compared to previous work.",
  "category": "Applications",
  "license": {
    "code": "CC BY-NC-SA",
    "url": "https://creativecommons.org/licenses/by-nc-sa/4.0/",
    "label": "CC BY-NC-SA 4.0",
    "attribution": "“Finding and Evaluating Parameters for BGV” by Johannes Mono, Chiara Marcolla, Georg Land, Tim Güneysu, Najwa Aaraj, Cryptology ePrint Archive, Paper 2022/706, https://eprint.iacr.org/2022/706. Licensed under CC BY-NC-SA 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2022-06-03T09:52:14Z",
    "updated": "2026-04-07T12:21:19Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/706.pdf",
    "sha256": "203f1bf159e7c066b48415cae266587301c19f03c06b491f0578259772081c17",
    "size": 1374227,
    "source": "wayback",
    "source_date": "2026-04-29T13:49:59Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/706/versions/20260429T134959Z.pdf",
      "captured_at": "2026-04-29T13:49:59Z",
      "label": "copy captured 2026-04-29",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260429134959id_/https://eprint.iacr.org/2022/706.pdf",
      "size": 1374227,
      "sha256": "203f1bf159e7c066b48415cae266587301c19f03c06b491f0578259772081c17",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/706/versions/20230331T060236Z.pdf",
      "captured_at": "2023-03-31T06:02:36Z",
      "label": "copy captured 2023-03-31",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230331060236id_/https://eprint.iacr.org/2022/706.pdf",
      "size": 1371725,
      "sha256": "aabf9729b248136aecbc125b2f598d7679fee8c33c2fccfee0a4ef0909d70514",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/706/versions/20221019T061605Z.pdf",
      "captured_at": "2022-10-19T06:16:05Z",
      "label": "copy captured 2022-10-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221019061605id_/https://eprint.iacr.org/2022/706.pdf",
      "size": 1308431,
      "sha256": "4d7743c42bbeade8d742fdc5023e4f5b9305179e6883bea3c0b33a6681d2c78f",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/706/versions/20220606T160713Z.pdf",
      "captured_at": "2022-06-06T16:07:13Z",
      "label": "copy captured 2022-06-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220606160713id_/https://eprint.iacr.org/2022/706.pdf",
      "size": 487696,
      "sha256": "83d920f503b59a69b92af56e022f575886d23b42b2d28129a3a30e28e34d8208",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260429134959id_/https://eprint.iacr.org/2022/706.pdf",
      "captured_at": "2026-04-29T13:49:59Z",
      "size": 1259577
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/706.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 1374227
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/706,\n      author = {Johannes Mono and Chiara Marcolla and Georg Land and Tim Güneysu and Najwa Aaraj},\n      title = {Finding and Evaluating Parameters for BGV},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/706},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/706}\n}"
}
