{
  "id": "2020/1302",
  "url": "https://opencryptology.org/2020/1302",
  "original_url": "https://eprint.iacr.org/2020/1302",
  "title": "TMVP-based Multiplication for Polynomial Quotient Rings and Application to Saber on ARM Cortex-M4",
  "authors": [
    "İrem Keskinkurt Paksoy",
    "Murat Cenk"
  ],
  "affiliations": null,
  "abstract": "Lattice-based NIST PQC finalists need efficient multiplication in $\\mathbb{Z}_q[x]/(f(x))$. Multiplication in this ring can be performed very efficiently via number theoretic transform (NTT) as done in CRYSTALS-Kyber if the parameters of the scheme allow it. If NTT is not supported, other multiplication algorithms must be employed. For example, if the modulus $q$ of the scheme is a power of two, as in Saber and NTRU, then NTT can not be used directly. In this case, Karatsuba and Toom-Cook methods together with modular reduction, are commonly used for multiplication in this ring. In this paper, we show that the Toeplitz matrix-vector product (TMVP) representation of modular polynomial multiplication yields better results than Karatsuba and Toom-Cook methods. We present three- and four-way TMVP formulas derived from three- and four-way Toom-Cook algorithms, respectively. We use the four-way TMVP formula to develop an algorithm for multiplication in the ring $\\mathbb{Z}_{2^m}[x]/(x^{256}+1)$.  We implement the proposed algorithm on the ARM Cortex-M4 microcontroller and apply it to Saber, one of the lattice-based finalists of the NIST PQC competition. We compare the results to previous implementations. The TMVP-based multiplication algorithm we propose is $20.83\\%$ faster than the previous algorithm that uses a combination of Toom-Cook, Karatsuba, and schoolbook methods. Our algorithm also speeds up key generation, encapsulation, and decapsulation algorithms of all variants of Saber. The speedups vary between $4.3-39.8\\%$. Moreover, our algorithm requires less memory than the others, except for the memory-optimized implementation of Saber.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“TMVP-based Multiplication for Polynomial Quotient Rings and Application to Saber on ARM Cortex-M4” by İrem Keskinkurt Paksoy, Murat Cenk, Cryptology ePrint Archive, Paper 2020/1302, https://eprint.iacr.org/2020/1302. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2020-10-19T07:42:21Z",
    "updated": "2022-11-09T13:21:28Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/1302.pdf",
    "sha256": "cf071dfee4ff0ad862325ccfbb222ef6d3346a6a00130bcbaed07aa8279dee66",
    "size": 455985,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:14Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/1302/versions/20240114T061314Z.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1302.pdf",
      "size": 455985,
      "sha256": "cf071dfee4ff0ad862325ccfbb222ef6d3346a6a00130bcbaed07aa8279dee66",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2020/1302/versions/20201128T023103Z.pdf",
      "captured_at": "2020-11-28T02:31:03Z",
      "label": "copy captured 2020-11-28",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20201128023103id_/https://eprint.iacr.org/2020/1302.pdf",
      "size": 427055,
      "sha256": "95eda2a2722e3685139fbbc0cad3729a358d670b757a3337a99f79e990483ae0",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260101113503id_/https://eprint.iacr.org/2020/1302.pdf",
      "captured_at": "2026-01-01T11:35:03Z",
      "size": 386560
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/1302.pdf",
      "captured_at": "2024-01-14T06:13:14Z",
      "size": 455985
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/1302,\n      author = {İrem Keskinkurt Paksoy and Murat Cenk},\n      title = {TMVP-based Multiplication for Polynomial Quotient Rings and Application to Saber on ARM Cortex-M4},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/1302},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/1302}\n}"
}
