{
  "id": "2021/1003",
  "url": "https://opencryptology.org/2021/1003",
  "original_url": "https://eprint.iacr.org/2021/1003",
  "title": "SCA-secure ECC in software – mission impossible?",
  "authors": [
    "Lejla Batina",
    "Łukasz Chmielewski",
    "Björn Haase",
    "Niels Samwel",
    "Peter Schwabe"
  ],
  "affiliations": null,
  "abstract": "This paper describes an ECC implementation computing the X25519 keyexchange protocol on the Arm Cortex-M4 microcontroller. For providing protections against various side-channel and fault attacks we first review known attacks and countermeasures, then we provide software implementations that come with extensive mitigations, and finally we present a preliminary side-channel evaluation. To our best knowledge, this is the first public software claiming affordable protection against multiple classes of attacks that are motivated by distinct real-world application scenarios. We distinguish between X25519 with ephemeral keys and X25519 with static keys and show that the overhead to our baseline unprotected implementation is about 37% and 243%, respectively. While this might seem to be a high price to pay for security, we also show that even our (most protected) static implementation is at least as efficient as widely-deployed ECC cryptographic libraries, which offer much less protection.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“SCA-secure ECC in software – mission impossible?” by Lejla Batina, Łukasz Chmielewski, Björn Haase, Niels Samwel, Peter Schwabe, Cryptology ePrint Archive, Paper 2021/1003, https://eprint.iacr.org/2021/1003. 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-08-03T10:57:53Z",
    "updated": "2022-11-04T21:45:00Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/1003.pdf",
    "sha256": "72a004985e1d492bf1a9e6f1266d87d4bcf1585bd0bdf98908f918e80d19803d",
    "size": 1491411,
    "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/1003/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/1003.pdf",
      "size": 1491411,
      "sha256": "72a004985e1d492bf1a9e6f1266d87d4bcf1585bd0bdf98908f918e80d19803d",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2021/1003/versions/20210803T111332Z.pdf",
      "captured_at": "2021-08-03T11:13:32Z",
      "label": "copy captured 2021-08-03",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20210803111332id_/https://eprint.iacr.org/2021/1003.pdf",
      "size": 1261522,
      "sha256": "8fb42c51329d9a7950590707b8bab5860bebd3ebf193ce821782dcfba7687bc3",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260305164836id_/https://eprint.iacr.org/2021/1003.pdf",
      "captured_at": "2026-03-05T16:48:36Z",
      "size": 1483403
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/1003.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 1491411
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/1003,\n      author = {Lejla Batina and Łukasz Chmielewski and Björn Haase and Niels Samwel and Peter Schwabe},\n      title = {SCA-secure ECC in software – mission impossible?},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/1003},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/1003}\n}"
}
