{
  "id": "2021/363",
  "url": "https://opencryptology.org/2021/363",
  "original_url": "https://eprint.iacr.org/2021/363",
  "title": "Information Leakages in Code-based Masking: A Unified Quantification Approach",
  "authors": [
    "Wei Cheng",
    "Sylvain Guilley",
    "Claude Carlet",
    "Jean-Luc Danger",
    "Sihem Mesnager"
  ],
  "affiliations": null,
  "abstract": "This paper presents a unified approach to quantifying the information leakages in the most general code-based masking schemes. Specifically, by utilizing a uniform representation, we highlight first that all code-based masking schemes' side-channel resistance can be quantified by an all-in-one framework consisting of two easy-to-compute parameters (the dual distance and the number of conditioned codewords) from a coding-theoretic perspective. In particular, we use signal-to-noise ratio (SNR) and mutual information (MI) as two complementary metrics, where a closed-form expression of SNR and an approximation of MI are proposed by connecting both metrics to the two coding-theoretic parameters.\n\nSecondly, considering the connection between Reed-Solomon code and SSS (Shamir's Secret Sharing) scheme, the SSS-based masking is viewed as a particular case of generalized code-based masking. Hence as a straightforward application, we evaluate the impact of public points on the side-channel security of SSS-based masking schemes, namely the polynomial masking, and enhance the SSS-based masking by choosing optimal public points for it. Interestingly, we show that given a specific security order, more shares in SSS-based masking leak more information on secrets in an information-theoretic sense.\n\nFinally, our approach provides a systematic method for optimizing the side-channel resistance of every code-based masking. More precisely, this approach enables us to select optimal linear codes (parameters) for the generalized code-based masking by choosing appropriate codes according to the two coding-theoretic parameters.\nSumming up, we provide a best-practice guideline for the application of code-based masking to protect cryptographic implementations.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Information Leakages in Code-based Masking: A Unified Quantification Approach” by Wei Cheng, Sylvain Guilley, Claude Carlet, Jean-Luc Danger, Sihem Mesnager, Cryptology ePrint Archive, Paper 2021/363, https://eprint.iacr.org/2021/363. 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-03-18T09:47:22Z",
    "updated": "2021-04-15T09:11:09Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/363.pdf",
    "sha256": "15a8eff5f2f74cd17e5a3d78169c8deacd79ac27bc35bd0ac183b751c354c8a2",
    "size": 1315178,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/363/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/363.pdf",
      "size": 1315178,
      "sha256": "15a8eff5f2f74cd17e5a3d78169c8deacd79ac27bc35bd0ac183b751c354c8a2",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20250906042358id_/https://eprint.iacr.org/2021/363.pdf",
      "captured_at": "2025-09-06T04:23:58Z",
      "size": 954101
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/363.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 1315178
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/363,\n      author = {Wei Cheng and Sylvain Guilley and Claude Carlet and Jean-Luc Danger and Sihem Mesnager},\n      title = {Information Leakages in Code-based Masking: A Unified Quantification Approach},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/363},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/363}\n}"
}
