{
  "id": "2013/554",
  "url": "https://opencryptology.org/2013/554",
  "original_url": "https://eprint.iacr.org/2013/554",
  "title": "Formally Proved Security of Assembly Code Against Power Analysis: A Case Study on Balanced Logic",
  "authors": [
    "Pablo Rauzy",
    "Sylvain Guilley",
    "Zakaria Najm"
  ],
  "affiliations": null,
  "abstract": "In his keynote speech at CHES 2004, Kocher advocated that side-channel attacks were an illustration that formal cryptography was not as secure as it was believed because some assumptions (e.g., no auxiliary information is available during the computation) were not modeled.\nThis failure is caused by formal methods' focus on models rather than implementations.\nIn this paper we present formal methods and tools for designing protected code and proving its security against power analysis.\nThese formal methods avoid the discrepancy between the model and the implementation by working on the latter rather than on a high-level model.\nIndeed, our methods allow us\n(a) to automatically insert a power balancing countermeasure directly at the assembly level, and to prove the correctness of the induced code transformation; and\n(b) to prove that the obtained code is balanced with regard to a reasonable leakage model, and we show how to characterize the hardware to use the resources which maximize the relevancy of the model.\nThe tools implementing our methods are then demonstrated in a case study in which we generate a provably protected PRESENT implementation for an 8-bit AVR smartcard.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Formally Proved Security of Assembly Code Against Power Analysis: A Case Study on Balanced Logic” by Pablo Rauzy, Sylvain Guilley, Zakaria Najm, Cryptology ePrint Archive, Paper 2013/554, https://eprint.iacr.org/2013/554. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2013-09-04T14:20:54Z",
    "updated": "2015-06-21T15:46:01Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2013/554.pdf",
    "sha256": "49d4fccaa3c1699e2db070f6154042a0550c50716c3f0c5a52572cb4dd5ca2b5",
    "size": 1003106,
    "source": "github-mirror",
    "source_date": "2019-02-25T16:45:55Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2013/554/versions/20190225T164555Z.pdf",
      "captured_at": "2019-02-25T16:45:55Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2013/554.pdf",
      "size": 1003106,
      "sha256": "49d4fccaa3c1699e2db070f6154042a0550c50716c3f0c5a52572cb4dd5ca2b5",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2013/554/versions/20150318T112932Z.pdf",
      "captured_at": "2015-03-18T11:29:32Z",
      "label": "copy captured 2015-03-18",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20150318112932id_/http://eprint.iacr.org/2013/554.pdf",
      "size": 918163,
      "sha256": "fce31a72c99be37aead52141bb2a78bfd2130608ed571fa15b7548999eca7f0c",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260105044129id_/https://eprint.iacr.org/2013/554.pdf",
      "captured_at": "2026-01-05T04:41:29Z",
      "size": 964098
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2013/554.pdf",
      "captured_at": "2019-02-25T16:45:55Z",
      "size": 1003106
    }
  ],
  "bibtex": "@misc{cryptoeprint:2013/554,\n      author = {Pablo Rauzy and Sylvain Guilley and Zakaria Najm},\n      title = {Formally Proved Security of Assembly Code Against Power Analysis: A Case Study on Balanced Logic},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2013/554},\n      year = {2013},\n      url = {https://eprint.iacr.org/2013/554}\n}"
}
