{
  "id": "gimli-384",
  "name": "Gimli-384",
  "family_id": "gimli",
  "description": "384-bit, 24-round ARX permutation introduced at CHES 2017 and used in Gimli-Hash and Gimli-AEAD. Full-permutation security is weakened by a 2^64 full 24-round distinguisher (and a practical 23-round distinguisher) exploiting internal symmetries and slow diffusion; Gimli-Hash collisions reach 12 rounds (18 rounds semi-free-start).",
  "status": "weakened",
  "parameters": {
    "state_bits": 384,
    "word_bits": 32,
    "matrix_shape": "3x4",
    "rounds": 24,
    "construction": "24-round SP-box and linear mixing ARX permutation"
  },
  "references": [
    {
      "title": "Gimli: a cross-platform permutation",
      "url": "https://eprint.iacr.org/2017/630",
      "authors": [
        "Daniel J. Bernstein",
        "Stefan Kölbl",
        "Stefan Lucks",
        "Pedro Maat Costa Massolino",
        "Florian Mendel",
        "Kashif Nawaz",
        "Tobias Schneider",
        "Peter Schwabe",
        "François-Xavier Standaert",
        "Yosuke Todo",
        "Benoît Viguier"
      ],
      "eprint_id": "2017/630",
      "doi": "10.1007/978-3-319-66787-4_15",
      "quote_location": "CHES 2017 / ePrint 2017/630, Section 2"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "gimli-florez-gutierrez-etal-2020-24r-distinguisher",
      "target_id": "gimli-384",
      "title": "Full 24-round permutation distinguisher on Gimli",
      "goal": "distinguisher",
      "attack_family": "symmetry_and_differential",
      "setting": "Full 24-round Gimli-384 permutation distinguisher exploiting slow diffusion and internal symmetries",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2020-06-16",
      "authors": [
        "Antonio Flórez Gutiérrez",
        "Gaëtan Leurent",
        "María Naya-Plasencia",
        "Léo Perrin",
        "André Schrottenloher",
        "Ferdinand Sibleyras"
      ],
      "references": [
        {
          "title": "Internal Symmetries and Linear Properties: Full-permutation Distinguishers and Improved Collisions on Gimli",
          "url": "https://eprint.iacr.org/2020/744",
          "authors": [
            "Antonio Flórez Gutiérrez",
            "Gaëtan Leurent",
            "María Naya-Plasencia",
            "Léo Perrin",
            "André Schrottenloher",
            "Ferdinand Sibleyras"
          ],
          "eprint_id": "2020/744",
          "quote_location": "ASIACRYPT 2020 / ePrint 2020/744, abstract (full 24-round distinguisher at 2^64)"
        }
      ],
      "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": "hash_attack",
        "rounds_attacked": 24,
        "total_rounds": 24,
        "log2_time": 64,
        "time_unit": "Gimli-384 permutation evaluations",
        "attack_goal": "distinguisher"
      },
      "notes": "Same paper implements a practical 23-round distinguisher and presents a linear distinguisher for the full 24-round permutation."
    },
    {
      "id": "gimli-florez-gutierrez-etal-2020-12r-hash-collision",
      "target_id": "gimli-384",
      "title": "Full-state collision attack on 12-round Gimli-Hash",
      "goal": "collision",
      "attack_family": "symmetry_and_guess_and_determine",
      "setting": "Round-reduced Gimli-Hash (12 of 24 rounds) using internal symmetries and guess-and-determine",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2020-06-16",
      "authors": [
        "Antonio Flórez Gutiérrez",
        "Gaëtan Leurent",
        "María Naya-Plasencia",
        "Léo Perrin",
        "André Schrottenloher",
        "Ferdinand Sibleyras"
      ],
      "references": [
        {
          "title": "Internal Symmetries and Linear Properties: Full-permutation Distinguishers and Improved Collisions on Gimli",
          "url": "https://eprint.iacr.org/2020/744",
          "authors": [
            "Antonio Flórez Gutiérrez",
            "Gaëtan Leurent",
            "María Naya-Plasencia",
            "Léo Perrin",
            "André Schrottenloher",
            "Ferdinand Sibleyras"
          ],
          "eprint_id": "2020/744",
          "quote_location": "ASIACRYPT 2020 / ePrint 2020/744 (12-round Gimli-Hash collision, 2^96 x 4 x t_e)"
        }
      ],
      "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": "hash_attack",
        "rounds_attacked": 12,
        "total_rounds": 24,
        "log2_time": 98,
        "time_unit": "Gimli-Hash evaluations",
        "attack_goal": "collision"
      },
      "notes": "Reported cost is 2^96 * 4 * t_e; same paper demonstrates practical 8-round collisions and 18-round semi-free-start collisions (extending by 2 rounds in the quantum setting)."
    }
  ],
  "frontiers": [
    {
      "id": "gimli-full-round-hash-collision",
      "target_id": "gimli-384",
      "title": "Full 24-round collision and key-recovery resistance of Gimli modes",
      "description": "Although the full 24-round Gimli-384 permutation admits a 2^64 distinguisher and a full-permutation linear distinguisher (2020/744), Gimli-Hash collisions currently reach 12 rounds (18 rounds semi-free-start; 8 rounds practical), leaving 6-12 rounds of margin in hash mode.",
      "references": [
        {
          "title": "Internal Symmetries and Linear Properties: Full-permutation Distinguishers and Improved Collisions on Gimli",
          "url": "https://eprint.iacr.org/2020/744",
          "authors": [
            "Antonio Flórez Gutiérrez",
            "Gaëtan Leurent",
            "María Naya-Plasencia",
            "Léo Perrin",
            "André Schrottenloher",
            "Ferdinand Sibleyras"
          ],
          "eprint_id": "2020/744"
        }
      ]
    }
  ],
  "dead_ends": []
}
