Efficient implementation of modular multiplication over 192-bit NIST prime for 8-bit AVR-based sensor node

Dong won Park, Seokhie Hong, Nam Su Chang, Sung Min Cho

Research output: Contribution to journalArticlepeer-review

2 Citations (Scopus)

Abstract

Modular multiplication is one of the most time-consuming operations that account for almost 80% of computational overhead in a scalar multiplication in elliptic curve cryptography. In this paper, we present a new speed record for modular multiplication over 192-bit NIST prime P-192 on 8-bit AVR ATmega microcontrollers. We propose a new integer representation named Range Shifted Representation (RSR) which enables an efficient merging of the reduction operation into the subtractive Karatsuba multiplication. This merging results in a dramatic optimization in the intermediate accumulation of modular multiplication by reducing a significant amount of unnecessary memory access as well as the number of addition operations. Our merged modular multiplication on RSR is designed to have two duplicated groups of 96-bit intermediate values during accumulation. Hence, only one accumulation of the group is required and the result can be used twice. Consequently, we significantly reduce the number of load/store instructions which are known to be one of the most time-consuming operations for modular multiplication on constrained devices. Our implementation requires only 2888 cycles for the modular multiplication of 192-bit integers and outperforms the previous best result for modular multiplication over P-192 by a factor of 17%. In addition, our modular multiplication is even faster than the Karatsuba multiplication (without reduction) which achieved a speed record for multiplication on AVR processor.

Original languageEnglish
Pages (from-to)4852-4870
Number of pages19
JournalJournal of Supercomputing
Volume77
Issue number5
DOIs
Publication statusPublished - 2021 May

Bibliographical note

Funding Information:
This work was supported by Institute for Information and communications Technology Planning and Evaluation (IITP) grant funded by the Korea government (MSIT). (No. 2019-0-00033, Study on Quantum Security Evaluation of Cryptography based on Computational Quantum Complexity).

Funding Information:
This work was supported by Institute for Information and communications Technology Planning and Evaluation (IITP) grant funded by the Korea government (MSIT). (No. 2019-0-00033, Study on Quantum Security Evaluation of Cryptography based on Computational Quantum Complexity).

Publisher Copyright:
© 2020, The Author(s).

Keywords

  • AVR ATmega microcontrollers
  • Efficient implementation
  • Multi-precision modular multiplication
  • NIST curve P-192
  • Wireless sensor networks

ASJC Scopus subject areas

  • Software
  • Theoretical Computer Science
  • Information Systems
  • Hardware and Architecture

Fingerprint

Dive into the research topics of 'Efficient implementation of modular multiplication over 192-bit NIST prime for 8-bit AVR-based sensor node'. Together they form a unique fingerprint.

Cite this