{
  "id": "2022/461",
  "url": "https://opencryptology.org/2022/461",
  "original_url": "https://eprint.iacr.org/2022/461",
  "title": "Information Leakage in Code-based Masking: A Systematic Evaluation by Higher-Order Attacks",
  "authors": [
    "Wei Cheng",
    "Sylvain Guilley",
    "Jean-Luc Danger"
  ],
  "affiliations": null,
  "abstract": "Code-based masking is a recent line of research on masking schemes aiming at provably counteracting side-channel attacks. It generalizes and unifies many masking schemes within a coding-theoretic formalization. In code-based masking schemes, the tuning parameters are the underlying linear codes, whose choice significantly affects the side-channel resilience. In this paper, we investigate the exploitability of the information leakage in code-based masking and present attack-based evaluation results of higher-order optimal distinguisher (HOOD). Particularly, we consider two representative instances of code-based masking, namely inner product masking (IPM) and Shamir's secret sharing (SSS) based masking. Our results do confirm the state-of-the-art theoretical derivatives in an empirical manner with numerically simulated measurements. Specifically, theoretical results are based on quantifying information leakage; we further complete the panorama with attack-based evaluations by investigating the exploitability of the leakage. Moreover, we classify all possible candidates of linear codes in IPM with 2 and 3 shares and (3,1)-SSS based masking, and highlight both optimal and worst codes for them.\n\nRelying on our empirical evaluations, we therefore recommend investigating the coding-theoretic properties to find the best linear codes in strengthening instances of code-based masking. As for applications, our attack-based evaluation directly empowers designers, by employing optimal linear codes, to enhance the protection of code-based masking. Our framework leverages simulated leakage traces, hence allowing for source code validation or patching in case it is found to be attackable.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Information Leakage in Code-based Masking: A Systematic Evaluation by Higher-Order Attacks” by Wei Cheng, Sylvain Guilley, Jean-Luc Danger, Cryptology ePrint Archive, Paper 2022/461, https://eprint.iacr.org/2022/461. 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-22T12:50:05Z",
    "updated": "2022-05-16T15:42:27Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/461.pdf",
    "sha256": "043f9e902d357a682935c9b360f4b3c5801fc43c3bdbbea6b3ca66d798279aaa",
    "size": 625293,
    "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/461/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/461.pdf",
      "size": 625293,
      "sha256": "043f9e902d357a682935c9b360f4b3c5801fc43c3bdbbea6b3ca66d798279aaa",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260110033432id_/https://eprint.iacr.org/2022/461.pdf",
      "captured_at": "2026-01-10T03:34:32Z",
      "size": 480329
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/461.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 625293
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/461,\n      author = {Wei Cheng and Sylvain Guilley and Jean-Luc Danger},\n      title = {Information Leakage in Code-based Masking: A Systematic Evaluation by Higher-Order Attacks},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/461},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/461}\n}"
}
