{
  "id": "2021/067",
  "url": "https://opencryptology.org/2021/067",
  "original_url": "https://eprint.iacr.org/2021/067",
  "title": "Analysis and Comparison of Table-based Arithmetic to Boolean Masking",
  "authors": [
    "Michiel Van Beirendonck",
    "Jan-Pieter D’Anvers",
    "Ingrid Verbauwhede"
  ],
  "affiliations": null,
  "abstract": "Masking is a popular technique to protect cryptographic implementations\nagainst side-channel attacks and comes in several variants including Boolean and\narithmetic masking. Some masked implementations require conversion between these\ntwo variants, which is increasingly the case for masking of post-quantum encryption and\nsignature schemes. One way to perform Arithmetic to Boolean (A2B) mask conversion\nis a table-based approach first introduced by Coron and Tchulkine, and later corrected\nand adapted by Debraize in CHES 2012. In this work, we show both analytically and\nexperimentally that the table-based A2B conversion algorithm proposed by Debraize\ndoes not achieve the claimed resistance against differential power analysis due to a\nnon-uniform masking of an intermediate variable. This non-uniformity is hard to find\nanalytically but leads to clear leakage in experimental validation. To address the\nnon-uniform masking issue, we propose two new A2B conversions: one that maintains\nefficiency at the cost of additional memory and one that trades efficiency for a reduced\nmemory footprint. We give analytical and experimental evidence for their security, and\nwill make their implementations, which are shown to be free from side-channel leakage\nin 100.000 power traces collected on the ARM Cortex-M4, available online. We conclude\nthat when designing side-channel protection mechanisms, it is of paramount importance\nto perform both a theoretical analysis and an experimental validation of the method.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Analysis and Comparison of Table-based Arithmetic to Boolean Masking” by Michiel Van Beirendonck, Jan-Pieter D’Anvers, Ingrid Verbauwhede, Cryptology ePrint Archive, Paper 2021/067, https://eprint.iacr.org/2021/067. 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-01-22T20:27:34Z",
    "updated": "2021-04-15T15:19:14Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/067.pdf",
    "sha256": "52207c19b098ea430cd721261849c030e0ef6c0971ae46bca6620274a888330b",
    "size": 814740,
    "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/067/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/67.pdf",
      "size": 814740,
      "sha256": "52207c19b098ea430cd721261849c030e0ef6c0971ae46bca6620274a888330b",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/67.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 814740
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20230531183619id_/https://eprint.iacr.org/2021/067.pdf",
      "captured_at": "2023-05-31T18:36:19Z",
      "size": 792540
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/067,\n      author = {Michiel Van Beirendonck and Jan-Pieter D’Anvers and Ingrid Verbauwhede},\n      title = {Analysis and Comparison of Table-based Arithmetic to Boolean Masking},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/067},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/067}\n}"
}
