Paper 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.
Keywords
Side-Channel AnalysisSimple Power AnalysisPublic-key AlgorithmsDynamic Time WarpingKyber
Contact author(s)
dyl19 @ bit edu cn
xuhaotong2 @ 163 com
annvliu @ 163 com
wanganl @ bit edu cn
zhangjq @ bit edu cn
yujing93 @ bit edu cn
liehuangz @ bit edu cn
History
2025-05-17: approved
2025-05-15: received
See all versions
Short URL
https://ia.cr/2025/857
License
Creative Commons Attribution-NonCommercial-ShareAlike
CC BY-NC-SA

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, eprint.iacr.org does not use cookies or embedded third party content.