skip to main content
10.1145/3508352.3549414acmconferencesArticle/Chapter ViewAbstractPublication PagesiccadConference Proceedingsconference-collections
research-article
Public Access

Fast and Compact Interleaved Modular Multiplication Based on Carry Save Addition

Published: 22 December 2022 Publication History

Abstract

Improving fully homomorphic encryption computation by designing specialized hardware is an active topic of research. The most prominent encryption schemes operate on long polynomials requiring many concurrent modular multiplications of very big numbers. Thus, it is crucial to use many small and efficient multipliers. Interleaved and Montgomery iterative multipliers are the best candidates for the task. Interleaved designs, however, suffer from longer latency as they require a number comparison within each iteration; Montgomery designs, on the other hand, need extra conversion of the operands or the result. In this work, we propose a novel hardware design that combines the best of both worlds: Exhibiting the carry save addition of Montgomery designs without the need for any domain conversions. Experimental results demonstrate improved latency-area product efficiency by up to 47% when compared to the standard Interleaved multiplier for large arithmetic word sizes.

References

[1]
S. Asif, O. Andersson, J. Rodrigues, and Y. Kong. 65-nm cmos low-energy rns modular multiplier for elliptic-curve cryptography. IET Computers Digital Techniques, 12(2):62--67, 2018.
[2]
Paul Barrett. Implementing the rivest shamir and adleman public key encryption algorithm on a standard digital signal processor. In Andrew M. Odlyzko, editor, Advances in Cryptology --- CRYPTO' 86, pages 311--323, Berlin, Heidelberg, 1987. Springer Berlin Heidelberg.
[3]
G. Blakely. A computer algorithm for calculating the product ab modulo m. IEEE Transactions on Computers, 32(5):497--500, 1983.
[4]
Richard Boateng Nti and Kwangki Ryoo. Asic design of low area rsa cryptocore based on montgomery multiplier. International Journal of Engineering and Technology, 7:278--283, 08 2018.
[5]
Zvika Brakerski, Craig Gentry, and Vinod Vaikuntanathan. Fully homomorphic encryption without bootstrapping. Cryptology ePrint Archive, Report 2011/277, 2011. https://eprint.iacr.org/2011/277.
[6]
Ernest F. Brickell. A fast modular multiplication algorithm with applications to two key cryptography. Advances in Cryptology: Proceedings of CRYPTO, pages 51--60, 1982.
[7]
Hao Chen, Kim Laine, and Peter Rindal. Fast private set intersection from homomorphic encryption. In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, CCS '17, page 1243--1255, New York, NY, USA, 2017. Association for Computing Machinery.
[8]
Jung Hee Cheon, Andrey Kim, Miran Kim, and Yongsoo Song. Homomorphic encryption for arithmetic of approximate numbers. In Tsuyoshi Takagi and Thomas Peyrin, editors, Advances in Cryptology - ASIACRYPT 2017, pages 409--437, Cham, 2017. Springer International Publishing.
[9]
Eduardo Chielle, Homer Gamil, and Michail Maniatakos. Real-time private membership test using homomorphic encryption. In 2021 Design, Automation Test in Europe Conference Exhibition (DATE), pages 1282--1287, 2021.
[10]
Eduardo Chielle, Oleg Mazonka, Homer Gamil, and Michail Maniatakos. Accelerating fully homomorphic encryption by bridging modular and bit-level arithmetic, 2022.
[11]
Jinnan Ding and Shuguo Li. A modular multiplier implemented with truncated multiplication. IEEE Transactions on Circuits and Systems II: Express Briefs, 65(11):1713--1717, 2017.
[12]
Yarkın Doröz, Erdinç Öztürk, and Berk Sunar. Accelerating fully homomorphic encryption in hardware. IEEE Transactions on Computers, 64(6):1509--1521, 2014.
[13]
Nathan Dowlin, Ran Gilad-Bachrach, Kim Laine, Kristin Lauter, Michael Naehrig, and John Wernsing. Cryptonets: Applying neural networks to encrypted data with high throughput and accuracy. Technical Report MSR-TR-2016-3, February 2016.
[14]
Junfeng Fan and Frederik Vercauteren. Somewhat practical fully homomorphic encryption. Cryptology ePrint Archive, Report 2012/144, 2012. https://eprint.iacr.org/2012/144.
[15]
Craig Gentry. A fully homomorphic encryption scheme, volume 20. Stanford university Stanford, 2009.
[16]
Craig Gentry and Shai Halevi. Implementing gentry's fully-homomorphic encryption scheme. In Annual international conference on the theory and applications of cryptographic techniques, pages 129--148. Springer, 2011.
[17]
Gamze Gürsoy, Eduardo Chielle, Charlotte M. Brannon, Michail Maniatakos, and Mark Gerstein. Privacy-preserving genotype imputation with fully homomorphic encryption. Cell Systems, 13(2):173--182.e3, 2022.
[18]
Miran Kim and Kristin Lauter. Private genome analysis through homomorphic encryption. BMC medical informatics and decision making, 15, December 2015.
[19]
M. Knezevic, F. Vercauteren, and I. Verbauwhede. Faster interleaved modular multiplication based on barrett and montgomery reduction methods. IEEE Transactions on Computers, 59(12):1715--1721, 2010.
[20]
M. Kochanski. A new method of serial modular multiplication. Journal of Reference (jrxv.net), 17, 2003.
[21]
S. Kuang, K. Wu, and R. Lu. Low-cost high-performance vlsi architecture for montgomery modular multiplication. IEEE Transactions on Very Large Scale Integration (VLSI) Systems, 24(2):434--443, 2016.
[22]
Vadim Lyubashevsky, Chris Peikert, and Oded Regev. On ideal lattices and learning with errors over rings. J. ACM, 60(6), nov 2013.
[23]
Oleg Mazonka. Modular multiplication without carry propagation (algorithm description). Pr May 2021.
[24]
Modmulcs. https://github.com/momalab/ModmulCS, 2022. MoMA lab, NYUAD, Abu Dhabi.
[25]
Peter L. Montgomery. Modular multiplication without trial division. Mathematics of Computation, 44(170):519--521, 1985.
[26]
Mohammed Nabeel, Mohammed Ashraf, Eduardo Chielle, Nektarios G Tsoutsos, and Michail Maniatakos. Cophee: Co-processor for partially homomorphic encrypted execution. In 2019 IEEE International Symposium on Hardware Oriented Security and Trust (HOST), pages 131--140. IEEE, 2019.
[27]
Kazuo Sakiyama, Miroslav Knežević, Junfeng Fan, Bart Preneel, and Ingrid Verbauwhede. Tripartite modular multiplication. Integration, 44:259--269, 09 2011.
[28]
S. Wang, W. Lin, J. Ye, and M. Shieh. Fast scalable radix-4 montgomery modular multiplier. In 2012 IEEE International Symposium on Circuits and Systems (ISCAS), pages 3049--3052, 2012.

Cited By

View all
  • (2023)Design Space Exploration of Modular Multipliers for ASIC FHE accelerators2023 24th International Symposium on Quality Electronic Design (ISQED)10.1109/ISQED57927.2023.10129292(1-8)Online publication date: 5-Apr-2023
  • (2023)BP-NTT: Fast and Compact in-SRAM Number Theoretic Transform with Bit-Parallel Modular Multiplication2023 60th ACM/IEEE Design Automation Conference (DAC)10.1109/DAC56929.2023.10247691(1-6)Online publication date: 9-Jul-2023

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
ICCAD '22: Proceedings of the 41st IEEE/ACM International Conference on Computer-Aided Design
October 2022
1467 pages
ISBN:9781450392174
DOI:10.1145/3508352
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Sponsors

In-Cooperation

  • IEEE-EDS: Electronic Devices Society
  • IEEE CAS
  • IEEE CEDA

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 22 December 2022

Permissions

Request permissions for this article.

Check for updates

Author Tag

  1. modular multiplication

Qualifiers

  • Research-article

Funding Sources

Conference

ICCAD '22
Sponsor:
ICCAD '22: IEEE/ACM International Conference on Computer-Aided Design
October 30 - November 3, 2022
California, San Diego

Acceptance Rates

Overall Acceptance Rate 457 of 1,762 submissions, 26%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)178
  • Downloads (Last 6 weeks)14
Reflects downloads up to 28 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2023)Design Space Exploration of Modular Multipliers for ASIC FHE accelerators2023 24th International Symposium on Quality Electronic Design (ISQED)10.1109/ISQED57927.2023.10129292(1-8)Online publication date: 5-Apr-2023
  • (2023)BP-NTT: Fast and Compact in-SRAM Number Theoretic Transform with Bit-Parallel Modular Multiplication2023 60th ACM/IEEE Design Automation Conference (DAC)10.1109/DAC56929.2023.10247691(1-6)Online publication date: 9-Jul-2023

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media