Efficient Multiplication of Somewhat Small Integers Using Number-Theoretic Transforms

Hanno Becker, Vincent Hwang, Matthias J. Kannwischer, Lorenz Panny, Bo Yin Yang

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

Conventional wisdom purports that FFT-based integer multiplication methods (such as the Schönhage–Strassen algorithm) begin to compete with Karatsuba and Toom–Cook only for integers of several tens of thousands of bits. In this work, we challenge this belief, leveraging recent advances in the implementation of number-theoretic transforms (NTT) stimulated by their use in post-quantum cryptography. We report on implementations of NTT-based integer arithmetic on two Arm Cortex-M CPUs on opposite ends of the performance spectrum: Cortex-M3 and Cortex-M55. Our results indicate that NTT-based multiplication is capable of outperforming the big-number arithmetic implementations of popular embedded cryptography libraries for integers as small as 2048 bits. To provide a realistic case study, we benchmark implementations of the RSA encryption and decryption operations. Our cycle counts on Cortex-M55 are about 10 × lower than on Cortex-M3.

Original languageEnglish
Title of host publicationAdvances in Information and Computer Security - 17th International Workshop on Security, IWSEC 2022, Proceedings
EditorsChen-Mou Cheng, Mitsuaki Akiyama
PublisherSpringer Science and Business Media Deutschland GmbH
Pages3-23
Number of pages21
ISBN (Print)9783031152542
DOIs
StatePublished - 2022
Externally publishedYes
Event17th International Workshop on Security, IWSEC 2022 - Tokyo, Japan
Duration: 31 Aug 20222 Sep 2022

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume13504 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference17th International Workshop on Security, IWSEC 2022
Country/TerritoryJapan
CityTokyo
Period31/08/222/09/22

Keywords

  • Arm processors
  • FFT-based multiplication
  • NTT
  • RSA

Fingerprint

Dive into the research topics of 'Efficient Multiplication of Somewhat Small Integers Using Number-Theoretic Transforms'. Together they form a unique fingerprint.

Cite this