{
  "id": "2022/1283",
  "url": "https://opencryptology.org/2022/1283",
  "original_url": "https://eprint.iacr.org/2022/1283",
  "title": "A Note on Reimplementing the Castryck-Decru Attack and Lessons Learned for SageMath",
  "authors": [
    "Rémy Oudompheng",
    "Giacomo Pope"
  ],
  "affiliations": null,
  "abstract": "This note describes the implementation of the Castryck-Decru key recovery attack on SIDH using the computer algebra system, SageMath. We describe in detail alternate computation methods for the isogeny steps of the original attack ($(2,2)$-isogenies from a product of elliptic curves and from a Jacobian), using explicit formulas to compute values of these isogenies at given points, motivated by both performance considerations and working around SageMath limitations. A performance analysis is provided, with focus given to the various algorithmic and SageMath specific improvements made during development, which in total accumulated in approximately an eight-fold performance improvement compared with a naïve reimplementation of the proof of concept.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY-SA",
    "url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "label": "CC BY-SA 4.0",
    "attribution": "“A Note on Reimplementing the Castryck-Decru Attack and Lessons Learned for SageMath” by Rémy Oudompheng, Giacomo Pope, Cryptology ePrint Archive, Paper 2022/1283, https://eprint.iacr.org/2022/1283. Licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-09-27T09:55:24Z",
    "updated": "2022-09-27T09:55:24Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1283.pdf",
    "sha256": "761d8bf2bceeccc569ea1818b61ca08748bd440257a1ce62d3fc293aac43c265",
    "size": 253425,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1283/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1283.pdf",
      "size": 253425,
      "sha256": "761d8bf2bceeccc569ea1818b61ca08748bd440257a1ce62d3fc293aac43c265",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260921172232id_/https://eprint.iacr.org/2022/1283.pdf",
      "captured_at": "2026-09-21T17:22:32Z",
      "size": 254731
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1283.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 253425
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1283,\n      author = {Rémy Oudompheng and Giacomo Pope},\n      title = {A Note on Reimplementing the Castryck-Decru Attack and Lessons Learned for SageMath},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1283},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1283}\n}"
}
