{
  "id": "2025/1399",
  "url": "https://opencryptology.org/2025/1399",
  "original_url": "https://eprint.iacr.org/2025/1399",
  "title": "Tempo: An ML-KEM to PAKE Compiler Resilient to Timing Attacks",
  "authors": [
    "Afonso Arriaga",
    "Manuel Barbosa",
    "Stanislaw Jarecki"
  ],
  "affiliations": null,
  "abstract": "KEM-to-PAKE compilers have been recently proposed to leverage post-quantum KEM standardization efforts. These typically follow the Encrypted Key Exchange (EKE) paradigm, where the KEM public key is encrypted under a password. While KEM implementations generally aim to execute all secret-dependent computations in constant time, such guarantees do not always extend to computations that depend only on the public key, as public keys are generally assumed to be public. A notable example is ML-KEM, where public keys include a short seed from which a large matrix is expanded prior to algebraic computations. This expansion procedure relies on rejection sampling which is, typically, implemented as a variable-time algorithm. However, compilers that follow the EKE paradigm must treat the public key as secret, since knowledge of the public key hidden in a ciphertext enables an offline dictionary attack on the password; therefore, instantiating these compilers with off-the-shelf implementations of ML-KEM or encrypting the public key under a password using variable-time methods (e.g., cycle walking or rejection sampling, as proposed in related PAKE literature) can be problematic.\n\nIn this paper we show two approaches which yield ML-KEM-based PAKEs resilient to timing attacks. First, we explore constant-time alternatives to ML-KEM rejection sampling, but as one might expect, such methods impose a performance penalty on ML-KEM. Our second approach introduces a new ML-KEM-to-PAKE compiler that mitigates this issue by design: our proposal transmits the seed in the clear, decoupling password-dependent computations from the seed expansion step. This means that off-the-shelf implementations of ML-KEM can be used. Our new protocol Tempo builds on an idea from CHIC (Asiacrypt'24), which considered splitting the KEM public key, and extends the NoIC protocol and proof (ePrint:2025/231) to show protocol simulation in the UC framework, assuming ML-KEM security under adversarially chosen seeds. We justify this assumption via a new hardness assumption, which we call Oracle-MLWE, and show that it is asymptotically equivalent to the MLWE problem in the Random Oracle Model.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Tempo: An ML-KEM to PAKE Compiler Resilient to Timing Attacks” by Afonso Arriaga, Manuel Barbosa, Stanislaw Jarecki, Cryptology ePrint Archive, Paper 2025/1399, https://eprint.iacr.org/2025/1399. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-08-01T13:16:06Z",
    "updated": "2026-04-07T09:31:47Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1399.pdf",
    "sha256": "9c4fd3c8ba1b07ae81b016f3abd643c3ee3237023fe2892a4455e9ac214dc246",
    "size": 785070,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/1399/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1399.pdf",
      "size": 785070,
      "sha256": "9c4fd3c8ba1b07ae81b016f3abd643c3ee3237023fe2892a4455e9ac214dc246",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/1399/versions/20250804T055814Z.pdf",
      "captured_at": "2025-08-04T05:58:14Z",
      "label": "copy captured 2025-08-04",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250804055814id_/https://eprint.iacr.org/2025/1399.pdf",
      "size": 579550,
      "sha256": "a5e6b07a7b4b30d12ca60848a2a9ea07c8670b7d26684a9523fb8877b9655131",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260429134959id_/https://eprint.iacr.org/2025/1399.pdf",
      "captured_at": "2026-04-29T13:49:59Z",
      "size": 747432
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1399.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 785070
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1399,\n      author = {Afonso Arriaga and Manuel Barbosa and Stanislaw Jarecki},\n      title = {Tempo: An ML-KEM to PAKE Compiler Resilient to Timing Attacks},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1399},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1399}\n}"
}
