{
  "id": "grain-v1",
  "name": "Grain-v1",
  "family_id": "grain",
  "description": "eSTREAM hardware-profile stream cipher (Hell, Johansson and Meier) with an 80-bit key, 64-bit IV and a 160-bit LFSR plus NFSR state. Broken: the fast correlation attack of Todo, Isobe, Meier, Aoki and Zhang (CRYPTO 2018) recovers the key on the full cipher at a cost well below 2^80.",
  "status": "broken",
  "parameters": {
    "key_bits": 80,
    "iv_bits": 64,
    "state_bits": 160,
    "structure": "LFSR + NFSR"
  },
  "references": [
    {
      "title": "A Stream Cipher Proposal: Grain-128 / Grain-v1 (eSTREAM)",
      "url": "https://www.ecrypt.eu.org/stream/",
      "authors": [
        "Martin Hell",
        "Thomas Johansson",
        "Willi Meier"
      ],
      "quote_location": "eSTREAM portfolio (Grain-v1, hardware profile)"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "grain-v1-todo-2018-fast-correlation",
      "target_id": "grain-v1",
      "title": "Fast correlation key recovery on full Grain-v1 (below 2^80)",
      "goal": "key-recovery",
      "attack_family": "fast-correlation",
      "setting": "Fast correlation key recovery on the full Grain-v1 keystream generator (80-bit key, 64-bit IV), improving on exhaustive search",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2018-08-19",
      "authors": [
        "Yosuke Todo",
        "Takanori Isobe",
        "Willi Meier",
        "Kazumaro Aoki",
        "Bin Zhang"
      ],
      "references": [
        {
          "title": "Fast Correlation Attack Revisited: Cryptanalysis on Full Grain-128a, Grain-128, and Grain-v1",
          "url": "https://www.iacr.org/conferences/",
          "authors": [
            "Yosuke Todo",
            "Takanori Isobe",
            "Willi Meier",
            "Kazumaro Aoki",
            "Bin Zhang"
          ],
          "quote_location": "CRYPTO 2018 (full Grain-v1 below 2^80)"
        }
      ],
      "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": 1,
        "total_rounds": 1,
        "log2_time": 79,
        "time_unit": "Grain-v1 keystream-generation operations (upper bound)"
      },
      "notes": "Grain-v1 is a non-round stream cipher, so rounds 1/1 denote the full cipher. log2_time 79 is an upper bound taken from the cycle brief ('well below 2^80'); the exact complexity has not been transcribed from the paper. Date approximates CRYPTO 2018."
    }
  ],
  "frontiers": [
    {
      "id": "grain-v1-frontier-fca-complexity",
      "target_id": "grain-v1",
      "title": "Lowering the fast correlation complexity on Grain-v1",
      "description": "The fast correlation attack reaches the full cipher below 2^80. Whether improved correlation or state-recovery techniques bring the cost to a practical level remains open.",
      "references": [
        {
          "title": "Fast Correlation Attack Revisited: Cryptanalysis on Full Grain-128a, Grain-128, and Grain-v1",
          "url": "https://www.iacr.org/conferences/",
          "authors": [
            "Yosuke Todo",
            "Takanori Isobe",
            "Willi Meier",
            "Kazumaro Aoki",
            "Bin Zhang"
          ],
          "quote_location": "CRYPTO 2018"
        }
      ]
    }
  ],
  "dead_ends": []
}
