{
  "id": "2025/2171",
  "url": "https://opencryptology.org/2025/2171",
  "original_url": "https://eprint.iacr.org/2025/2171",
  "title": "Efficient GHASH and POLYVAL Implementation Using Polynomial Multiplication: Optimized 64-bit Decomposition with Bit-Reversal Elimination",
  "authors": [
    "Mamone Tarsha Kurdi",
    "Niels Möller"
  ],
  "affiliations": null,
  "abstract": "We present an optimized implementation of the GHASH and POLYVAL authentication algorithms used in AES-GCM and AES-GCM-SIV that eliminates the computational overhead of bit-reversal operations. Our approach computes these universal hash functions directly in bit-reversed representation, matching the native format used by carry-less multiplication instructions available on modern processors. The algorithm exploits 64-bit polynomial primitives and parallel execution on superscalar architectures. We achieve performance of 0.34 cycles/byte on POWER9 (35% faster than OpenSSL) and 0.33 cycles/byte on Intel Comet Lake (11% faster than OpenSSL), representing a 32-fold improvement over table-based software implementations. Combined with hardware accelerated AES, the complete AES-GCM mode achieves 1.12 cycles/byte throughput. For platforms with hardware carry-less multiplication (x86 PCLMULQDQ, ARM PMULL, PowerPC vpmsumd), the R/F algorithm achieves ∼1.7× speedup over Karatsuba. For portable software implementations without hardware acceleration, we demonstrate that Karatsuba remains 1.4-1.6× faster due to reduced multiplication count.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Efficient GHASH and POLYVAL Implementation Using Polynomial Multiplication: Optimized 64-bit Decomposition with Bit-Reversal Elimination” by Mamone Tarsha Kurdi, Niels Möller, Cryptology ePrint Archive, Paper 2025/2171, https://eprint.iacr.org/2025/2171. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-11-29T19:01:24Z",
    "updated": "2025-11-29T19:01:24Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/2171.pdf",
    "sha256": "9f118c526cb0f399707edb4a7c80c2c1f550e9663f98d0f3f15821ec5b06399c",
    "size": 275365,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/2171/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/2171.pdf",
      "size": 275365,
      "sha256": "9f118c526cb0f399707edb4a7c80c2c1f550e9663f98d0f3f15821ec5b06399c",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/2171.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 275365
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260421052051id_/https://eprint.iacr.org/2025/2171.pdf",
      "captured_at": "2026-04-21T05:20:51Z",
      "size": 228866
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/2171,\n      author = {Mamone Tarsha Kurdi and Niels Möller},\n      title = {Efficient GHASH and POLYVAL Implementation Using Polynomial Multiplication: Optimized 64-bit Decomposition with Bit-Reversal Elimination},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/2171},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/2171}\n}"
}
