You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No Silver Bullet: Optimized Montgomery
Multiplication on Various 64-bit ARM Platforms
Abstract
In this paper, we firstly presented optimized implementa-
tions of Montgomery multiplication on 64-bit ARM processors by taking
advantages of Karatsuba algorithm and efficient multiplication instruc-
tion sets for ARM64 architectures. The implementation of Montgomery
multiplication can improve the performance of (pre-quantum and post-
quantum) public key cryptography (e.g. CSIDH, ECC, and RSA) imple-
mentations on ARM64 architectures, directly. Last but not least, the per-
formance of Karatsuba algorithm does not ensure the fastest speed record
on various ARM architectures, while it is determined by the clock cycles
per multiplication instruction of target ARM architectures. In particular,
recent Apple processors based on ARM64 architecture show lower cycles
per instruction of multiplication than that of ARM Cortex-A series. For
this reason, the schoolbook method shows much better performance than
the sophisticated Karatsuba algorithm on Apple processors. With this
observation, we can determine the proper approach for multiplication
of cryptography library (e.g. Microsoft-SIDH) on Apple processors and
ARM Cortex-A process
The text was updated successfully, but these errors were encountered:
#69 introduced an assembly ode generator for x86 and x86-64
at https://github.com/mratsim/constantine/blob/7d29cb9/constantine/platforms/isa/macro_assembler_x86.nim
We need the same for ARM for efficiency on Raspberry Pi, Phones, Apple Silicon and other resource-restricted devices.
Efficient multiplication on ARM:
paper 1: https://orbilu.uni.lu/bitstream/10993/34104/1/ARMv8_KJ_zhe.pdf
paper 2: https://core.ac.uk/download/pdf/275655534.pdf
Multiprecision Multiplication on ARMv8
Related papers:
https://eprint.iacr.org/2021/185.pdf
The text was updated successfully, but these errors were encountered: