{
  "id": "2024/153",
  "url": "https://opencryptology.org/2024/153",
  "original_url": "https://eprint.iacr.org/2024/153",
  "title": "Revisiting the Slot-to-Coefficient Transformation for BGV and BFV",
  "authors": [
    "Robin Geelen"
  ],
  "affiliations": null,
  "abstract": "Numerous applications in homomorphic encryption require an operation that moves the slots of a ciphertext to the coefficients of a different ciphertext. For the BGV and BFV schemes, the only efficient algorithms to implement this slot-to-coefficient transformation were proposed in the setting of non-power-of-two cyclotomic rings. In this paper, we devise an FFT-like method to decompose the slot-to-coefficient transformation (and its inverse) for power-of-two cyclotomic rings. The proposed method can handle both fully and sparsely packed slots. Our algorithm brings down the computational complexity of the slot-to-coefficient transformation from a linear to a logarithmic number of FHE operations, which is shown via a detailed complexity analysis.\n\nThe new procedures are implemented in Microsoft SEAL for BFV. The experiments report a speedup of up to $44\\times$ when packing $2^{12}$ elements from $\\operatorname{GF}(8191^8)$. We also study a fully packed bootstrapping operation that refreshes $2^{15}$ elements from $\\operatorname{GF}(65537)$ and obtain an amortized speedup of $12\\times$.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Revisiting the Slot-to-Coefficient Transformation for BGV and BFV” by Robin Geelen, Cryptology ePrint Archive, Paper 2024/153, https://eprint.iacr.org/2024/153. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-02-02T09:46:28Z",
    "updated": "2024-10-31T16:18:44Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/153.pdf",
    "sha256": "df89b65378023e2ae24f63f6a47778072192515c9a75a40da62c7ac8c183726f",
    "size": 590205,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/153/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/2024/153.pdf",
      "size": 590205,
      "sha256": "df89b65378023e2ae24f63f6a47778072192515c9a75a40da62c7ac8c183726f",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/153/versions/20240920T153853Z.pdf",
      "captured_at": "2024-09-20T15:38:53Z",
      "label": "copy captured 2024-09-20",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240920153853id_/https://eprint.iacr.org/2024/153.pdf",
      "size": 672208,
      "sha256": "e013270c566fcb5fe54c2314d9c287e1d6d5661015bff990eb31d04ba85c0611",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2024/153/versions/20240210T080348Z.pdf",
      "captured_at": "2024-02-10T08:03:48Z",
      "label": "copy captured 2024-02-10",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240210080348id_/https://eprint.iacr.org/2024/153.pdf",
      "size": 551496,
      "sha256": "012795f272163946e3378a499700f75a23beae732e1841d358e8b11f399562a9",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/153.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 590205
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260101171013id_/https://eprint.iacr.org/2024/153.pdf",
      "captured_at": "2026-01-01T17:10:13Z",
      "size": 589327
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/153,\n      author = {Robin Geelen},\n      title = {Revisiting the Slot-to-Coefficient Transformation for BGV and BFV},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/153},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/153}\n}"
}
