{
  "id": "2024/1350",
  "url": "https://opencryptology.org/2024/1350",
  "original_url": "https://eprint.iacr.org/2024/1350",
  "title": "Update to the Sca25519 Library: Mitigating Tearing-based Side-channel Attacks",
  "authors": [
    "Lukasz Chmielewski",
    "Lubomír Hrbáček"
  ],
  "affiliations": null,
  "abstract": "This short note describes an update to the sca25519 library, an ECC implementation computing the X25519 key-exchange protocol on the Arm Cortex-M4 microcontroller. The sca25519 software came with extensive mitigations against various side-channel and fault attacks and was, to our best knowledge, the first to claim affordable protection against multiple classes of attacks that are motivated by distinct real-world application scenarios. \n\nThis library is protected against various passive and active side-channel threats. However, both classes of attacks were considered separately, i.e., combining the attacks is considered out-of-scope because to successfully execute such a combined attack, the adversary would need to be very powerful (e.g., a very well-equipped security laboratory). Protection against such powerful adversaries is considered infeasible without using dedicated protected hardware with which Arm Cortex-M4 is not equipped. \n\nHowever, there exists a particular class of easy and cheap active attacks: they are called tearing, and they are well known in the smartcard context. In this paper, we extend the scope of the library to also consider a combination of tearing and side-channel attacks. In this note, we show how we can mitigate such a combination by performing a small code update. The update does not affect the efficiency of the library.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Update to the Sca25519 Library: Mitigating Tearing-based Side-channel Attacks” by Lukasz Chmielewski, Lubomír Hrbáček, Cryptology ePrint Archive, Paper 2024/1350, https://eprint.iacr.org/2024/1350. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-08-28T11:17:37Z",
    "updated": "2024-10-25T07:21:50Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/1350.pdf",
    "sha256": "ee9cb74f0bc6a60a0e79dd6c9fcf4a6412febcd51fc38129fa96486d5fa4fb47",
    "size": 518205,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/1350/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1350.pdf",
      "size": 518205,
      "sha256": "ee9cb74f0bc6a60a0e79dd6c9fcf4a6412febcd51fc38129fa96486d5fa4fb47",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/1350/versions/20240830T111618Z.pdf",
      "captured_at": "2024-08-30T11:16:18Z",
      "label": "copy captured 2024-08-30",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240830111618id_/https://eprint.iacr.org/2024/1350.pdf",
      "size": 517945,
      "sha256": "cbc22d8484f487e5c1e999fce08799f49c38e29e760a2bcec72efe1a83d956d6",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/1350.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 518205
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260216232032id_/https://eprint.iacr.org/2024/1350.pdf",
      "captured_at": "2026-02-16T23:20:32Z",
      "size": 516333
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/1350,\n      author = {Lukasz Chmielewski and Lubomír Hrbáček},\n      title = {Update to the Sca25519 Library: Mitigating Tearing-based Side-channel Attacks},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1350},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/1350}\n}"
}
