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

crypto/bn/asm/ppc.pl

index 37c65d35111baddd9a651bd44ccd8329b5117dab..f4093177e6259315c9361b4349eb13da8dc63076 100644 (file)
@@ -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