{
  "id": "tfhe-128",
  "name": "TFHE-128",
  "family_id": "tfhe",
  "description": "128-bit security parameterization of TFHE over the torus. Spans classic CGGI binary-secret bootstrapping parameters (e.g. LWE dimension n = 630, noise std dev 2^-15 for key-switching; RLWE N = 1024, noise std dev 2^-25 for bootstrapping) and modern TFHE-rs default parameters (such as PARAM_MESSAGE_2_CARRY_2_KS_PBS with lwe_dimension = 879, glwe_dimension = 1, polynomial_size = 2048) validated at >= 128 bits under the Lattice Estimator.",
  "status": "intact",
  "parameters": {
    "cggi_ksk_lwe_dimension_n": 630,
    "cggi_ksk_noise_std_dev": "2^-15",
    "cggi_bsk_rlwe_dimension_n": 1024,
    "cggi_bsk_noise_std_dev": "2^-25",
    "tfhers_default_param_set": "PARAM_MESSAGE_2_CARRY_2_KS_PBS",
    "tfhers_lwe_dimension": 879,
    "tfhers_glwe_dimension": 1,
    "tfhers_polynomial_size": 2048,
    "secret_distribution": "binary or TUniform small secret",
    "security_level_bits": 128
  },
  "references": [
    {
      "title": "TFHE: Fast Fully Homomorphic Encryption over the Torus",
      "url": "https://doi.org/10.1007/s00145-019-09319-x",
      "authors": [
        "Ilaria Chillotti",
        "Nicolas Gama",
        "Mariya Georgieva",
        "Malika Izabachène"
      ],
      "eprint_id": "2018/421",
      "doi": "10.1007/s00145-019-09319-x",
      "quote_location": "Journal of Cryptology 33(1), pp. 34–91 (concrete LWE/RLWE parameter analysis)"
    },
    {
      "title": "TFHE-rs Documentation (Cryptographic Parameters)",
      "url": "https://docs.zama.ai/tfhe-rs",
      "authors": [
        "Zama"
      ],
      "quote_location": "PARAM_MESSAGE_2_CARRY_2_KS_PBS (LweDimension(879), GlweDimension(1), PolynomialSize(2048))"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "tfhe-128-lattice-estimator-lwe-glwe",
      "target_id": "tfhe-128",
      "title": "Lattice Estimator 128-bit LWE/GLWE security estimate for TFHE-128",
      "goal": "key-recovery",
      "attack_family": "lattice-reduction-bkz",
      "setting": "Primal uSVP, dual, and hybrid lattice attacks evaluated with the Lattice Estimator (including MATZOV reduction cost modeling) against TFHE-rs 128-bit parameters (PARAM_MESSAGE_2_CARRY_2_KS_PBS: lwe_dimension = 879, glwe_dimension = 1, polynomial_size = 2048) and CGGI binary-secret LWE/RLWE instances",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2020-01-01",
      "authors": [
        "Ilaria Chillotti",
        "Nicolas Gama",
        "Mariya Georgieva",
        "Malika Izabachène"
      ],
      "references": [
        {
          "title": "TFHE: Fast Fully Homomorphic Encryption over the Torus",
          "url": "https://doi.org/10.1007/s00145-019-09319-x",
          "authors": [
            "Ilaria Chillotti",
            "Nicolas Gama",
            "Mariya Georgieva",
            "Malika Izabachène"
          ],
          "eprint_id": "2018/421",
          "doi": "10.1007/s00145-019-09319-x",
          "quote_location": "Journal of Cryptology 33(1), pp. 34–91 (Section on concrete LWE security)"
        },
        {
          "title": "TFHE-rs Documentation (Cryptographic Parameters)",
          "url": "https://docs.zama.ai/tfhe-rs",
          "authors": [
            "Zama"
          ],
          "quote_location": "128-bit security validation via Lattice Estimator (MATZOV reduction model)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "pqc_security",
        "gate_count_log2": 128,
        "estimator_version": "Lattice Estimator (LWE Estimator / MATZOV reduction model, >= 128-bit target)"
      },
      "notes": "CGGI JoC 2020 and TFHE-rs parameter sets target >= 2^128 attack cost under the Lattice Estimator across primal, dual, and hybrid small-secret lattice attacks. Earlier CGGI binary-secret sets (n = 630, sigma = 2^-15; N = 1024, sigma = 2^-25) spanned ~110–128 bits depending on estimator assumptions, motivating larger modern defaults such as lwe_dimension = 879 and polynomial_size = 2048 in TFHE-rs."
    },
    {
      "id": "tfhe-128-espitau-2020-dual-hybrid",
      "target_id": "tfhe-128",
      "title": "Dual-hybrid lattice enumeration attack re-evaluation of small-secret TFHE LWE parameters",
      "goal": "key-recovery",
      "attack_family": "dual-hybrid-small-secret-lwe",
      "setting": "Dual lattice reduction on a projected sublattice combined with recursive combinatorial search over binary/small LWE secret coordinates applied to legacy TFHE parameter sets",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2020-05-05",
      "authors": [
        "Thomas Espitau",
        "Antoine Joux",
        "Natalia Kharchenko"
      ],
      "references": [
        {
          "title": "On a Dual/Hybrid Approach to Small Secret LWE — A Dual/Enumeration Technique for Learning with Errors and Application to Security Estimates of FHE Schemes",
          "url": "https://eprint.iacr.org/2020/515",
          "authors": [
            "Thomas Espitau",
            "Antoine Joux",
            "Natalia Kharchenko"
          ],
          "eprint_id": "2020/515",
          "quote_location": "INDOCRYPT 2020, pp. 440–462 (ePrint received 2020-05-05; TFHE re-evaluation)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "pqc_security",
        "gate_count_log2": 0,
        "estimator_version": "Espitau–Joux–Kharchenko INDOCRYPT 2020 / ePrint 2020/515 dual-hybrid small-secret LWE model (exact per-parameter gate count not extracted; gate_count_log2: 0 schema placeholder)"
      },
      "notes": "Demonstrates that dual-hybrid sublattice projection with recursive enumeration lowers the concrete security margin of small/binary-secret FHE parameter sets (including legacy TFHE parameters) relative to plain primal/dual estimates, prompting updated Lattice Estimator checks and larger LWE dimensions in modern TFHE implementations. gate_count_log2 is 0 as a schema placeholder."
    }
  ],
  "frontiers": [
    {
      "id": "tfhe-128-dual-hybrid-binary-secret-margins",
      "target_id": "tfhe-128",
      "title": "Dual-hybrid and MATZOV FFT-distinguisher margins on binary/small-secret LWE",
      "description": "Because TFHE relies on binary or small-bounded secrets to keep bootstrapping noise low, its concrete LWE security is sensitive to dual-hybrid sublattice projection and FFT-assisted dual distinguishers (Espitau–Joux–Kharchenko INDOCRYPT 2020; MATZOV 2022). Modern TFHE-rs parameter generation tracks upstream Lattice Estimator updates under these models to preserve >= 128-bit margins.",
      "references": [
        {
          "title": "On a Dual/Hybrid Approach to Small Secret LWE — A Dual/Enumeration Technique for Learning with Errors and Application to Security Estimates of FHE Schemes",
          "url": "https://eprint.iacr.org/2020/515",
          "authors": [
            "Thomas Espitau",
            "Antoine Joux",
            "Natalia Kharchenko"
          ],
          "eprint_id": "2020/515",
          "quote_location": "INDOCRYPT 2020, pp. 440–462"
        },
        {
          "title": "TFHE-rs Documentation (Cryptographic Parameters)",
          "url": "https://docs.zama.ai/tfhe-rs",
          "authors": [
            "Zama"
          ],
          "quote_location": "Lattice Estimator / MATZOV reduction model checks"
        }
      ]
    },
    {
      "id": "tfhe-128-programmable-bootstrapping-efficiency",
      "target_id": "tfhe-128",
      "title": "Programmable bootstrapping noise budgets and KS_PBS vs PBS_KS tradeoffs at 128-bit security",
      "description": "In multi-bit TFHE (e.g. TFHE-rs shortint 2-bit message / 2-bit carry configurations), choosing between keyswitch-then-bootstrap (KS_PBS) and bootstrap-then-keyswitch (PBS_KS) trades ciphertext size against bootstrapping latency while keeping failure probability around 2^-128 and Lattice Estimator security >= 128 bits.",
      "references": [
        {
          "title": "TFHE: Fast Fully Homomorphic Encryption over the Torus",
          "url": "https://doi.org/10.1007/s00145-019-09319-x",
          "authors": [
            "Ilaria Chillotti",
            "Nicolas Gama",
            "Mariya Georgieva",
            "Malika Izabachène"
          ],
          "eprint_id": "2018/421",
          "doi": "10.1007/s00145-019-09319-x",
          "quote_location": "Journal of Cryptology 33(1), pp. 34–91 (leveled mode and lookup-table bootstrapping)"
        },
        {
          "title": "TFHE-rs Documentation (Cryptographic Parameters)",
          "url": "https://docs.zama.ai/tfhe-rs",
          "authors": [
            "Zama"
          ],
          "quote_location": "PARAM_MESSAGE_2_CARRY_2_KS_PBS and PBS failure probability"
        }
      ]
    }
  ],
  "dead_ends": [
    {
      "id": "tfhe-128-gaussian-secret-estimator-extrapolation",
      "target_id": "tfhe-128",
      "title": "Extrapolating Gaussian-secret LWE estimates directly to binary-secret TFHE parameters",
      "description": "Estimating TFHE parameter security solely from uniform or Gaussian-secret LWE reductions without accounting for binary/sparse-secret combinatorial and dual-hybrid enumeration attacks overstates concrete security margins, as shown by Espitau, Joux, and Kharchenko (INDOCRYPT 2020).",
      "scope": "Binary-secret and small-secret LWE/GLWE parameter selection for TFHE bootstrapping and key-switching keys.",
      "references": [
        {
          "title": "On a Dual/Hybrid Approach to Small Secret LWE — A Dual/Enumeration Technique for Learning with Errors and Application to Security Estimates of FHE Schemes",
          "url": "https://eprint.iacr.org/2020/515",
          "authors": [
            "Thomas Espitau",
            "Antoine Joux",
            "Natalia Kharchenko"
          ],
          "eprint_id": "2020/515",
          "quote_location": "INDOCRYPT 2020, pp. 440–462"
        }
      ],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      }
    }
  ]
}
