{
  "id": "2021/1586",
  "url": "https://opencryptology.org/2021/1586",
  "original_url": "https://eprint.iacr.org/2021/1586",
  "title": "Cryptanalysis of a Type of White-Box Implementations of the SM4 Block Cipher",
  "authors": [
    "Jiqiang Lu",
    "Jingyu Li",
    "Zexuan Chen",
    "Yanan Li"
  ],
  "affiliations": null,
  "abstract": "The SM4 block cipher is a Chinese national standard and an ISO international standard. Since white-box cryptography has many real-life applications nowadays, a few white-box implementations of SM4 has been proposed, among which a type of constructions is  dominated, that uses a linear or affine diagonal block encoding to protect the original three 32-bit branches entering a round function and uses its inverse as the input encoding to the S-box layer. In this paper, we analyse the security of this type of constructions against Lepoint et al.'s collision-based attack method, our experiment under a small fraction of (encodings, round key) combinations shows that the rank of the concerned linear system is much less than the number of the involved unknowns, meaning these white-box SM4 implementations should resist Lepoint et al.'s method, but we leave it as an open problem  whether there are such encodings that the rank of the corresponding linear system is slightly  less than the number of the involved unknowns, in which scenario Lepoint et al.'s method may be used to recover a round key for the case with linear encodings and to remove most white-box operations until mainly some Boolean masks for the case with affine encodings.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Cryptanalysis of a Type of White-Box Implementations of the SM4 Block Cipher” by Jiqiang Lu, Jingyu Li, Zexuan Chen, Yanan Li, Cryptology ePrint Archive, Paper 2021/1586, https://eprint.iacr.org/2021/1586. 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-12-06T03:48:03Z",
    "updated": "2025-04-05T01:56:57Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/1586.pdf",
    "sha256": "80093a5d3530ad282321ada9e2ee476631f6930c196da9f52107d8fdafdf6e4a",
    "size": 430504,
    "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/1586/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/1586.pdf",
      "size": 430504,
      "sha256": "80093a5d3530ad282321ada9e2ee476631f6930c196da9f52107d8fdafdf6e4a",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2021/1586/versions/20211206T040422Z.pdf",
      "captured_at": "2021-12-06T04:04:22Z",
      "label": "copy captured 2021-12-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20211206040422id_/https://eprint.iacr.org/2021/1586.pdf",
      "size": 390685,
      "sha256": "9abf936cc647068fb87f89ac73b28c57710d4cbaaeee9ae445c7223e4fc23f19",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/1586.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 430504
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20220117013938id_/https://eprint.iacr.org/2021/1586.pdf",
      "captured_at": "2022-01-17T01:39:38Z",
      "size": 316849
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/1586,\n      author = {Jiqiang Lu and Jingyu Li and Zexuan Chen and Yanan Li},\n      title = {Cryptanalysis of a Type of White-Box Implementations of the SM4 Block Cipher},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/1586},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/1586}\n}"
}
