summaryrefslogtreecommitdiffstats
path: root/crypto/bn
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2016-09-09 17:25:04 +0200
committerAndy Polyakov <appro@openssl.org>2016-10-24 20:00:40 +0200
commit80d27cdb84985c697f8fabb7649abf1f54714d13 (patch)
treed9b1afe5cfdd008e5f027218f7c1e78fa722379f /crypto/bn
parentbn/asm/ppc-mont.pl: add optimized multiplication and squaring subroutines. (diff)
downloadopenssl-80d27cdb84985c697f8fabb7649abf1f54714d13.tar.xz
openssl-80d27cdb84985c697f8fabb7649abf1f54714d13.zip
ppccap.c: engage new multipplication and squaring subroutines.
[And remove FPU mutiplication subroutine.] Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/bn')
-rw-r--r--crypto/bn/asm/ppc-mont.pl3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/bn/asm/ppc-mont.pl b/crypto/bn/asm/ppc-mont.pl
index ce0b061a7d..fdc049ae0e 100644
--- a/crypto/bn/asm/ppc-mont.pl
+++ b/crypto/bn/asm/ppc-mont.pl
@@ -134,10 +134,7 @@ $code=<<___;
.globl .bn_mul_mont_int
.align 5
.bn_mul_mont_int:
- cmpwi $num,4
mr $rp,r3 ; $rp is reassigned
- li r3,0
- bltlr
___
$code.=<<___ if ($BNSZ==4);
cmpwi $num,32 ; longer key performance is not better