{
  "id": "2017/463",
  "url": "https://opencryptology.org/2017/463",
  "original_url": "https://eprint.iacr.org/2017/463",
  "title": "Proving Resistance against Invariant Attacks: How to Choose the Round Constants",
  "authors": [
    "Christof Beierle",
    "Anne Canteaut",
    "Gregor Leander",
    "Yann Rotella"
  ],
  "affiliations": null,
  "abstract": "Many lightweight block ciphers apply a very simple key schedule in which the round keys only differ by addition of a round-specific constant. Generally, there is not much theory on how to choose appropriate constants. In fact, several of those schemes were recently broken using invariant attacks, i.e., invariant subspace  or nonlinear invariant attacks. This work analyzes the resistance of such ciphers against invariant attacks and reveals the precise mathematical properties that render those attacks applicable. As a first practical consequence, we prove that some ciphers including Prince, Skinny-64 and Mantis7 are not vulnerable to invariant attacks. Also, we show that the invariant factors of the linear layer have a major impact on the resistance against those attacks. Most notably, if the number of invariant factors of the linear layer is small (e.g., if its minimal polynomial has a high degree), we can easily find round constants which guarantee the resistance to all types of invariant attacks, independently of the choice of the S-box layer. We also explain how to construct optimal round constants for a given, but arbitrary, linear layer.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Proving Resistance against Invariant Attacks: How to Choose the Round Constants” by Christof Beierle, Anne Canteaut, Gregor Leander, Yann Rotella, Cryptology ePrint Archive, Paper 2017/463, https://eprint.iacr.org/2017/463. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2017-05-28T18:18:43Z",
    "updated": "2017-09-21T14:34:08Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2017/463.pdf",
    "sha256": "1e8f3136b146381827eba5e0687c0c20fb5e43ed5685e42bbe70cf8ce3b172f6",
    "size": 537409,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:41:11Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2017/463/versions/20190225T174111Z.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/463.pdf",
      "size": 537409,
      "sha256": "1e8f3136b146381827eba5e0687c0c20fb5e43ed5685e42bbe70cf8ce3b172f6",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2017/463/versions/20170710T010540Z.pdf",
      "captured_at": "2017-07-10T01:05:40Z",
      "label": "copy captured 2017-07-10",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20170710010540id_/http://eprint.iacr.org/2017/463.pdf",
      "size": 536087,
      "sha256": "59a155a0967f2ea9273fe0849535a40029e71ad7e91b9480678eb8338602f6c0",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20241231003844id_/https://eprint.iacr.org/2017/463.pdf",
      "captured_at": "2024-12-31T00:38:44Z",
      "size": 538337
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/463.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "size": 537409
    }
  ],
  "bibtex": "@misc{cryptoeprint:2017/463,\n      author = {Christof Beierle and Anne Canteaut and Gregor Leander and Yann Rotella},\n      title = {Proving Resistance against Invariant Attacks: How to Choose the Round Constants},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2017/463},\n      year = {2017},\n      url = {https://eprint.iacr.org/2017/463}\n}"
}
