]> granicus.if.org Git - openssl/commitdiff
ppc.pl: fix bug in bn_mul_comba4.
authorAndy Polyakov <appro@openssl.org>
Sat, 5 Nov 2011 10:16:04 +0000 (10:16 +0000)
committerAndy Polyakov <appro@openssl.org>
Sat, 5 Nov 2011 10:16:04 +0000 (10:16 +0000)
PR: 2636
Submitted by: Charles Bryant

crypto/bn/asm/ppc.pl

index aaf669a5b3efd66f512d0ebbe413a44043197e64..1249ce2299889754ace3bf4f679ec0ac92c3aa5f 100644 (file)
@@ -952,7 +952,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