{
  "id": "2018/1114",
  "url": "https://opencryptology.org/2018/1114",
  "original_url": "https://eprint.iacr.org/2018/1114",
  "title": "Lightweight Circuits with Shift and Swap",
  "authors": [
    "Subhadeep Banik",
    "Francesco Regazzoni",
    "Serge Vaudenay"
  ],
  "affiliations": null,
  "abstract": "In CHES 2017, Moradi et al. presented a paper on ``Bit-Sliding''  in which the authors proposed lightweight constructions\nfor SPN based block ciphers like AES, Present and SKINNY. The main idea behind these constructions was to reduce the\nlength of the datapath to 1 bit and to reformulate the linear layer for these ciphers so that they require fewer scan flip-flops (which have built-in multiplexer functionality and so larger in area as compared to a simple flip-flop). In this paper we take the idea forward: is it possible to construct the linear layer using only 2 scan flip-flops? Take the case of Present: in the language of mathematics, the above question translates to: can the Present permutation be generated by some ordered composition only two types of permutations?\nThe question can be answered in the affirmative by drawing upon the theory of permutation groups. However straightforward constructions would require that the ``ordered composition''\nconsist of a large number of simpler permutations. This would naturally take a large number of clock cycles to execute in a flip-flop array having only two scan flip-flops and thus incur heavy loss of throughput.\n\nIn this paper we try to analyze SPN ciphers like Present and Gift that have a bit permutation as their linear layer.\nWe tried to construct the linear layer of the cipher using as little clock cycles as possible. As an outcome we propose\nsmallest known constructions for Present and Gift block ciphers for both encryption and combined encryption+decryption functionalities.\nWe extend the above ideas to propose the first known construction of the Flip stream cipher.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Lightweight Circuits with Shift and Swap” by Subhadeep Banik, Francesco Regazzoni, Serge Vaudenay, Cryptology ePrint Archive, Paper 2018/1114, https://eprint.iacr.org/2018/1114. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2018-11-16T13:39:52Z",
    "updated": "2018-11-16T13:39:52Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2018/1114.pdf",
    "sha256": "9a86f3c4887f8592dc84a4cbeafc6857b0b311135fbb9ea8d960900327b5efc6",
    "size": 782009,
    "source": "github-mirror",
    "source_date": "2019-02-25T18:03:07Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2018/1114/versions/20190225T180307Z.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/1114.pdf",
      "size": 782009,
      "sha256": "9a86f3c4887f8592dc84a4cbeafc6857b0b311135fbb9ea8d960900327b5efc6",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260226185825id_/https://eprint.iacr.org/2018/1114.pdf",
      "captured_at": "2026-02-26T18:58:25Z",
      "size": 773503
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/1114.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "size": 782009
    }
  ],
  "bibtex": "@misc{cryptoeprint:2018/1114,\n      author = {Subhadeep Banik and Francesco Regazzoni and Serge Vaudenay},\n      title = {Lightweight Circuits with Shift and Swap},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2018/1114},\n      year = {2018},\n      url = {https://eprint.iacr.org/2018/1114}\n}"
}
