{
  "id": "2024/1637",
  "url": "https://opencryptology.org/2024/1637",
  "original_url": "https://eprint.iacr.org/2024/1637",
  "title": "Bootstrapping Small Integers With CKKS",
  "authors": [
    "Youngjin Bae",
    "Jaehyung Kim",
    "Damien Stehlé",
    "Elias Suvanto"
  ],
  "affiliations": null,
  "abstract": "The native plaintexts of the Cheon-Kim-Kim-Song (CKKS) fully homomorphic encryption scheme are vectors of approximations to complex numbers. Drucker et al. [J. Cryptol.'24] have showed how to use CKKS to efficiently perform computations on bits and small bit-length integers, by relying on their canonical embeddings into the complex plane. For small bit-length integers, Chung et al. [IACR eprint'24] recently suggested to rather rely on an embedding into complex roots of unity, to gain numerical stability and efficiency. Both works use CKKS in a black-box manner.\n\nInspired by the design by Bae et al. [Eurocrypt'24] of a dedicated bootstrapping algorithm for ciphertexts encoding bits, we propose a CKKS bootstrapping algorithm, $\\mathsf{SI\\mbox{-}BTS}$ (small-integer bootstrapping), for ciphertexts encoding small bit-length integers. \nFor this purpose, we build upon the DM/CGGI-to-CKKS conversion algorithm from Boura et al. [J. Math. Cryptol.'20], to bootstrap canonically embedded integers to integers embedded as roots of unity. $\\mathsf{SI\\mbox{-}BTS}$ allows functional bootstrapping: it can evaluate an arbitrary function of its input while bootstrapping. It may also be used to batch-(functional-)bootstrap multiple DM/CGGI ciphertexts. For example, its amortized cost for evaluating an 8-bit look-up table on $2^{12}$ DM/CGGI ciphertexts is 3.75ms (single-thread CPU, 128-bit security). \n\nWe adapt $\\mathsf{SI\\mbox{-}BTS}$ to simultaneously bootstrap multiple CKKS ciphertexts for bits. The resulting  $\\mathsf{BB\\mbox{-}BTS}$ algorithm (batch-bits bootstrapping) allows to decrease the amortized cost of a binary gate evaluation. Compared to Bae et al., it gives a 2.4x speed-up.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Bootstrapping Small Integers With CKKS” by Youngjin Bae, Jaehyung Kim, Damien Stehlé, Elias Suvanto, Cryptology ePrint Archive, Paper 2024/1637, https://eprint.iacr.org/2024/1637. 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-10-11T21:17:59Z",
    "updated": "2024-10-11T21:17:59Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1637.pdf",
    "sha256": "b86fa885d71434b7d240bfcb2996f1895391d8f2ab04587b41772a7b209707f9",
    "size": 677286,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/1637/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/1637.pdf",
      "size": 677286,
      "sha256": "b86fa885d71434b7d240bfcb2996f1895391d8f2ab04587b41772a7b209707f9",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1637.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 677286
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251230110433id_/https://eprint.iacr.org/2024/1637.pdf",
      "captured_at": "2025-12-30T11:04:33Z",
      "size": 674256
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1637,\n      author = {Youngjin Bae and Jaehyung Kim and Damien Stehlé and Elias Suvanto},\n      title = {Bootstrapping Small Integers With CKKS},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1637},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1637}\n}"
}
