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:12:50 +0000 (22:12 +0200)
Reviewed-by: Emilia Kasper <emilia@openssl.org>
(cherry picked from commit 55eb14da201cc35fe744a08718f5c2efb97f6155)

crypto/sha/asm/sha1-mb-x86_64.pl

index 6a77ff4bf8190e2eec3541245f36671eee3d5e4d..e9bc8e5c47213520b8bf23089625c61e13a1b787 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]
-        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