engines/asm/e_padlock-x86_64.pl: name it right and fix small bug.
authorAndy Polyakov <appro@openssl.org>
Tue, 6 Sep 2011 22:53:34 +0000 (22:53 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 6 Sep 2011 22:53:34 +0000 (22:53 +0000)
engines/asm/e_padlock-x86_64.pl [moved from engines/asm/e_padlock-x86_86.pl with 99% similarity]

similarity index 99%
rename from engines/asm/e_padlock-x86_86.pl
rename to engines/asm/e_padlock-x86_64.pl
index 56cabc0f153cd769ec9032566174c4b740d3a1ca..f1c040e7f3b9691d7fa9e1920448ae364ace554c 100644 (file)
@@ -206,7 +206,7 @@ padlock_${mode}_encrypt:
        lea     16($ctx),$ctx           # control word
        xor     %eax,%eax
        xor     %ebx,%ebx
        lea     16($ctx),$ctx           # control word
        xor     %eax,%eax
        xor     %ebx,%ebx
-       test    \$`1<<5`,($ctx)         # align bit in control word
+       testl   \$`1<<5`,($ctx)         # align bit in control word
        test    \$0x0f,$out
        setz    %al                     # !out_misaligned
        test    \$0x0f,$inp
        test    \$0x0f,$out
        setz    %al                     # !out_misaligned
        test    \$0x0f,$inp