{
  "id": "2024/1201",
  "url": "https://opencryptology.org/2024/1201",
  "original_url": "https://eprint.iacr.org/2024/1201",
  "title": "Designing a General-Purpose 8-bit (T)FHE Processor Abstraction",
  "authors": [
    "Daphné Trama",
    "Pierre-Emmanuel Clet",
    "Aymen Boudguiga",
    "Renaud Sirdey",
    "Nicolas Ye"
  ],
  "affiliations": null,
  "abstract": "Making the most of TFHE programmable bootstrapping to evaluate functions or operators otherwise challenging to perform with only the native addition and multiplication of the scheme is a very active line of research. In this paper, we systematize this approach and apply it to build an 8-bit FHE processor abstraction, i.e., a software entity that works over FHE-encrypted 8-bit data and presents itself to the programmer by means of a conventional-looking assembly instruction set. In doing so, we provide several homomorphic LookUp Table (LUT) dereferencing operators based on variants of the tree-based method and show that they are the most efficient option for manipulating encryptions of 8-bit data (optimally represented as two basis 16 digits). We then systematically apply this approach over a set of around 50 instructions, including, notably, conditional assignments, divisions, or fixed-point arithmetic operations. We further test the approach on several simple algorithms, including the execution of a neuron with a sigmoid activation function with 16-bit precision. We conclude the paper by comparing our work to the FHE compilers available in the state of the art. Finally, this work reveals that a very limited set of functional bootstrapping patterns is versatile and efficient enough to achieve general-purpose FHE computations beyond the boolean circuit approach. As such, these patterns may be an appropriate target for further works on advanced software optimizations or hardware implementations.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Designing a General-Purpose 8-bit (T)FHE Processor Abstraction” by Daphné Trama, Pierre-Emmanuel Clet, Aymen Boudguiga, Renaud Sirdey, Nicolas Ye, Cryptology ePrint Archive, Paper 2024/1201, https://eprint.iacr.org/2024/1201. 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-07-25T09:52:48Z",
    "updated": "2025-01-10T12:50:54Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1201.pdf",
    "sha256": "ebe98ea393e91f814a2a6098809f2c095de0bf4867c4693b8925df4b8a13ea09",
    "size": 1059309,
    "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/1201/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/1201.pdf",
      "size": 1059309,
      "sha256": "ebe98ea393e91f814a2a6098809f2c095de0bf4867c4693b8925df4b8a13ea09",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/1201/versions/20240806T075627Z.pdf",
      "captured_at": "2024-08-06T07:56:27Z",
      "label": "copy captured 2024-08-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240806075627id_/https://eprint.iacr.org/2024/1201.pdf",
      "size": 908131,
      "sha256": "1c205f58e6241d90997bd9c8a8a4e4f6b7375fae0816f1a1d5886f50d91bd1b8",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1201.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1059309
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260303080250id_/https://eprint.iacr.org/2024/1201.pdf",
      "captured_at": "2026-03-03T08:02:50Z",
      "size": 1053826
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1201,\n      author = {Daphné Trama and Pierre-Emmanuel Clet and Aymen Boudguiga and Renaud Sirdey and Nicolas Ye},\n      title = {Designing a General-Purpose 8-bit (T)FHE Processor Abstraction},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1201},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1201}\n}"
}
