Paper 2025/857 Original: eprint.iacr.org/2025/857 ↗

Classify Directly: A Dynamic Time SPA Classification Method Based on DTW

Yaoling Ding
Haotong Xu
Annyu Liu
An Wang
Jingqi Zhang
Jing Yu
Liehuang Zhu
Abstract

Side-channel analysis remains a critical threat to public-key cryptographic implementations. Simple Power Analysis (SPA) techniques can extract secret keys from a single power trace, often using clustering-based classification methods. However, traces captured in real-world environments often suffer from misalignment and variable trace lengths due to unstable clocks and random delays. As a result, clustering methods are required to use alignment methods that may alter the original information of the traces. To address this problem, this work proposes Dynamic Time Classification (DTC) as an alternative approach to classify cryptographic operations in SPA based on Dynamic Time Warping. Unlike clustering methods, DTC inherently compares power traces without requiring fixed-length segments, which greatly improved the adaptability to unequal traces and thus allows us to classify different operations relatively stably. Experimental results on public-key cryptographic algorithms and post-quantum algorithm implementations show that DTC are no less accurate than clustering methods and are more robust to timing variations. This work also systematically divides the features of different operations and explores the effects of different SPA methods on different types of feature. This work also conducts experiments with and without random delays for different categories, compares the experimental accuracy of different alignment methods, and discusses the feasibility of DTW as a preprocessing method.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
History
2025-05-15: last updated
2025-05-15: published
Short URL
https://ia.cr/2025/857
License
https://creativecommons.org/licenses/by-nc-sa/4.0/

BibTeX

@misc{cryptoeprint:2025/857,
      author = {Yaoling Ding and Haotong Xu and Annyu Liu and An Wang and Jingqi Zhang and Jing Yu and Liehuang Zhu},
      title = {Classify Directly: A Dynamic Time SPA Classification Method Based on DTW},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/857},
      year = {2025},
      url = {https://eprint.iacr.org/2025/857}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.