Skip to content

Version 12

Latest

Choose a tag to compare

@nindanaoto nindanaoto released this 17 Aug 09:44

Version 12 adds new bootstrapping paths across TFHE, BFV, CKKS, and CLPX, and introduces an experimental Gentry-Lee matrix FHE implementation. It also adds block-binary TFHE parameters and substantial exact-NTT and scheme-switching performance work.

Main changes:

  1. Gentry-Lee matrix FHE
  • Added experimental leveled Gentry-Lee complex matrix FHE and low-depth SHIP bootstrapping, backed by Double Decomposition arithmetic.
  • Added exact modular multiplication using radix-2, negacyclic, and Rader NTTs with centered CRT reconstruction, plus an optional Intel HEXL backend.
  • Optimized DD switching, HMux, masked selection, and product-tree relinearization through transform reuse, fused products, batched modular accumulation, and stack-safe workspaces.
  • Added end-to-end validation for the n512 profile and detailed design, parameter, performance, and capacity documentation in docs/GL.md.
  1. TFHE and BatchBoot
  • Added radix-4 EMPmul, sparse and full functional BatchBoot, Half.BatchCBS conversion, and the external-product tree used for batched circuit bootstrapping.
  • Optimized the single-threaded BatchBoot path and added dedicated tests and usage documentation in docs/BATCHBOOT.md.
  • Added Concrete-based block-binary parameters, optimized block-binary blind rotation, and subset-key switching support for block-binary NAND.
  • Expanded CI to run the full TFHE suite with the block-binary configuration.
  1. BFV bootstrapping
  • Reworked the BFV bootstrap around the required digit-extraction pipeline, fixing the previous rounded-projection design.
  • Added a self-composable 128-bit-secure bootstrap parameter set using a degree-32768 ring, a 640-bit torus, and fixed-weight sparse ternary secrets.
  • Added fixed-weight key sampling and end-to-end validation covering bootstrap composition and post-bootstrap multiplication.
  1. CKKS bootstrapping
  • Added functional EvalLUT bootstrapping, including practical lvl6 validation coverage.
  • Expanded the Double Decomposition bootstrap path with relinearization, compact seeded filesystem keys, seeded product evaluation keys, and tuned full-DD product and chained-product workflows.
  • Retuned lvl6 security/noise parameters and reduced the tuned bootstrap modulus.
  1. CLPX scheme switching
  • Optimized TFHE-to-CLPX switching and the CLPX-to-TFHE reverse path.
  • The reverse switch now uses base-16 digit decomposition, reducing its key and evaluation workload.
  1. Parameters, correctness, and CI
  • Corrected the compressed lvl2 security parameter, updated the default lvl0 dimension from 636 to 630, and fixed aligned FFT constants, subset-key widening, and HEXL decomposition indexing.
  • Updated submodules and moved CI and benchmarks to Ubuntu 26.04 with Clang 22 coverage.
  • Kept extended BFV, CLPX, and CKKS scaffolding limited to the default 128-bit parameter configuration so alternative TFHE parameter presets continue to compile.

Compatibility and maturity notes:

  • The default lvl0 key dimension changes from 636 to 630; serialized keys and ciphertexts tied to the old dimension must be regenerated.
  • Gentry-Lee, CKKS functional bootstrapping, BFV full bootstrapping, and CLPX switching remain experimental. Their full-size validation paths can require substantial time, memory, and evaluation-key storage.
  • BatchBoot validates structural constraints but does not select production cryptographic parameters; deployments must perform parameter and failure-probability analysis for their workload.

Full changelog: v11...v12