ModSRAM: Algorithm-Hardware Co-Design for Large Number Modular Multiplication in SRAM
Jonathan Hao-Cheng Ku, Junyao Zhang, Haoxuan Shan, Saichand Samudrala, Jiawen Wu, Qilin Zheng, Ziru Li, Jeyavijayan Rajendran, Yiran Chen
Abstract
Elliptic curve cryptography (ECC) is widely used in security applications such as public key cryptography (PKC) and zero-knowledge proofs (ZKP). ECC is composed of modular arithmetic, where modular multiplication takes most of the processing time. Computational complexity and memory constraints of ECC limit the performance. Therefore, hardware acceleration on ECC is an active field of research. Processing-in-memory (PIM) is a promising approach to tackle this problem. In this work, we design ModSRAM, the first 8T SRAM PIM architecture to compute large-number modular multiplication efficiently. In addition, we propose R4CSA-LUT, a new algorithm that reduces the cycles for an interleaved algorithm and eliminates carry propagation for addition based on look-up tables (LUT). ModSRAM is co-designed with R4CSA-LUT to support modular multiplication and data reuse in memory with 52% cycle reduction compared to prior works with only 32% area overhead.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 9dfdc182-acc7-48cb-b310-560fcf09ba7dBuilds on4
- PipeZK: Accelerating Zero-Knowledge Proof with a Pipelined ArchitectureYe Zhang, Shuo Wang, Xian Zhang, Jiangbin Dong et al.ISCA 2021 · 87 citations
- Bit Parallel 6T SRAM In-memory Computing with Reconfigurable Bit-PrecisionKyeongho Lee, Jinho Jeong, Sungsoo Cheon, Woong Choi et al.DAC 2020 · 71 citations
- CryptoPIM: In-memory Acceleration for Lattice-based Cryptographic HardwareHamid Nejatollahi, Saransh Gupta, Mohsen Imani, Tajana Simunic Rosing et al.DAC 2020 · 63 citations
- BP-NTT: Fast and Compact in-SRAM Number Theoretic Transform with Bit-Parallel Modular MultiplicationJingyao Zhang, Mohsen Imani, Elaheh SadrediniDAC 2023 · 23 citations
Related papers
- PIMPAL: Accelerating LLM Inference on Edge Devices via In-DRAM Arithmetic LookupYoonho Jang, Hyeongjun Cho, Yesin Ryu, Jungrae Kim et al.DAC 2025 · 6 citations
- ALLMod: Exploring Area-Efficiency of LUT-based Large Number Modular Reduction via Hybrid WorkloadsFangxin Liu, Haomin Li, Zongwu Wang, Bo Zhang et al.DAC 2025 · 1 citation
- VROOM: Accelerating (Almost All) Number-Theoretic Cryptography Using Vectorization and the Residue Number SystemSimon Langowski, Kaiwen He, Srinivas DevadasUSENIX Security 2026
- ReCG: ReRAM-Accelerated Sparse Conjugate GradientMingjia Fan, Xiaoming Chen, Dechuang Yang, Zhou Jin et al.DAC 2024 · 5 citations
- Accelerating Elliptic Curve Digital Signature Algorithms on GPUsZonghao Feng, Qipeng Xie, Qiong Luo, Yujie Chen et al.SC 2022 · 6 citations
