{
  "id": "2023/600",
  "url": "https://opencryptology.org/2023/600",
  "original_url": "https://eprint.iacr.org/2023/600",
  "title": "Improving and Automating BFV Parameters Selection: An Average-Case Approach",
  "authors": [
    "Beatrice Biasioli",
    "Chiara Marcolla",
    "Marco Calderini",
    "Johannes Mono"
  ],
  "affiliations": null,
  "abstract": "The Brakerski/Fan-Vercauteren (BFV) scheme is a state-of-the-art scheme in Fully Homomorphic Encryption based on the Ring Learning with Errors (RLWE) problem. \nThus, ciphertexts contain an error that increases with each homomorphic operation and has to stay below a certain threshold for correctness. This can be achieved by setting the ciphertext modulus big enough. On the other hand, a larger ciphertext modulus decreases the level of security and computational efficiency, making parameter selection challenging. Our work aims to improve the bound on the ciphertext modulus,\nminimizing it. \n\nOur main contributions are the following. Primarily, we perform the first average-case analysis of the error growth for the BFV scheme, significantly improving its estimation. For a circuit with a multiplicative depth of only 5, our bounds are up to 25.2 bits tighter than previous analyses and within 1.2 bits of the experimentally observed values.\n%\nSecondly, we give a general way to bound the ciphertext modulus for correct decryption that allows closed formulas. \n%\nFinally, we use our theoretical advances and propose the first parameter generation tool for the BFV scheme.\nHere, we add support for arbitrary but use-case-specific circuits, as well as the ability to generate easy-to-use code snippets, making our theoretical work accessible to both researchers and practitioners.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY-NC-SA",
    "url": "https://creativecommons.org/licenses/by-nc-sa/4.0/",
    "label": "CC BY-NC-SA 4.0",
    "attribution": "“Improving and Automating BFV Parameters Selection: An Average-Case Approach” by Beatrice Biasioli, Chiara Marcolla, Marco Calderini, Johannes Mono, Cryptology ePrint Archive, Paper 2023/600, https://eprint.iacr.org/2023/600. 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": "2023-04-27T09:50:00Z",
    "updated": "2024-10-24T07:06:09Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/600.pdf",
    "sha256": "61410010b766ff28d71ed5bc7bb8d383a6f2414c1d81738f0047187fc36a85ef",
    "size": 987709,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/600/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/600.pdf",
      "size": 987709,
      "sha256": "61410010b766ff28d71ed5bc7bb8d383a6f2414c1d81738f0047187fc36a85ef",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/600/versions/20240714T145838Z.pdf",
      "captured_at": "2024-07-14T14:58:38Z",
      "label": "copy captured 2024-07-14",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240714145838id_/https://eprint.iacr.org/2023/600.pdf",
      "size": 669729,
      "sha256": "7b183ee5545ba8c10459fa55454fec6fdb15d88d3755b9fb09381e315fc1d641",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2023/600/versions/20230514T184314Z.pdf",
      "captured_at": "2023-05-14T18:43:14Z",
      "label": "copy captured 2023-05-14",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230514184314id_/https://eprint.iacr.org/2023/600.pdf",
      "size": 663775,
      "sha256": "14feea78d118e7d508e8cd8cabe419199e2c37245569a4e00fe5a5df958f032d",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260825183152id_/https://eprint.iacr.org/2023/600.pdf",
      "captured_at": "2026-08-25T18:31:52Z",
      "size": 959900
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/600.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 987709
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/600,\n      author = {Beatrice Biasioli and Chiara Marcolla and Marco Calderini and Johannes Mono},\n      title = {Improving and Automating BFV Parameters Selection: An Average-Case Approach},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/600},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/600}\n}"
}
