Efficient arithmetic on ARM‐NEON and its application for high‐speed RSA implementation
Authors:
- 1 December 2016
- journal article
- research article
- Published by Wiley in Security and Communication Networks
- Vol. 9 (18) , 5401-5411
Abstract
Advanced modern processors support single instruction, multiple data instructions (e.g., Intel‐AVX and ARM‐NEON) and a massive body of research on vector‐parallel implementations of modular arithmetic, which are crucial components for modern public‐key cryptography ranging from Rivest, Shamir, and Adleman (RSA), ElGamal, Digital Signature Algorithm (DSA), and elliptic curve cryptography, have been conducted. In this paper, we introduce a novel double operand scanning method to speed up multi‐precision squaring with non‐redundant representations on single instruction, multiple data architecture where the part of the operands are doubled to compute the squaring operation without read‐after‐write dependencies between source and destination variables. Afterwards, Karatsuba algorithm is applied to both multiplication and squaring operations. For modular multiplication, separated Montgomery algorithm is chosen. Finally, the Rivest, Shamir, and Adleman (RSA) implementations outperform the best‐known results on the ARM‐NEON platforms. Copyright © 2017 John Wiley & Sons, Ltd.Keywords
Funding Information
- Institute for Information & communications Technology Promotion (IITP) Korea government (MSIP) (10043907)
- MSIP (Ministry of Science, ICT and Future Planning), Korea ITRC (Information Technology Research Center) (IITP-2017-H8501-17-1017)
This publication has 22 references indexed in Scilit:
- Handbook of Applied Cryptography2018
- Optimized Karatsuba squaring on 8‐bit AVR processorsSecurity and Communication Networks, 2015
- Multiprecision multiplication on AVR revisitedJournal of Cryptographic Engineering, 2015
- On the Evaluation of Multi-core Systems with SIMD Engines for Public-Key Cryptography2014
- Multi-precision Squaring for Public-Key Cryptography on Embedded Microprocessors2013
- Improved multi-precision squaring for low-end RISC microcontrollersJournal of Systems and Software, 2013
- NEON CryptoLecture Notes in Computer Science, 2012
- Comparing Elliptic Curve Cryptography and RSA on 8-bit CPUs2004
- Exponentiation cryptosystems on the IBM PCIBM Systems Journal, 1990
- Modular multiplication without trial divisionMathematics of Computation, 1985