{
  "id": "ghash",
  "name": "GHASH",
  "family_id": "ghash",
  "description": "GHASH universal hash over GF(2^128) as used in NIST SP 800-38D GCM, keyed by the hash subkey H = E_K(0^128). Its universal-hash security assumes a fresh nonce per message: nonce reuse exposes H (Joux 2006), and short truncated tags weaken forgery bounds (Ferguson 2005). Attack records cover the nonce-reuse subkey recovery.",
  "status": "intact",
  "parameters": {
    "field": "GF(2^128)",
    "block_bits": 128,
    "key_bits": 128,
    "reduction_polynomial": "x^128 + x^7 + x^2 + x + 1",
    "standard": "NIST SP 800-38D"
  },
  "references": [
    {
      "title": "NIST SP 800-38D: Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC (2007)",
      "url": "https://doi.org/10.6028/NIST.SP.800-38D",
      "authors": [
        "Morris Dworkin"
      ],
      "doi": "10.6028/NIST.SP.800-38D"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "ghash-joux-2006-forbidden-attack",
      "target_id": "ghash",
      "title": "Forbidden attack: GHASH subkey recovery and universal forgery from nonce reuse (Joux 2006)",
      "goal": "key-recovery",
      "attack_family": "nonce-reuse-forgery",
      "setting": "Two GCM messages that share one nonce give a polynomial equation in the hash subkey H. Solving it recovers H, after which forgeries are possible for every message under that nonce",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2006-04-20",
      "authors": [
        "Antoine Joux"
      ],
      "references": [
        {
          "title": "Authentication Failures in NIST version of GCM (NIST public comment)",
          "url": "https://csrc.nist.gov/CSRC/media/Projects/Block-Cipher-Techniques/documents/BCM/Comments/CWC-GCM/Joux_comments.pdf",
          "authors": [
            "Antoine Joux"
          ]
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "self_reported",
        "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": "n/a: polynomial-time nonce-reuse attack on GHASH; no gate count reported (schema placeholder)"
      },
      "notes": "Nonce reuse is the precondition. The GHASH attack is the same mechanism that breaks AES-256-GCM and GMAC under reuse."
    }
  ],
  "frontiers": [],
  "dead_ends": []
}
