{
  "id": "2024/195",
  "url": "https://opencryptology.org/2024/195",
  "original_url": "https://eprint.iacr.org/2024/195",
  "title": "PQC-AMX: Accelerating Saber and FrodoKEM on the Apple M1 and M3 SoCs",
  "authors": [
    "Décio Luiz Gazzoni Filho",
    "Guilherme Brandão",
    "Gora Adj",
    "Arwa Alblooshi",
    "Isaac A. Canales-Martínez",
    "Jorge Chávez-Saab",
    "Julio López"
  ],
  "affiliations": null,
  "abstract": "As CPU performance is unable to keep up with the dramatic growth of the past few decades, CPU architects are looking into domain-specific architectures to accelerate certain tasks. A recent trend is the introduction of matrix-multiplication accelerators to CPUs by manufacturers such as IBM, Intel and ARM, some of which have not launched commercially yet. Apple's systems-on-chip (SoCs) for its mobile phones, tablets and personal computers include a proprietary, undocumented CPU-coupled matrix multiplication coprocessor called AMX. In this paper, we leverage AMX to accelerate the post-quantum lattice-based cryptosystems Saber and FrodoKEM, and benchmark their performance on Apple M1 and M3 SoCs. We propose a variant of the Toeplitz Matrix-Vector Product algorithm for polynomial multiplication, which sets new speed records for Saber using AMX (up to 13% for the main KEM operations, and 151% for matrix-vector multiplication of polynomials). For FrodoKEM, we set new speed records with our AMX implementation (up to 21% for the main KEM operations, and 124% for matrix multiplication, with even greater improvements for $4 \\times$-batching). Such speedups are relative to our optimized NEON implementation, also presented here, which improves upon the state-of-the-art implementation for ARMv8 CPUs.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“PQC-AMX: Accelerating Saber and FrodoKEM on the Apple M1 and M3 SoCs” by Décio Luiz Gazzoni Filho, Guilherme Brandão, Gora Adj, Arwa Alblooshi, Isaac A. Canales-Martínez, Jorge Chávez-Saab, Julio López, Cryptology ePrint Archive, Paper 2024/195, https://eprint.iacr.org/2024/195. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-02-09T03:04:20Z",
    "updated": "2024-02-09T03:04:20Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/195.pdf",
    "sha256": "c31818bf230245829a2b6f9d7fd4a2d355bf2832605cf061bbf648e3f7a1d9e9",
    "size": 408490,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/195/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/195.pdf",
      "size": 408490,
      "sha256": "c31818bf230245829a2b6f9d7fd4a2d355bf2832605cf061bbf648e3f7a1d9e9",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260820005258id_/https://eprint.iacr.org/2024/195.pdf",
      "captured_at": "2026-08-20T00:52:58Z",
      "size": 409810
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/195.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 408490
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/195,\n      author = {Décio Luiz Gazzoni Filho and Guilherme Brandão and Gora Adj and Arwa Alblooshi and Isaac A. Canales-Martínez and Jorge Chávez-Saab and Julio López},\n      title = {PQC-AMX: Accelerating Saber and FrodoKEM on the Apple M1 and M3 SoCs},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/195},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/195}\n}"
}
