{
  "id": "2020/012",
  "url": "https://opencryptology.org/2020/012",
  "original_url": "https://eprint.iacr.org/2020/012",
  "title": "Cortex-M4 Optimizations for \\{R,M\\}LWE Schemes",
  "authors": [
    "Erdem Alkim",
    "Yusuf Alper Bilgin",
    "Murat Cenk",
    "François Gérard"
  ],
  "affiliations": null,
  "abstract": "This paper proposes various optimizations for lattice-based key-encapsulation mechanisms (KEM) using the Number Theoretic Transform (NTT) on the popular ARM Cortex-M4 microcontroller. Improvements come in the form of a faster code using more efficient modular reductions, small polynomial multiplications and more aggressive layer merging in the NTT but also reduced stack usage. We test those optimizations in software implementations of Kyber and NewHope, both round 2 candidates in the NIST post-quantum project and also NewHope-Compact, a recently proposed derivative of NewHope with smaller parameters. Our software is the first implementation of NewHope-Compact on Cortex-M4 and shows speed improvements over previous high-speed implementations on the same platform for Kyber and NewHope . Moreover, it gives a common framework to compare those algorithms with the same level of optimization. Our results show that NewHope-Compact is the faster algorithm, followed by Kyber and finally NewHope that seems to suffer from its large modulus and error distribution for small dimensions.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Cortex-M4 Optimizations for \\{R,M\\}LWE Schemes” by Erdem Alkim, Yusuf Alper Bilgin, Murat Cenk, François Gérard, Cryptology ePrint Archive, Paper 2020/012, https://eprint.iacr.org/2020/012. 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-01-06T08:35:30Z",
    "updated": "2020-12-23T07:04:30Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2020/012.pdf",
    "sha256": "9a04f096b023b76892f8cafe64feb305a1f1981ddb50420f7bf901e93ac379dc",
    "size": 470508,
    "source": "wayback",
    "source_date": "2026-02-12T11:43:46Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2020/012/versions/20260212T114346Z.pdf",
      "captured_at": "2026-02-12T11:43:46Z",
      "label": "copy captured 2026-02-12",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260212114346id_/https://eprint.iacr.org/2020/012.pdf",
      "size": 470508,
      "sha256": "9a04f096b023b76892f8cafe64feb305a1f1981ddb50420f7bf901e93ac379dc",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260212114346id_/https://eprint.iacr.org/2020/012.pdf",
      "captured_at": "2026-02-12T11:43:46Z",
      "size": 471811
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2020/012.pdf",
      "captured_at": "2020-04-17T10:36:14Z",
      "size": 470508
    }
  ],
  "bibtex": "@misc{cryptoeprint:2020/012,\n      author = {Erdem Alkim and Yusuf Alper Bilgin and Murat Cenk and François Gérard},\n      title = {Cortex-M4 Optimizations for \\{R,M\\}LWE Schemes},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2020/012},\n      year = {2020},\n      url = {https://eprint.iacr.org/2020/012}\n}"
}
