{
  "id": "2025/857",
  "url": "https://opencryptology.org/2025/857",
  "original_url": "https://eprint.iacr.org/2025/857",
  "title": "Classify Directly: A Dynamic Time SPA Classification Method Based on DTW",
  "authors": [
    "Yaoling Ding",
    "Haotong Xu",
    "Annyu Liu",
    "An Wang",
    "Jingqi Zhang",
    "Jing Yu",
    "Liehuang Zhu"
  ],
  "affiliations": null,
  "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.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY-NC-SA",
    "url": "https://creativecommons.org/licenses/by-nc-sa/4.0/",
    "label": "CC BY-NC-SA 4.0",
    "attribution": "“Classify Directly: A Dynamic Time SPA Classification Method Based on DTW” by Yaoling Ding, Haotong Xu, Annyu Liu, An Wang, Jingqi Zhang, Jing Yu, Liehuang Zhu, Cryptology ePrint Archive, Paper 2025/857, https://eprint.iacr.org/2025/857. Licensed under CC BY-NC-SA 4.0 (https://creativecommons.org/licenses/by-nc-sa/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": true
  },
  "dates": {
    "submitted": "2025-05-15T07:23:07Z",
    "updated": "2025-05-15T07:23:07Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/857.pdf",
    "sha256": "aa889598ec783af516bb6eecb3d1905ade2d754dfb6c3f659e6bd7e5548c7900",
    "size": 3805518,
    "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/857/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/857.pdf",
      "size": 3805518,
      "sha256": "aa889598ec783af516bb6eecb3d1905ade2d754dfb6c3f659e6bd7e5548c7900",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/857.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 3805518
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260220012752id_/https://eprint.iacr.org/2025/857.pdf",
      "captured_at": "2026-02-20T01:27:52Z",
      "size": 3746844
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/857,\n      author = {Yaoling Ding and Haotong Xu and Annyu Liu and An Wang and Jingqi Zhang and Jing Yu and Liehuang Zhu},\n      title = {Classify Directly: A Dynamic Time SPA Classification Method Based on DTW},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/857},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/857}\n}"
}
