{
  "id": "2022/444",
  "url": "https://opencryptology.org/2022/444",
  "original_url": "https://eprint.iacr.org/2022/444",
  "title": "A White-Box Speck Implementation using Self-Equivalence Encodings (Full Version)",
  "authors": [
    "Joachim Vandersmissen",
    "Adrián Ranea",
    "Bart Preneel"
  ],
  "affiliations": null,
  "abstract": "In 2002, Chow et al. initiated the formal study of white-box cryptography and introduced the CEJO framework. Since then, various white-box designs based on their framework have been proposed, all of them broken. Ranea and Preneel proposed a different method in 2020, called self-equivalence encodings and analyzed its security for AES. In this paper, we apply this method to generate the first academic white-box Speck implementations using self-equivalence encodings. Although we focus on Speck in this work, our design could easily be adapted to protect other add-rotate-xor (ARX) ciphers.\nThen, we analyze the security of our implementation against key-recovery attacks. We propose an algebraic attack to fully recover the master key and external encodings from a white-box Speck implementation, with limited effort required. While this result shows that the linear and affine self-equivalences of self-equivalence encodings are insecure, we hope that this negative result will spur additional research in higher-degree self-equivalence encodings for white-box cryptography.\nFinally, we created an open-source Python project implementing our design, publicly available at https://github.com/jvdsn/white-box-speck. We give an overview of five strategies to generate output code, which can be used to improve the performance of the white-box implementation. We compare these strategies and determine how to generate the most performant white-box Speck code. Furthermore, this project could be employed to test and compare the efficiency of attacks on white-box implementations using self-equivalence encodings.",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A White-Box Speck Implementation using Self-Equivalence Encodings (Full Version)” by Joachim Vandersmissen, Adrián Ranea, Bart Preneel, Cryptology ePrint Archive, Paper 2022/444, https://eprint.iacr.org/2022/444. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-04-12T07:42:46Z",
    "updated": "2022-04-12T07:42:46Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/444.pdf",
    "sha256": "77c4c9ee257864f2e98400cb7e65588fe3f8b8c79a220a1867b82c29b2cc9114",
    "size": 401534,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/444/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/444.pdf",
      "size": 401534,
      "sha256": "77c4c9ee257864f2e98400cb7e65588fe3f8b8c79a220a1867b82c29b2cc9114",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260112172644id_/https://eprint.iacr.org/2022/444.pdf",
      "captured_at": "2026-01-12T17:26:44Z",
      "size": 397677
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/444.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 401534
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/444,\n      author = {Joachim Vandersmissen and Adrián Ranea and Bart Preneel},\n      title = {A White-Box Speck Implementation using Self-Equivalence Encodings (Full Version)},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/444},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/444}\n}"
}
