{
  "id": "2021/928",
  "url": "https://opencryptology.org/2021/928",
  "original_url": "https://eprint.iacr.org/2021/928",
  "title": "Necessary and Sufficient Conditions for Galois NFSRs Conditionally Equivalent to Fibonacci Ones and Their Application to the Stream Cipher Trivium",
  "authors": [
    "Jianghua Zhong",
    "Yingyin Pan",
    "Wenhui Kong",
    "Dongdai Lin"
  ],
  "affiliations": null,
  "abstract": "Grain and Trivium are  two typical stream ciphers based on  nonlinear feedback shift registers (NFSRs).\nThe 160-stage Galois NFSR used in Grain was found  conditionally equivalent to  a 160-stage Fibonacci NFSR  before Grain was introduced. But it remains unknown whether the 288-stage Galois NFSR used in  Trivium is conditionally equivalent to a  Fibonacci NFSR, though Trivium  exists for over ten years  and  several types of Galois NFSRs have been found conditionally equivalent to Fibonacci ones with same stage number over the last decades.\n\nThis paper applies the NFSR's dynamic system description, and obtains some necessary and sufficient conditions for Galois NFSRs to be conditionally equivalent to Fibonacci ones with same stage number, covering and improving the previous work on this research. As an application, the paper reveals that the 288-stage Galois NFSR used in Trivium is not conditionally equivalent to any Fibonacci NFSR, indicating the infeasibility of applying a conditionally equivalent Fibonacci NFSR to simplify its cryptanalysis, and indicating the good confusion and diffusion of the initial state to the output sequence generated from the  Galois NFSR's  288-th bit that is used as one of inputs of  Trivium's filtering function. This provides a formal extra justification of Trivium's good design, and allows future designs to be built by the same principle.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Necessary and Sufficient Conditions for Galois NFSRs Conditionally Equivalent to Fibonacci Ones and Their Application to the Stream Cipher Trivium” by Jianghua Zhong, Yingyin Pan, Wenhui Kong, Dongdai Lin, Cryptology ePrint Archive, Paper 2021/928, https://eprint.iacr.org/2021/928. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-07-09T18:03:54Z",
    "updated": "2025-08-01T13:21:45Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/928.pdf",
    "sha256": "bab25e9e2aba0584ad687b6554713691e23ece97bfd395789a4b6a1e7af4f6c6",
    "size": 394135,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/928/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/928.pdf",
      "size": 394135,
      "sha256": "bab25e9e2aba0584ad687b6554713691e23ece97bfd395789a4b6a1e7af4f6c6",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2021/928/versions/20210725T184417Z.pdf",
      "captured_at": "2021-07-25T18:44:17Z",
      "label": "copy captured 2021-07-25",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20210725184417id_/https://eprint.iacr.org/2021/928.pdf",
      "size": 363829,
      "sha256": "2f2104b9cebaf3f30f325c9c35595f979620ac392da8da14952afc254317c9c5",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/928.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 394135
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20210725184417id_/https://eprint.iacr.org/2021/928.pdf",
      "captured_at": "2021-07-25T18:44:17Z",
      "size": 311495
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/928,\n      author = {Jianghua Zhong and Yingyin Pan and Wenhui Kong and Dongdai Lin},\n      title = {Necessary and Sufficient Conditions for Galois NFSRs Conditionally Equivalent to Fibonacci Ones and Their Application to the Stream Cipher Trivium},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/928},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/928}\n}"
}
