{
  "id": "2025/935",
  "url": "https://opencryptology.org/2025/935",
  "original_url": "https://eprint.iacr.org/2025/935",
  "title": "Side-channel safe conditional moves and swaps",
  "authors": [
    "David Santos",
    "Michael Scott"
  ],
  "affiliations": null,
  "abstract": "Constant-time implementations are a cornerstone of secure\ncryptographic systems, particularly in the context of key exchange protocols and digital signature schemes. These implementations are designed to eliminate timing side-channel vulnerabilities by ensuring that the program’s execution time is independent of secret data. A fundamental building block for achieving constant-time behavior is the conditional move operation. Unlike traditional branching constructs (such as if statements), which may introduce data-dependent timing variations, conditional moves allow developers to write logic that behaves identically at the hardware level regardless of input values. As a result, they are widely used in cryptographic libraries and standards to ensure both functional correctness and resistance to timing attacks. In this work, we describe our efforts to implement elliptic curve cryptography with some immunity against certain power leakage side-channel attacks, using standard C and Rust code.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Side-channel safe conditional moves and swaps” by David Santos, Michael Scott, Cryptology ePrint Archive, Paper 2025/935, https://eprint.iacr.org/2025/935. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-05-23T00:17:09Z",
    "updated": "2025-09-09T00:56:33Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/935.pdf",
    "sha256": "3f55f49c571a3be9a7e3ad0615cce8706f3786c6edbd0e08aad52afe0218713d",
    "size": 3259366,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/935/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/2025/935.pdf",
      "size": 3259366,
      "sha256": "3f55f49c571a3be9a7e3ad0615cce8706f3786c6edbd0e08aad52afe0218713d",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/935/versions/20250523T041409Z.pdf",
      "captured_at": "2025-05-23T04:14:09Z",
      "label": "copy captured 2025-05-23",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250523041409id_/https://eprint.iacr.org/2025/935.pdf",
      "size": 3257051,
      "sha256": "ca871d689daf290893c82d0428dd74fe21effe7859d3e60fc90823fc9d0cbb3f",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/935.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 3259366
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260421041120id_/https://eprint.iacr.org/2025/935.pdf",
      "captured_at": "2026-04-21T04:11:20Z",
      "size": 3219280
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/935,\n      author = {David Santos and Michael Scott},\n      title = {Side-channel safe conditional moves and swaps},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/935},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/935}\n}"
}
