{
  "id": "2022/439",
  "url": "https://opencryptology.org/2022/439",
  "original_url": "https://eprint.iacr.org/2022/439",
  "title": "Efficient Multiplication of Somewhat Small Integers using Number-Theoretic Transforms",
  "authors": [
    "Hanno Becker",
    "Vincent Hwang",
    "Matthias J. Kannwischer",
    "Lorenz Panny",
    "Bo-Yin Yang"
  ],
  "affiliations": null,
  "abstract": "Conventional wisdom purports that FFT-based integer multiplication methods (such as the Schönhage-Strassen algorithm) begin to compete with Karatsuba and Toom-Cook only for integers of several tens of thousands of bits. In this work, we challenge this belief, leveraging recent advances in the implementation of number-theoretic transforms (NTT) stimulated by their use in post-quantum cryptography. We report on implementations of NTT-based integer arithmetic on two Arm Cortex-M CPUs on opposite ends of the performance spectrum: Cortex-M3 and Cortex-M55. Our results indicate that NTT-based multiplication is capable of outperforming the big-number arithmetic implementations of popular embedded cryptography libraries for integers as small as 2048 bits. To provide a realistic case study, we benchmark implementations of the RSA encryption and decryption operations. Our cycle counts on Cortex-M55 are about 10× lower than on Cortex-M3.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Efficient Multiplication of Somewhat Small Integers using Number-Theoretic Transforms” by Hanno Becker, Vincent Hwang, Matthias J. Kannwischer, Lorenz Panny, Bo-Yin Yang, Cryptology ePrint Archive, Paper 2022/439, https://eprint.iacr.org/2022/439. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-04-12T07:39:33Z",
    "updated": "2022-10-22T06:33:43Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/439.pdf",
    "sha256": "60d2396bf2d042a837d13a93f7d719a44605cf3ff4fa96598ea6cd2d563879b3",
    "size": 638863,
    "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/439/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/439.pdf",
      "size": 638863,
      "sha256": "60d2396bf2d042a837d13a93f7d719a44605cf3ff4fa96598ea6cd2d563879b3",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/439/versions/20220528T203818Z.pdf",
      "captured_at": "2022-05-28T20:38:18Z",
      "label": "copy captured 2022-05-28",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220528203818id_/https://eprint.iacr.org/2022/439.pdf",
      "size": 649124,
      "sha256": "2eb7e64ca043d5ab95c0a333163a3f3be56f85c859780648fc7c15f0b4a8b318",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/439/versions/20220412T074806Z.pdf",
      "captured_at": "2022-04-12T07:48:06Z",
      "label": "copy captured 2022-04-12",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220412074806id_/https://eprint.iacr.org/2022/439.pdf",
      "size": 649676,
      "sha256": "501a9bfe4bbbb44965813100639e57e0e4b3e0bc3b74a64307260f3612306c5c",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260303102101id_/https://eprint.iacr.org/2022/439.pdf",
      "captured_at": "2026-03-03T10:21:01Z",
      "size": 635530
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/439.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 638863
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/439,\n      author = {Hanno Becker and Vincent Hwang and Matthias J. Kannwischer and Lorenz Panny and Bo-Yin Yang},\n      title = {Efficient Multiplication of Somewhat Small Integers using Number-Theoretic Transforms},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/439},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/439}\n}"
}
