{
  "id": "2016/1023",
  "url": "https://opencryptology.org/2016/1023",
  "original_url": "https://eprint.iacr.org/2016/1023",
  "title": "Constant-Time Higher-Order Boolean-to-Arithmetic Masking",
  "authors": [
    "Michael Hutter",
    "Michael Tunstall"
  ],
  "affiliations": null,
  "abstract": "Converting a Boolean mask to an arithmetic mask, and vice versa, is often required in implementing side-channel resistant instances of cryptographic algorithms that mix Boolean and arithmetic operations. In this paper, we describe a method for converting a Boolean mask to an arithmetic mask that runs in constant time for a fixed order. We propose explicit algorithms for a second-order secure Boolean-to-arithmetic mask conversion that uses 31 instructions and for a third-order secure mask conversion that uses 74 instructions. We show that our solution is more efficient than previously proposed methods for any choice of masking-scheme order, typically by several orders of magnitude.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Constant-Time Higher-Order Boolean-to-Arithmetic Masking” by Michael Hutter, Michael Tunstall, Cryptology ePrint Archive, Paper 2016/1023, https://eprint.iacr.org/2016/1023. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2016-11-01T01:59:14Z",
    "updated": "2018-03-02T23:03:29Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2016/1023.pdf",
    "sha256": "77a7e75f7b0f6dbae35fdefaa8c5e401481bdd0b7bb255a342a1c07675b2bfa3",
    "size": 370980,
    "source": "github-mirror",
    "source_date": "2019-02-25T17:24:56Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2016/1023/versions/20190225T172456Z.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/1023.pdf",
      "size": 370980,
      "sha256": "77a7e75f7b0f6dbae35fdefaa8c5e401481bdd0b7bb255a342a1c07675b2bfa3",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2016/1023/versions/20170710T182624Z.pdf",
      "captured_at": "2017-07-10T18:26:24Z",
      "label": "copy captured 2017-07-10",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20170710182624id_/http://eprint.iacr.org/2016/1023.pdf",
      "size": 338517,
      "sha256": "892f8cf866c57525e201c447beefe72a5ec0239c2629a41c2137b0aeeebe75dd",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251230155011id_/https://eprint.iacr.org/2016/1023.pdf",
      "captured_at": "2025-12-30T15:50:11Z",
      "size": 369615
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2016/1023.pdf",
      "captured_at": "2019-02-25T17:24:56Z",
      "size": 370980
    }
  ],
  "bibtex": "@misc{cryptoeprint:2016/1023,\n      author = {Michael Hutter and Michael Tunstall},\n      title = {Constant-Time Higher-Order Boolean-to-Arithmetic Masking},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2016/1023},\n      year = {2016},\n      url = {https://eprint.iacr.org/2016/1023}\n}"
}
