This commit completes recent modular exponentiation optimizations on
authorAndy Polyakov <appro@openssl.org>
Fri, 12 Aug 2011 16:44:32 +0000 (16:44 +0000)
committerAndy Polyakov <appro@openssl.org>
Fri, 12 Aug 2011 16:44:32 +0000 (16:44 +0000)
commit361512da0d900ba276096cbd152e304d402aca65
treeacc40c1b3e6686f21f26c690487ffd7ba816ff95
parent20735f4c813c394f64a205572ba5edf5efe3b56a
This commit completes recent modular exponentiation optimizations on
x86_64 platform. It targets specifically RSA1024 sign (using ideas
from http://eprint.iacr.org/2011/239) and adds more than 10% on most
platforms. Overall performance improvement relative to 1.0.0 is ~40%
in average, with best result of 54% on Westmere. Incidentally ~40%
is average improvement even for longer key lengths.
Configure
TABLE
crypto/bn/Makefile
crypto/bn/asm/x86_64-mont.pl
crypto/bn/asm/x86_64-mont5.pl [new file with mode: 0755]
crypto/bn/bn_exp.c