Lune

DAC2025Top-tier venue

ALLMod: Exploring Area-Efficiency of LUT-based Large Number Modular Reduction via Hybrid Workloads

Fangxin Liu, Haomin Li, Zongwu Wang, Bo Zhang, Mingzhe Zhang, Shoumeng Yan, Li Jiang, Haibing Guan

Abstract

Modular arithmetic, particularly modular reduction, is widely used in cryptographic applications such as homomorphic encryption (HE) and zero-knowledge proofs (ZKP). High-bit-width operations are crucial for enhancing security; however, they are computationally intensive due to the large number of modular operations required. The lookup-table-based (LUT-based) approach, a “space-for-time” technique, reduces computational load by segmenting the input number into smaller bit groups, pre-computing modular reduction results for each segment, and storing these results in LUTs. While effective, this method incurs significant hardware overhead due to extensive LUT usage. In this paper, we introduce ALLMod, a novel approach that improves the area efficiency of LUT-based largenumber modular reduction by employing hybrid workloads. Inspired by the iterative method, ALLMod splits the bit groups into two distinct workloads, achieving lower area costs without compromising throughput. We first develop a template to facilitate workload splitting and ensure balanced distribution. Then, we conduct design space exploration to evaluate the optimal timing for fusing workload results, enabling us to identify the most efficient design under specific constraints. Extensive evaluations show that ALLMod achieves up to <sup>1</sup>∣.65×\lt sup\gt1\lt/sup\gt|.65 \times and 3×3 \times improvements in area efficiency over conventional LUT-based methods for bit-widths of 128 and 8,192, respectively.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. ModSRAM: Algorithm-Hardware Co-Design for Large Number Modular Multiplication in SRAMJonathan Hao-Cheng Ku, Junyao Zhang, Haoxuan Shan, Saichand Samudrala et al.DAC 2024 · 1 citation
  2. Improved Radix-Based Approximate Homomorphic Encryption for Large Integers via Lightweight Bootstrapped Digit CarryGyeongwon Cha, Dongjin Park, Joon-Woo LeeEUROCRYPT 2026 · 10 citations
  3. MHz2k: MPC from HE over Z2k\mathbb {Z}_{2^k} with New Packing, Simpler Reshare, and Better ZKPJung Hee Cheon, Dongwoo Kim, Keewoo LeeCRYPTO 2021 · 15 citations
  4. ZHE: Efficient Zero-Knowledge Proofs for HE EvaluationsZhelei Zhou, Yun Li, Yuchen Wang, Zhaomin Yang et al.S&P 2025
  5. VROOM: Accelerating (Almost All) Number-Theoretic Cryptography Using Vectorization and the Residue Number SystemSimon Langowski, Kaiwen He, Srinivas DevadasUSENIX Security 2026
Dusk over the sea between two cliffs drawn in fine vertical lines