Paper 2025/935
Side-channel safe conditional moves and swaps
Abstract
Constant-time implementations are a cornerstone of secure cryptographic 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.
Metadata
- Available format(s)
-
PDF
- Category
- Attacks and cryptanalysis
- Publication info
- Preprint.
- Keywords
- Side-Channel AnalysisElliptic CurvesCountermeasures
- Contact author(s)
-
d261032 @ dac unicamp br
michael scott @ tii ae - History
- 2025-09-09: revised
- 2025-05-23: received
- See all versions
- Short URL
- https://ia.cr/2025/935
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2025/935,
author = {David Santos and Michael Scott},
title = {Side-channel safe conditional moves and swaps},
howpublished = {Cryptology {ePrint} Archive, Paper 2025/935},
year = {2025},
url = {https://eprint.iacr.org/2025/935}
}