{
  "id": "siphash-2-4",
  "name": "SipHash-2-4",
  "family_id": "siphash",
  "description": "Standard SipHash parameter set with a 128-bit key, 256-bit internal state, 2 compression rounds per 64-bit message block, 4 finalization rounds, and 64-bit output tag.",
  "status": "intact",
  "parameters": {
    "key_bits": 128,
    "state_bits": 256,
    "compression_rounds": 2,
    "finalization_rounds": 4,
    "output_bits": 64
  },
  "references": [
    {
      "title": "SipHash: a fast short-input PRF",
      "url": "https://eprint.iacr.org/2012/351",
      "authors": [
        "Jean-Philippe Aumasson",
        "Daniel J. Bernstein"
      ],
      "eprint_id": "2012/351"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "siphash-2-4-finalization-diff-dobraunig-2014",
      "target_id": "siphash-2-4",
      "title": "Practical differential distinguisher on 4 finalization rounds of SipHash",
      "goal": "distinguisher",
      "attack_family": "differential",
      "setting": "Reduced-primitive chosen-input differential distinguisher covering the 4 finalization SipRounds (single-block SipHash-2-4 executes 2 compression plus 4 finalization = 6 SipRounds)",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2014-09-16",
      "authors": [
        "Christoph Dobraunig",
        "Florian Mendel",
        "Martin Schläffer"
      ],
      "references": [
        {
          "title": "Differential Cryptanalysis of SipHash",
          "url": "https://eprint.iacr.org/2014/722",
          "authors": [
            "Christoph Dobraunig",
            "Florian Mendel",
            "Martin Schläffer"
          ],
          "eprint_id": "2014/722"
        }
      ],
      "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": "symmetric_rounds",
        "rounds_attacked": 4,
        "total_rounds": 6,
        "log2_data": 35,
        "log2_time": 35,
        "time_unit": "SipHash evaluations"
      },
      "notes": "Does not threaten full SipHash-2-4; the same paper reports a full SipHash-2-4 differential characteristic with probability 2^-236.3."
    }
  ],
  "frontiers": [
    {
      "id": "siphash-2-4-rx-differential-linear",
      "target_id": "siphash-2-4",
      "title": "Rotational-XOR differential-linear analysis of SipHash round permutations",
      "description": "Generalized rotational-XOR (RX) differential-linear frameworks allow computing correlations for arbitrary output linear masks on round-reduced ARX permutations such as SipHash, probing the security margin of 2 compression plus 4 finalization SipRounds.",
      "references": [
        {
          "title": "Rotational Cryptanalysis From a Differential-linear Perspective: Practical Distinguishers for Round-reduced FRIET, Xoodoo, and Alzette",
          "url": "https://eprint.iacr.org/2021/189",
          "authors": [
            "Yunwen Liu",
            "Siwei Sun",
            "Chao Li"
          ],
          "eprint_id": "2021/189"
        },
        {
          "title": "Rotational Differential-Linear Distinguishers of ARX Ciphers with Arbitrary Output Linear Masks",
          "url": "https://eprint.iacr.org/2022/765",
          "authors": [
            "Zhongfeng Niu",
            "Siwei Sun",
            "Yunwen Liu",
            "Chao Li"
          ],
          "eprint_id": "2022/765"
        }
      ]
    }
  ],
  "dead_ends": [
    {
      "id": "siphash-2-4-pure-rotational-asymmetry",
      "target_id": "siphash-2-4",
      "title": "Pure rotational cryptanalysis blocked by initial state asymmetry",
      "description": "Aumasson and Bernstein established that SipHash initializes its four 64-bit state words with asymmetric constants so that at most half of the initial state can be rotation-invariant, rendering pure rotational trails ineffective against SipHash.",
      "scope": "Pure rotational distinguishers and key-recovery attacks against SipHash-2-4.",
      "references": [
        {
          "title": "SipHash: a fast short-input PRF",
          "url": "https://eprint.iacr.org/2012/351",
          "authors": [
            "Jean-Philippe Aumasson",
            "Daniel J. Bernstein"
          ],
          "eprint_id": "2012/351"
        }
      ],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      }
    },
    {
      "id": "siphash-2-4-full-diff-exceeds-keyspace",
      "target_id": "siphash-2-4",
      "title": "Full SipHash-2-4 differential characteristic below 2^-128 key-space bound",
      "description": "Automated ARX differential characteristic search by Dobraunig, Mendel, and Schläffer found a full SipHash-2-4 differential trail with probability 2^-236.3, which cannot beat 2^128 exhaustive key search.",
      "scope": "Standard differential trails covering full single-block SipHash-2-4 (2+4 SipRounds).",
      "references": [
        {
          "title": "Differential Cryptanalysis of SipHash",
          "url": "https://eprint.iacr.org/2014/722",
          "authors": [
            "Christoph Dobraunig",
            "Florian Mendel",
            "Martin Schläffer"
          ],
          "eprint_id": "2014/722"
        }
      ],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      }
    }
  ]
}
