{
  "id": "poly1305",
  "name": "Poly1305",
  "family_id": "poly1305",
  "description": "Poly1305 one-time MAC over the prime field GF(2^130 - 5) as specified by Bernstein (FSE 2005) and RFC 8439. The 128-bit clamped key r and 128-bit pad s give a 128-bit tag. Security holds only with a unique one-time key per message; attack records cover key recovery and forgery when a one-time key is reused.",
  "status": "intact",
  "parameters": {
    "prime_bits": 130,
    "prime": "2^130 - 5",
    "key_bits": 256,
    "tag_bits": 128,
    "one_time_key": true,
    "standard": "RFC 8439"
  },
  "references": [
    {
      "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"
    },
    {
      "title": "The Poly1305-AES message-authentication code",
      "url": "https://doi.org/10.1007/11502760_3",
      "authors": [
        "Daniel J. Bernstein"
      ],
      "doi": "10.1007/11502760_3"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "poly1305-one-time-key-reuse-key-recovery",
      "target_id": "poly1305",
      "title": "Key recovery and forgery from one-time-key reuse in Poly1305",
      "goal": "key-recovery",
      "attack_family": "nonce-reuse-forgery",
      "setting": "Two messages authenticated under the same (r, s) key give tags t1 and t2; their difference is a polynomial in r whose roots include the true r. Once r is found, s follows from a tag, and arbitrary messages can then be forged",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2005-02-01",
      "authors": [
        "Daniel J. Bernstein"
      ],
      "references": [
        {
          "title": "The Poly1305-AES message-authentication code",
          "url": "https://doi.org/10.1007/11502760_3",
          "authors": [
            "Daniel J. Bernstein"
          ],
          "doi": "10.1007/11502760_3",
          "quote_location": "FSE 2005 (one-time key requirement for Poly1305)"
        }
      ],
      "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": "Polynomial root-finding over GF(2^130 - 5) after two tags under one key; no gate count reported (schema placeholder)"
      },
      "notes": "The break needs nonce or key reuse, not cryptanalysis of the MAC itself. Under unique one-time keys the 128-bit security claim holds. Year-level date approximation."
    }
  ],
  "frontiers": [],
  "dead_ends": []
}
