{
  "id": "2017/195",
  "url": "https://opencryptology.org/2017/195",
  "original_url": "https://eprint.iacr.org/2017/195",
  "title": "Design of Lightweight Linear Diffusion Layers from Near-MDS Matrices",
  "authors": [
    "Chaoyun Li",
    "Qingju Wang"
  ],
  "affiliations": null,
  "abstract": "Near-MDS matrices provide better trade-offs between security and efficiency compared to constructions based on MDS matrices, which are favored for hardware-oriented designs. We present new designs of lightweight linear diffusion layers by constructing lightweight near-MDS matrices.\nFirstly generic $n\\times n$ near-MDS circulant matrices are found for $5\\leq n \\leq 9$.\nSecondly\\,, the implementation cost of instantiations of the generic near-MDS matrices is examined.\nSurprisingly, for $n=7,8$, it turns out that some proposed near-MDS circulant matrices of order $n$ have the lowest XOR count among all near-MDS matrices of the same order.\nFurther, for $n=5,6$, we present near-MDS matrices of order $n$ having the lowest XOR count as well. The proposed matrices, together with previous construction of order less than five, lead to\nsolutions of $n\\times n$ near-MDS matrices with the lowest XOR count over finite fields $\\mathbb{F}_{2^m}$ for $2\\leq n \\leq 8$ and $4\\leq m \\leq 2048$. Moreover, we present some involutory near-MDS matrices of order $8$ constructed from Hadamard matrices. Lastly, the security of the proposed linear layers is studied by calculating lower bounds on the number of active S-boxes. It is shown that our linear layers with a well-chosen nonlinear layer can provide sufficient security against differential and linear cryptanalysis.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Design of Lightweight Linear Diffusion Layers from Near-MDS Matrices” by Chaoyun Li, Qingju Wang, Cryptology ePrint Archive, Paper 2017/195, https://eprint.iacr.org/2017/195. 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-02-28T19:43:33Z",
    "updated": "2017-03-01T18:31:44Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2017/195.pdf",
    "sha256": "bb3c6be0e1e9ca961e934bd9328c5612ad227a0c74e14bca890b714c0056e99c",
    "size": 568528,
    "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/195/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/195.pdf",
      "size": 568528,
      "sha256": "bb3c6be0e1e9ca961e934bd9328c5612ad227a0c74e14bca890b714c0056e99c",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260102024340id_/https://eprint.iacr.org/2017/195.pdf",
      "captured_at": "2026-01-02T02:43:40Z",
      "size": 568838
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2017/195.pdf",
      "captured_at": "2019-02-25T17:41:11Z",
      "size": 568528
    }
  ],
  "bibtex": "@misc{cryptoeprint:2017/195,\n      author = {Chaoyun Li and Qingju Wang},\n      title = {Design of Lightweight Linear Diffusion Layers from Near-MDS Matrices},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2017/195},\n      year = {2017},\n      url = {https://eprint.iacr.org/2017/195}\n}"
}
