sha1-mb-x86_64.pl: fix typo.
authorAndy Polyakov <appro@openssl.org>
Wed, 20 Aug 2014 20:10:20 +0000 (22:10 +0200)
committerAndy Polyakov <appro@openssl.org>
Wed, 20 Aug 2014 20:10:20 +0000 (22:10 +0200)
Reviewed-by: Emilia Kasper <emilia@openssl.org>
crypto/sha/asm/sha1-mb-x86_64.pl

index 6a77ff4..e9bc8e5 100644 (file)
@@ -153,7 +153,7 @@ $code.=<<___ if ($i<14);                    # just load input
        psrld   \$2,$b
        paddd   $t2,$e                          # e+=rol(a,5)
         pshufb $tx,@Xi[1]
        psrld   \$2,$b
        paddd   $t2,$e                          # e+=rol(a,5)
         pshufb $tx,@Xi[1]
-        movd           `4*$j-16*4`(@ptr[2]),$t2
+        movd           `4*$k-16*4`(@ptr[2]),$t2
        por     $t1,$b                          # b=rol(b,30)
 ___
 $code.=<<___ if ($i==14);                      # just load input
        por     $t1,$b                          # b=rol(b,30)
 ___
 $code.=<<___ if ($i==14);                      # just load input