{
  "id": "2022/1197",
  "url": "https://opencryptology.org/2022/1197",
  "original_url": "https://eprint.iacr.org/2022/1197",
  "title": "On Squaring Modulo Mersenne Numbers",
  "authors": [
    "David Naccache",
    "Ofer Yifrach-Stav"
  ],
  "affiliations": null,
  "abstract": "During the design of a new primitive inspired by Squash we accidentally stumbled on the observation described in this note.\n\nLet $n$ be a $k$-bit Mersenne number whose factors are unknown. Consider an $\\ell$-bit secret number $x=2^{k/2}a+b$. We observe that there are parameter configurations where a chunk of the value $b^2$ is leaked even if $k<2\\ell$.\n\nThis observation does not endanger any known scheme and in particular not Squash.",
  "category": "Implementation",
  "license": {
    "code": "CC0",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/",
    "label": "CC0 1.0",
    "attribution": "“On Squaring Modulo Mersenne Numbers” by David Naccache, Ofer Yifrach-Stav, Cryptology ePrint Archive, Paper 2022/1197, https://eprint.iacr.org/2022/1197. Licensed under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-09-11T09:26:14Z",
    "updated": "2022-09-11T09:26:14Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1197.pdf",
    "sha256": "26d9b1f706e18b7ecf5de957270f4d86e6acd586526c8982566ade67d25e236b",
    "size": 313116,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1197/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/1197.pdf",
      "size": 313116,
      "sha256": "26d9b1f706e18b7ecf5de957270f4d86e6acd586526c8982566ade67d25e236b",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260114024453id_/https://eprint.iacr.org/2022/1197.pdf",
      "captured_at": "2026-01-14T02:44:53Z",
      "size": 314026
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1197.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 313116
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1197,\n      author = {David Naccache and Ofer Yifrach-Stav},\n      title = {On Squaring Modulo Mersenne Numbers},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1197},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1197}\n}"
}
