Paper 2024/1502

MatriGear: Accelerating Authenticated Matrix Triple Generation with Scalable Prime Fields via Optimized HE Packing

Hyunho Cha
Intak Hwang, Seoul National University
Seonhong Min, Seoul National University
Jinyeong Seo, Seoul National University
Yongsoo Song, Seoul National University
Abstract

The SPDZ protocol family is a popular choice for secure multi-party computation (MPC) in a dishonest majority setting with active adversaries. Over the past decade, a series of studies have focused on improving its offline phase, where special additive shares called authenticated triples are gener- ated. However, to accommodate recent demands for matrix operations in secure machine learning and big integer arith- metic in distributed RSA key generation, updates to the offline phase are required. In this work, we propose a new protocol for the SPDZ offline phase, MatriGear, which improves upon the previous state-of-the-art construction, TopGear (Baum et al., SAC ’19), and its variant for matrix triples (Chen et al., Asiacrypt ’20). Our protocol aims to achieve a speedup in matrix triple generation and support for larger prime fields up to 4096 bits in size. To achieve this, we devise a variant of the BFV scheme and a new homomorphic matrix multiplication algorithm optimized for our purpose. As a result, our protocol achieves about 3.6x speedup for generating scalar triples in a 1024-bit prime field and about 34x speedup for generating 128x128 matrix triples. In addition, we reduce the size of evaluation keys from 27.4 GB to 0.22 GB and the communication cost for MAC key generation from 816 MB to 16.6 MB.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Published elsewhere. Minor revision. IEEE S&P 2025
Keywords
Homomorphic EncryptionMatrix TriplesSPDZTopGear
Contact author(s)
aiden132435 @ cml snu ac kr
intak hwang @ snu ac kr
minsh @ snu ac kr
jinyeong seo @ snu ac kr
y song @ snu ac kr
History
2025-04-18: revised
2024-09-25: received
See all versions
Short URL
https://ia.cr/2024/1502
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2024/1502,
      author = {Hyunho Cha and Intak Hwang and Seonhong Min and Jinyeong Seo and Yongsoo Song},
      title = {{MatriGear}: Accelerating Authenticated Matrix Triple Generation with Scalable Prime Fields via Optimized {HE} Packing},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/1502},
      year = {2024},
      url = {https://eprint.iacr.org/2024/1502}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.