{
  "id": "2023/807",
  "url": "https://opencryptology.org/2023/807",
  "original_url": "https://eprint.iacr.org/2023/807",
  "title": "Ready to SQI? Safety First! Towards a constant-time implementation of isogeny-based signature, SQIsign",
  "authors": [
    "David Jacquemin",
    "Anisha Mukherjee",
    "Péter Kutas",
    "Sujoy SINHA ROY"
  ],
  "affiliations": null,
  "abstract": "NIST has already published the first round of submissions for additional post-quantum signature schemes and the only isogeny-based candidate is SQIsign. It boasts the\nmost compact key and signature sizes among all post-quantum signature schemes.\nHowever, its current implementation does not address side-channel resistance. This\nwork is the first to identify a potential side-channel vulnerability in SQIsign. At\ncertain steps within the signing procedure, it relies on Cornacchia’s algorithm to\nrepresent an integer as a sum of squares of two integers. This algorithm in turn uses\na ‘half-GCD’ (half-greatest common divisor) sub-routine based on Euclid’s division\nalgorithm which has often been exploited for side-channel attacks. We show that if\nthe inputs of Cornacchia’s algorithm leak, then one can retrieve the signing key in\npolynomial time. Also, since there is no constant-time implementation for SQIsign,\nwe propose two timing attack-resistant versions of Cornacchia’s algorithm. The\nfirst version uses a constant-time ‘half-GCD’ algorithm that runs a fixed number\nof times for a given upper bound based on the bit-size of the inputs. The second\nversion is based on the two-dimensional lattice reduction algorithm. We show that\nrandomizing the starting basis with an unimodular matrix would make the execution\ntime independent of the input.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC0",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/",
    "label": "CC0 1.0",
    "attribution": "“Ready to SQI? Safety First! Towards a constant-time implementation of isogeny-based signature, SQIsign” by David Jacquemin, Anisha Mukherjee, Péter Kutas, Sujoy SINHA ROY, Cryptology ePrint Archive, Paper 2023/807, https://eprint.iacr.org/2023/807. Licensed under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-06-01T14:37:07Z",
    "updated": "2024-02-09T14:30:30Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/807.pdf",
    "sha256": "3a3ff5bf652f8dc490704026d1ea498c61bfc5e387a4bc5fc05b568c4b6d4cd5",
    "size": 896409,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/807/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/2023/807.pdf",
      "size": 896409,
      "sha256": "3a3ff5bf652f8dc490704026d1ea498c61bfc5e387a4bc5fc05b568c4b6d4cd5",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/807/versions/20230606T090014Z.pdf",
      "captured_at": "2023-06-06T09:00:14Z",
      "label": "copy captured 2023-06-06",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230606090014id_/https://eprint.iacr.org/2023/807.pdf",
      "size": 706254,
      "sha256": "01ef4a247b740200a06cdf5ec804fe96a1f07a2c9bb2011f8606a6c6c879d660",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/807.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 896409
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251230031954id_/https://eprint.iacr.org/2023/807.pdf",
      "captured_at": "2025-12-30T03:19:54Z",
      "size": 882098
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/807,\n      author = {David Jacquemin and Anisha Mukherjee and Péter Kutas and Sujoy SINHA ROY},\n      title = {Ready to SQI? Safety First! Towards a constant-time implementation of isogeny-based signature, SQIsign},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/807},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/807}\n}"
}
