{
  "id": "2023/541",
  "url": "https://opencryptology.org/2023/541",
  "original_url": "https://eprint.iacr.org/2023/541",
  "title": "Algorithmic Views of Vectorized Polynomial Multipliers for NTRU and NTRU Prime (Long Paper)",
  "authors": [
    "Han-Ting Chen",
    "Yi-Hua Chung",
    "Vincent Hwang",
    "Chi-Ting Liu",
    "Bo-Yin Yang"
  ],
  "affiliations": null,
  "abstract": "This paper explores the design space of vector-optimized polynomial multiplications in the lattice-based key-encapsulation mechanisms NTRU and NTRU Prime. Since NTRU and NTRU Prime do not support straightforward applications of number– theoretic transforms, the state-of-the-art vector code either resorted to Toom–Cook, or introduced various techniques for coefficient ring extensions. All these techniques lead to a large number of small-degree polynomial multiplications, which is the bottleneck in our experiments.\nFor NTRU Prime, we show how to reduce the number of small-degree polynomial multiplications to nearly 1/4 times compared to the previous vectorized code with the same functionality. Our transformations are based on careful choices of FFTs, including Good–Thomas, Rader’s, Schönhage’s, and Bruun’s FFTs. For NTRU, we show how to deploy Toom-5 with 3-bit losses.\nFurthermore, we show that the Toeplitz matrix–vector product naturally translates into efficient implementations with vector-by-scalar multiplication instructions which do not appear in all prior vector-optimized implementations.\nWe choose the ARM Cortex-A72 CPU which implements the Armv8-A architecture for experiments, because of its wide uses in smartphones, and also the Neon vector instruction set implementing vector-by-scalar multiplications that do not appear in most other vector instruction sets like Intel’s AVX2.\nEven for platforms without vector-by-scalar multiplications, we expect significant improvements compared to the state of the art, since our transformations reduce the number of multiplication instructions by a large margin.\nCompared to the state-of-the-art optimized implementations, we achieve 2.18× and 6.7× faster polynomial multiplications for NTRU and NTRU Prime, respectively. For full schemes, we additionally vectorize the polynomial inversions, sorting network, and encoding/decoding subroutines in NTRU and NTRU Prime. For ntruhps2048677, we achieve 7.67×, 2.48×, and 1.77× faster key generation, encapsulation, and decapsulation, respectively. For ntrulpr761, we achieve 3×, 2.87×, and 3.25× faster key generation, encapsulation, and decapsulation, respectively. For sntrup761, there are no previously optimized implementations and we significantly outperform the reference implementation.",
  "category": "Implementation",
  "license": {
    "code": "CC0",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/",
    "label": "CC0 1.0",
    "attribution": "“Algorithmic Views of Vectorized Polynomial Multipliers for NTRU and NTRU Prime (Long Paper)” by Han-Ting Chen, Yi-Hua Chung, Vincent Hwang, Chi-Ting Liu, Bo-Yin Yang, Cryptology ePrint Archive, Paper 2023/541, https://eprint.iacr.org/2023/541. Licensed under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-04-16T13:47:04Z",
    "updated": "2023-08-08T05:20:06Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/541.pdf",
    "sha256": "c2d981ef5798aeaeb9450ded289f13996ffa704ca6e5da8d540322f9a6269b1d",
    "size": 876339,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/541/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/541.pdf",
      "size": 876339,
      "sha256": "c2d981ef5798aeaeb9450ded289f13996ffa704ca6e5da8d540322f9a6269b1d",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/541/versions/20230522T213907Z.pdf",
      "captured_at": "2023-05-22T21:39:07Z",
      "label": "copy captured 2023-05-22",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230522213907id_/https://eprint.iacr.org/2023/541.pdf",
      "size": 874992,
      "sha256": "878e2931b0cc4ec99b58beff449571f0db6bc7d6bb320c8c355565ceefb91997",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2023/541/versions/20230419T084711Z.pdf",
      "captured_at": "2023-04-19T08:47:11Z",
      "label": "copy captured 2023-04-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230419084711id_/https://eprint.iacr.org/2023/541.pdf",
      "size": 874771,
      "sha256": "e46714df4d39cbb44095f7d4e8440beb92586d61682480445379f1f1c8f6541b",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260105095728id_/https://eprint.iacr.org/2023/541.pdf",
      "captured_at": "2026-01-05T09:57:28Z",
      "size": 865651
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/541.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 876339
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/541,\n      author = {Han-Ting Chen and Yi-Hua Chung and Vincent Hwang and Chi-Ting Liu and Bo-Yin Yang},\n      title = {Algorithmic Views of Vectorized Polynomial Multipliers for NTRU and NTRU Prime (Long Paper)},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/541},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/541}\n}"
}
