{
  "id": "2025/448",
  "url": "https://opencryptology.org/2025/448",
  "original_url": "https://eprint.iacr.org/2025/448",
  "title": "Ciphertext-Ciphertext Matrix Multiplication: Fast for Large Matrices",
  "authors": [
    "Jai Hyun Park"
  ],
  "affiliations": null,
  "abstract": "Matrix multiplication of two encrypted matrices (CC-MM) is a key challenge for privacy-preserving machine learning applications. As modern machine learning models focus on scalability, fast CC-MM on large datasets is increasingly in demand.\n\nIn this work, we present a CC-MM algorithm for large matrices. The algorithm consists of plaintext matrix multiplications (PP-MM) and ciphertext matrix transpose algorithms (C-MT). We propose a fast C-MT algorithm, which is computationally inexpensive compared to PP-MM. By leveraging high-performance BLAS libraries to optimize PP-MM, we implement large-scale CC-MM with substantial performance improvements. Furthermore, we propose lightweight algorithms, significantly reducing the key size from $1\\ 960$ MB to $1.57$ MB for CC-MM with comparable efficiency.\n\nIn a single-thread implementation, the C-MT algorithm takes $0.76$ seconds to transpose a $2\\ 048\\times 2\\ 048$ encrypted matrix. The CC-MM algorithm requires $85.2$ seconds to multiply two $4\\ 096\\times 4\\ 096$ encrypted matrices. For large matrices, our algorithm outperforms the state-of-the-art CC-MM method from Jiang-Kim-Lauter-Song [CCS'18] by a factor of over $800$.",
  "category": "Public-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Ciphertext-Ciphertext Matrix Multiplication: Fast for Large Matrices” by Jai Hyun Park, Cryptology ePrint Archive, Paper 2025/448, https://eprint.iacr.org/2025/448. 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-03-10T07:30:23Z",
    "updated": "2025-12-22T13:07:10Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/448.pdf",
    "sha256": "5303087cae3c92a662e053b2a20c89256ad4f20c0544c3dd60019481b44e6c8c",
    "size": 905998,
    "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/448/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/448.pdf",
      "size": 905998,
      "sha256": "5303087cae3c92a662e053b2a20c89256ad4f20c0544c3dd60019481b44e6c8c",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/448/versions/20250316T084903Z.pdf",
      "captured_at": "2025-03-16T08:49:03Z",
      "label": "copy captured 2025-03-16",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250316084903id_/https://eprint.iacr.org/2025/448.pdf",
      "size": 906018,
      "sha256": "0ee21dcc44b44dc9cd24a5efd60887b548a83b804c591bf7aed7a8440c839d40",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/448.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 905998
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260305074108id_/https://eprint.iacr.org/2025/448.pdf",
      "captured_at": "2026-03-05T07:41:08Z",
      "size": 864983
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/448,\n      author = {Jai Hyun Park},\n      title = {Ciphertext-Ciphertext Matrix Multiplication: Fast for Large Matrices},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/448},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/448}\n}"
}
