Paper 2024/2093
Exploring Large Integer Multiplication for Cryptography Targeting In-Memory Computing
Abstract
Emerging cryptographic systems such as Fully Homomorphic Encryption (FHE) and Zero-Knowledge Proofs (ZKP) are computation- and data-intensive. FHE and ZKP implementations in software and hardware largely rely on the von Neumann architecture, where a significant amount of energy is lost on data movements. A promising computing paradigm is computing in memory (CIM), which enables computations to occur directly within memory, thereby reducing data movements and energy consumption. However, efficiently performing large integer multiplications - critical in FHE and ZKP - is an open question, as existing CIM methods are limited to small operand sizes. In this work, we address this question by exploring advanced algorithmic approaches for large integer multiplication, identifying the Karatsuba algorithm as the most effective for CIM applications. Thereafter, we design the first Karatsuba multiplier for resistive CIM crossbars. Our multiplier uses a three-stage pipeline to enhance throughput and, additionally, balances memory endurance with efficient array sizes. Compared to existing CIM multiplication methods, when scaled up to the bit widths required in ZKP and FHE, our design achieves up to 916x in throughput and 281x in area-time product improvements.
Metadata
- Available format(s)
- Category
- Implementation
- Publication info
- Published elsewhere. DATE 2025
- Keywords
- Computing In MemoryLarge Integer MultiplicationKaratuba Multiplication
- Contact author(s)
-
florian krieger @ tugraz at
florian hirner @ tugraz at
sujoy sinharoy @ tugraz at - History
- 2025-01-01: approved
- 2024-12-30: received
- See all versions
- Short URL
- https://ia.cr/2024/2093
- License
-
CC BY
BibTeX
@misc{cryptoeprint:2024/2093, author = {Florian Krieger and Florian Hirner and Sujoy Sinha Roy}, title = {Exploring Large Integer Multiplication for Cryptography Targeting In-Memory Computing}, howpublished = {Cryptology {ePrint} Archive, Paper 2024/2093}, year = {2024}, url = {https://eprint.iacr.org/2024/2093} }