Paper 2025/448

Ciphertext-Ciphertext Matrix Multiplication: Fast for Large Matrices

Jai Hyun Park, CryptoLab Inc.
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. In 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 MB to MB for CC-MM with comparable efficiency. In a single-thread implementation, the C-MT algorithm takes seconds to transpose a encrypted matrix. The CC-MM algorithm requires seconds to multiply two 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 .

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
A minor revision of an IACR publication in EUROCRYPT 2025
Keywords
Homomorphic EncryptionMatrix Multiplication
Contact author(s)
jaihyunp @ gmail com
History
2025-03-11: approved
2025-03-10: received
See all versions
Short URL
https://ia.cr/2025/448
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/448,
      author = {Jai Hyun Park},
      title = {Ciphertext-Ciphertext Matrix Multiplication: Fast for Large Matrices},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/448},
      year = {2025},
      url = {https://eprint.iacr.org/2025/448}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.