summaryrefslogtreecommitdiff
path: root/crypto/bn/asm
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-11-05 10:16:30 +0000
committerAndy Polyakov <appro@openssl.org>2011-11-05 10:16:30 +0000
commit02597f2885c104f0e18285e5e20183ea5b3fe5d1 (patch)
treee7c55302ca064c8948e6e6464701361daf8b29a4 /crypto/bn/asm
parent8c6a514edf0f059bbca4f525ce196f58cf0c272e (diff)
downloadopenssl-new-02597f2885c104f0e18285e5e20183ea5b3fe5d1.tar.gz
ppc.pl: fix bug in bn_mul_comba4 [from HEAD].
PR: 2636 Submitted by: Charles Bryant
Diffstat (limited to 'crypto/bn/asm')
-rw-r--r--crypto/bn/asm/ppc.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/asm/ppc.pl b/crypto/bn/asm/ppc.pl
index 37c65d3511..f4093177e6 100644
--- a/crypto/bn/asm/ppc.pl
+++ b/crypto/bn/asm/ppc.pl
@@ -949,7 +949,7 @@ $data=<<EOF;
addze r11,r0
#mul_add_c(a[3],b[2],c3,c1,c2);
$LD r6,`3*$BNSZ`(r4)
- $LD r7,`2*$BNSZ`(r4)
+ $LD r7,`2*$BNSZ`(r5)
$UMULL r8,r6,r7
$UMULH r9,r6,r7
addc r12,r8,r12