summaryrefslogtreecommitdiff
path: root/crypto/bn/Makefile
diff options
context:
space:
mode:
authorappro <appro>2011-08-12 16:44:31 +0000
committerappro <appro>2011-08-12 16:44:31 +0000
commitda1b3b295b2d0fd0383ff3d4d8226d36030c95fd (patch)
tree1cb3f7f4b9541dbd14899a02ae6770200b458582 /crypto/bn/Makefile
parentb198dba0cc705b7638a259311bf2e8e17c4b7f82 (diff)
downloadopenssl-da1b3b295b2d0fd0383ff3d4d8226d36030c95fd.tar.gz
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.
Diffstat (limited to 'crypto/bn/Makefile')
-rw-r--r--crypto/bn/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/bn/Makefile b/crypto/bn/Makefile
index 4ae6af506..1fd8e3337 100644
--- a/crypto/bn/Makefile
+++ b/crypto/bn/Makefile
@@ -98,6 +98,8 @@ x86_64-gcc.o: asm/x86_64-gcc.c
$(CC) $(CFLAGS) -c -o $@ asm/x86_64-gcc.c
x86_64-mont.s: asm/x86_64-mont.pl
$(PERL) asm/x86_64-mont.pl $(PERLASM_SCHEME) > $@
+x86_64-mont5.s: asm/x86_64-mont5.pl
+ $(PERL) asm/x86_64-mont5.pl $(PERLASM_SCHEME) > $@
x86_64-gf2m.s: asm/x86_64-gf2m.pl
$(PERL) asm/x86_64-gf2m.pl $(PERLASM_SCHEME) > $@
modexp512-x86_64.s: asm/modexp512-x86_64.pl