LaMoS: Enabling Efficient Large Number Modular Multiplication through SRAM-based CiM Acceleration
Haomin Li, Fangxin Liu, Chenyang Guan, Zongwu Wang, Li Jiang, Haibing Guan

TL;DR
LaMoS is a novel SRAM-based computing-in-memory design that significantly accelerates large-number modular multiplication, crucial for cryptography, by improving scalability and efficiency over existing methods.
Contribution
We introduce LaMoS, a scalable SRAM-based CiM architecture optimized for high bit-width modular multiplication, addressing limitations of prior low-bit and inefficient large-number approaches.
Findings
LaMoS achieves a 7.02× speedup over existing SRAM-based CiM designs.
It reduces scaling costs for high bit-width modular multiplication.
The design improves performance for cryptographic applications like ECC and RSA.
Abstract
Barrett's algorithm is one of the most widely used methods for performing modular multiplication, a critical nonlinear operation in modern privacy computing techniques such as homomorphic encryption (HE) and zero-knowledge proofs (ZKP). Since modular multiplication dominates the processing time in these applications, computational complexity and memory limitations significantly impact performance. Computing-in-Memory (CiM) is a promising approach to tackle this problem. However, existing schemes currently suffer from two main problems: 1) Most works focus on low bit-width modular multiplication, which is inadequate for mainstream cryptographic algorithms such as elliptic curve cryptography (ECC) and the RSA algorithm, both of which require high bit-width operations; 2) Recent efforts targeting large number modular multiplication rely on inefficient in-memory logic operations, resulting…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCryptography and Residue Arithmetic · Cryptography and Data Security · Polynomial and algebraic computation
