{
  "id": "xchacha20-poly1305",
  "name": "XChaCha20-Poly1305",
  "family_id": "chacha20-poly1305",
  "description": "XChaCha20-Poly1305 extends ChaCha20-Poly1305 to a 192-bit nonce. A 256-bit key and the first 128 nonce bits derive a subkey through HChaCha20, and ChaCha20-Poly1305 then runs under that subkey with the remaining nonce bits.",
  "status": "intact",
  "parameters": {
    "key_bits": 256,
    "nonce_bits": 192,
    "construction": "HChaCha20 subkey derivation + ChaCha20-Poly1305"
  },
  "references": [
    {
      "title": "draft-irtf-cfrg-xchacha: XChaCha: eXtended-nonce ChaCha and AEAD usage",
      "url": "https://datatracker.ietf.org/doc/draft-irtf-cfrg-xchacha/",
      "authors": [
        "Arciszewski"
      ]
    },
    {
      "title": "RFC 8439: ChaCha20 and Poly1305 for IETF Protocols (June 2018)",
      "url": "https://www.rfc-editor.org/rfc/rfc8439",
      "authors": [
        "Yoav Nir",
        "Adam Langley"
      ],
      "doi": "10.17487/RFC8439"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "xchacha20-poly1305-nonce-collision-bound",
      "target_id": "xchacha20-poly1305",
      "title": "Random-nonce collision bound for 192-bit XChaCha20-Poly1305 nonces",
      "goal": "security-bound",
      "attack_family": "random-nonce-collision-bound",
      "setting": "A 192-bit random nonce extends the random-nonce collision bound to about 2^96 messages, versus the 96-bit nonce of plain ChaCha20-Poly1305.",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2018-01-01",
      "authors": [
        "Arciszewski"
      ],
      "references": [
        {
          "title": "draft-irtf-cfrg-xchacha: XChaCha: eXtended-nonce ChaCha and AEAD usage",
          "url": "https://datatracker.ietf.org/doc/draft-irtf-cfrg-xchacha/",
          "authors": [
            "Arciszewski"
          ]
        }
      ],
      "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",
        "classical_core_svp_bits": 128,
        "estimator_version": "n/a: random-nonce collision bound; no SVP estimate"
      },
      "notes": "classical_core_svp_bits stores the 128-bit security level claimed by the bound, not a Core-SVP estimate. Year-level date approximation."
    },
    {
      "id": "xchacha20-poly1305-len-2021-partitioning-oracle",
      "target_id": "xchacha20-poly1305",
      "title": "Partitioning oracle attacks on non-key-committing XChaCha20-Poly1305 use",
      "goal": "forgery",
      "attack_family": "partitioning-oracle",
      "setting": "Non-key-committing AEAD use allows multi-key collisions and adaptive partitioning-oracle attacks, applicable to XChaCha20-Poly1305 without key commitment.",
      "claim_kind": "estimate",
      "track": "side_channel",
      "date": "2021-08-11",
      "authors": [
        "Julia Len",
        "Paul Grubbs",
        "Thomas Ristenpart"
      ],
      "references": [
        {
          "title": "Partitioning Oracle Attacks (USENIX Security 2021; ePrint 2020/1491)",
          "url": "https://eprint.iacr.org/2020/1491",
          "authors": [
            "Julia Len",
            "Paul Grubbs",
            "Thomas Ristenpart"
          ],
          "eprint_id": "2020/1491"
        }
      ],
      "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": "n/a: structural AEAD key-commitment attack; no concrete gate count reported"
      }
    }
  ],
  "frontiers": [],
  "dead_ends": []
}
