NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multi-precision Squaring for Public-Key Cryptography on Embedded Microprocessors

Hwajeong Seo, Zhe Liu, Jongseok Choi, Howon Kim

Abstract

In the paper, we revisit the “Lazy Doubling” (LD) method for multi-precision squaring, which reduces the number of addition operations by deferring the doubling process so that it can be performed on accumulated results. The original LD method has to employ carry-catcher registers to store carry values, which reduces the number of general purpose registers available for optimization of the implementation. Furthermore, the LD method adopts the idea of hybrid multiplication to separate the partial products into several product blocks, which prevents the doubling process to be conducted on fully accumulated intermediate results. To overcome these deficiencies of the LD method and improve the performance of multi-precision squaring, we propose a novel and flexible method named “Sliding Block Doubling” (SBD). The SBD method delays the doubling process till the very end of the partial-product computation and then doubles the result by simply shifting it one bit to the left. In order to further reduce the overhead of doubling, we also optimize the execution process for updating carry values and adopt the product-scanning method for efficient computation of the partial products. Our experimental results on an AVR ATmega128 processor show that the SBD method outperforms state-of-the-art implementations by a factor of between 3.5% and 4.4% for operands ranging from 128 bits to 192 bits.
BibTeX
@inproceedings{seo2013multi,
  author = {Hwajeong Seo and Zhe Liu and Jongseok Choi and Howon Kim},
  title = {{Multi-precision Squaring for Public-Key Cryptography on Embedded Microprocessors}},
  booktitle = {INDOCRYPT},
  year = {2013},
  doi = {10.1007/978-3-319-03515-4\_15},
}

Loading related content...

Figure