{
  "id": "2025/512",
  "url": "https://opencryptology.org/2025/512",
  "original_url": "https://eprint.iacr.org/2025/512",
  "title": "Optimizing AES-GCM on ARM Cortex-M4: A Fixslicing and FACE-Based Approach",
  "authors": [
    "Hyunjun Kim",
    "Hwajeong Seo"
  ],
  "affiliations": null,
  "abstract": "The Advanced Encryption Standard (AES) in Galois/Counter Mode (GCM) delivers both confidentiality and integrity yet poses performance and security challenges on resource-limited microcontrollers. In this paper, we present an optimized AES-GCM implementation for the ARM Cortex-M4 that combines Fixslicing AES with the FACE (Fast AES-CTR Encryption) strategy, significantly reducing redundant computations in AES-CTR. We further examine two GHASH implementations—a 4-bit Table-based approach and a Karatsuba-based constant-time variant—to balance speed, memory usage, and resistance to timing attacks. Our evaluations on an STM32F4 microcontroller show that Fixslicing+FACE reduces AES-128 GCTR cycle counts by up to 19.41\\%, while the Table-based GHASH achieves nearly double the speed of its Karatsuba counterpart. These results confirm that, with the right mix of bitslicing optimizations, counter-mode caching, and lightweight polynomial multiplication, secure and efficient AES-GCM can be attained even on low-power embedded devices.",
  "category": "Implementation",
  "license": {
    "code": "CC0",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/",
    "label": "CC0 1.0",
    "attribution": "“Optimizing AES-GCM on ARM Cortex-M4: A Fixslicing and FACE-Based Approach” by Hyunjun Kim, Hwajeong Seo, Cryptology ePrint Archive, Paper 2025/512, https://eprint.iacr.org/2025/512. Licensed under CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-03-19T01:35:33Z",
    "updated": "2025-03-19T01:35:33Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/512.pdf",
    "sha256": "c84fc6b1227b3c11a811e7f77dc5cec545eca857b5c41cb3e005c85bed5a86fd",
    "size": 878074,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/512/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/2025/512.pdf",
      "size": 878074,
      "sha256": "c84fc6b1227b3c11a811e7f77dc5cec545eca857b5c41cb3e005c85bed5a86fd",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/512.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 878074
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251209111006id_/https://eprint.iacr.org/2025/512.pdf",
      "captured_at": "2025-12-09T11:10:06Z",
      "size": 782467
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/512,\n      author = {Hyunjun Kim and Hwajeong Seo},\n      title = {Optimizing AES-GCM on ARM Cortex-M4: A Fixslicing and FACE-Based Approach},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/512},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/512}\n}"
}
