{
  "id": "2014/891",
  "url": "https://opencryptology.org/2014/891",
  "original_url": "https://eprint.iacr.org/2014/891",
  "title": "Conversion from Arithmetic to Boolean Masking with Logarithmic Complexity",
  "authors": [
    "Jean-Sebastien Coron",
    "Johann Groszschaedl",
    "Praveen Kumar Vadnala",
    "Mehdi Tibouchi"
  ],
  "affiliations": null,
  "abstract": "A general method to protect a cryptographic algorithm against side-channel attacks consists in masking all intermediate variables with a random value. For cryptographic algorithms combining  Boolean operations with arithmetic operations, one must then perform conversions between Boolean masking and arithmetic masking. At CHES 2001, Goubin described a very elegant algorithm for converting from Boolean masking to arithmetic masking, with only a constant number of operations. Goubin also described an algorithm for converting from arithmetic to Boolean masking, but with O(k) operations where k is the addition bit size. In this paper we describe an improved algorithm with time complexity O(log k) only. Our new algorithm is based on the Kogge-Stone carry look-ahead adder, which computes the carry signal in O(log k) instead of O(k) for the classical ripple carry adder.  We also describe an algorithm for performing arithmetic addition modulo 2^k directly on Boolean shares, with the same complexity O(log k) instead of O(k).  We prove the security of our\nnew algorithms against first-order attacks.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Conversion from Arithmetic to Boolean Masking with Logarithmic Complexity” by Jean-Sebastien Coron, Johann Groszschaedl, Praveen Kumar Vadnala, Mehdi Tibouchi, Cryptology ePrint Archive, Paper 2014/891, https://eprint.iacr.org/2014/891. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2014-10-30T13:38:55Z",
    "updated": "2015-02-11T16:42:11Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2014/891.pdf",
    "sha256": "868dadbaf90803bdc27fb36b353142ce9842ec73c81b8a06ee4abf7f864326b8",
    "size": 374823,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:55:32Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2014/891/versions/20190225T165532Z.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/891.pdf",
      "size": 374823,
      "sha256": "868dadbaf90803bdc27fb36b353142ce9842ec73c81b8a06ee4abf7f864326b8",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2014/891/versions/20141121T034448Z.pdf",
      "captured_at": "2014-11-21T03:44:48Z",
      "label": "copy captured 2014-11-21",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20141121034448id_/http://eprint.iacr.org:80/2014/891.pdf",
      "size": 337914,
      "sha256": "c21d12ed6d8cbeb2b964235f6f7066ffc666e69b12c4ed3a5ed700d72695428e",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260429053527id_/https://eprint.iacr.org/2014/891.pdf",
      "captured_at": "2026-04-29T05:35:27Z",
      "size": 372786
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2014/891.pdf",
      "captured_at": "2019-02-25T16:55:32Z",
      "size": 374823
    }
  ],
  "bibtex": "@misc{cryptoeprint:2014/891,\n      author = {Jean-Sebastien Coron and Johann Groszschaedl and Praveen Kumar Vadnala and Mehdi Tibouchi},\n      title = {Conversion from Arithmetic to Boolean Masking with Logarithmic Complexity},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2014/891},\n      year = {2014},\n      url = {https://eprint.iacr.org/2014/891}\n}"
}
