{
  "id": "2026/140",
  "url": "https://opencryptology.org/2026/140",
  "original_url": "https://eprint.iacr.org/2026/140",
  "title": "On the Necessity of Public Contexts in Hybrid KEMs: A Case Study of X-Wing",
  "authors": [
    "Taehun Kang",
    "Changmin Lee",
    "Yongha Son"
  ],
  "affiliations": null,
  "abstract": "Post-quantum migration must balance two risks: future quantum breaks of classical cryptography and residual uncertainty in newly standardized post-quantum cryptography (PQC). Hybrid Key Encapsulation Mechanisms (KEMs) hedge by combining a classical and a PQC component. Prior work shows that optimized combiners may omit large public inputs from the final key-derivation step, but only if the derived key remains bound to the ciphertext transcript and, in multi-target settings, to the intended recipient; otherwise ciphertext manipulation and cross-recipient amortization at the KDF layer can increase an adversary’s concrete advantage. In practice, these requirements are often conflated, leading either to unsafe secret-only schedules or to unnecessary hashing of large transcripts. We distill practitioner-facing, interface-level guidance by separating ciphertext-to-secret binding from multi-target security, and by adopting ciphertext second-preimage resistance (C2PRI) as a checkable criterion under deployed encodings.\n\nWe apply this perspective to X-Wing, a hybrid combining ML-KEM with an X25519-based DH-to-KEM under consideration as an IETF Internet-Draft. Under the deployed raw-output interface, we show how distinct classical ciphertexts can yield the same shared secret, motivating hashing of the classical ciphertext in the outer KDF and clarifying when recipient public-key context is needed in multi-target deployments. We also show that similar issues arise for other widely deployed elliptic-curve Diffie–Hellman (ECDH) APIs, including P-256, when they export only partial point information. Finally, we summarize when ciphertext hashing can be omitted, including canonical prime-order abstractions such as Ristretto255 and designs that internalize transcript context via per-component hashing, as in HPKE Diffie–Hellman-based KEM (DHKEM) profiles.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“On the Necessity of Public Contexts in Hybrid KEMs: A Case Study of X-Wing” by Taehun Kang, Changmin Lee, Yongha Son, Cryptology ePrint Archive, Paper 2026/140, https://eprint.iacr.org/2026/140. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-01-29T02:50:39Z",
    "updated": "2026-01-29T02:50:39Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/140.pdf",
    "sha256": "9f4f3e8bc6d71e78fafd835c4844dbf4447905a8b326db96faf539736463702b",
    "size": 324528,
    "source": "github-mirror",
    "source_date": "2026-05-12T11:28:48Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/140/versions/20260512T112848Z.pdf",
      "captured_at": "2026-05-12T11:28:48Z",
      "label": "copy captured 2026-05-12",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2026/140.pdf",
      "size": 324528,
      "sha256": "9f4f3e8bc6d71e78fafd835c4844dbf4447905a8b326db96faf539736463702b",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2026/140.pdf",
      "captured_at": "2026-05-12T11:28:48Z",
      "size": 324528
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260421162115id_/https://eprint.iacr.org/2026/140.pdf",
      "captured_at": "2026-04-21T16:21:15Z",
      "size": 325236
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/140,\n      author = {Taehun Kang and Changmin Lee and Yongha Son},\n      title = {On the Necessity of Public Contexts in Hybrid KEMs: A Case Study of X-Wing},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/140},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/140}\n}"
}
