{
  "id": "hmac-sha512",
  "name": "HMAC-SHA-512",
  "family_id": "hmac",
  "description": "HMAC instantiated with SHA-512 per RFC 2104 and NIST FIPS 198-1 (512-bit digest, 1024-bit block, 512-bit internal state, 80-step SHA-512 compression). Attack records cover the exact PRF security bound without collision resistance and a step-reduced compression-function result.",
  "status": "intact",
  "parameters": {
    "digest_bits": 512,
    "block_bits": 1024,
    "state_bits": 512,
    "rounds": 80
  },
  "references": [
    {
      "title": "RFC 2104: HMAC: Keyed-Hashing for Message Authentication",
      "url": "https://www.rfc-editor.org/rfc/rfc2104",
      "authors": [
        "Hugo Krawczyk",
        "Mihir Bellare",
        "Ran Canetti"
      ]
    },
    {
      "title": "FIPS 198-1: The Keyed-Hash Message Authentication Code (HMAC)",
      "url": "https://doi.org/10.6028/NIST.FIPS.198-1",
      "authors": [
        "National Institute of Standards and Technology"
      ],
      "doi": "10.6028/NIST.FIPS.198-1"
    },
    {
      "title": "FIPS 180-4: Secure Hash Standard",
      "url": "https://doi.org/10.6028/NIST.FIPS.180-4",
      "authors": [
        "National Institute of Standards and Technology"
      ],
      "doi": "10.6028/NIST.FIPS.180-4"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "hmac-sha512-bellare-prf-bound",
      "target_id": "hmac-sha512",
      "title": "Provable PRF/MAC security of HMAC-SHA-512 without collision resistance (256-bit level)",
      "goal": "security-bound",
      "attack_family": "prf-security-bound",
      "setting": "HMAC-SHA-512 PRF/MAC security reduction to the compression-function PRF property, which does not assume collision resistance of the underlying SHA-512. Stated level is 256-bit (state_bits / 2).",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2006-08-20",
      "authors": [
        "Mihir Bellare"
      ],
      "references": [
        {
          "title": "New Proofs for NMAC and HMAC: Security without Collision-Resistance (CRYPTO 2006 / J. Cryptology 2014, ePrint 2006/043)",
          "url": "https://eprint.iacr.org/2006/043",
          "authors": [
            "Mihir Bellare"
          ],
          "eprint_id": "2006/043",
          "doi": "10.1007/s00145-014-9185-x"
        }
      ],
      "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",
        "classical_core_svp_bits": 256,
        "estimator_version": "n/a: exact PRF security proof bound; no SVP estimate"
      },
      "notes": "classical_core_svp_bits stores the 256-bit security level implied by the bound, not a Core-SVP estimate. Level follows the state_bits / 2 convention of the hmac-sha256 record; the batch spec gave no number. Date approximates CRYPTO 2006. Citation not verified."
    },
    {
      "id": "hmac-sha512-yuan-2026-36s-tmto-compression",
      "target_id": "hmac-sha512",
      "title": "36-step SHA-512 compression collision via TMTO message modification (2^49.8, 7.05 GiB storage)",
      "goal": "collision",
      "attack_family": "time-memory-tradeoff",
      "setting": "Time-memory-tradeoff message modification on the step-reduced (36 to 39 step) SHA-512 compression function, at about 2^49.8 online cost with 7.05 GiB storage. This attacks the underlying compression function only; full 80-step HMAC-SHA-512 is intact.",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2026-11-01",
      "authors": [
        "Sitong Yuan",
        "Hongbo Yu"
      ],
      "references": [
        {
          "title": "Yuan, Yu (2026), ePrint 2026/3005 (TMTO message modification for SHA-512)",
          "url": "https://eprint.iacr.org/2026/3005",
          "authors": [
            "Sitong Yuan",
            "Hongbo Yu"
          ],
          "eprint_id": "2026/3005"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "preprint",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "hash_attack",
        "rounds_attacked": 36,
        "total_rounds": 80,
        "log2_time": 49.8,
        "time_unit": "SHA-512 36-step online compression evaluations",
        "attack_goal": "collision"
      },
      "notes": "7.05 GiB storage is recorded in setting, not as log2_memory, following the sha-512-256 record. Shares the ePrint 2026/3005 source with sha-512-256 and sha-384 records. Citation not verified."
    }
  ],
  "frontiers": [],
  "dead_ends": []
}
