summaryrefslogtreecommitdiffstats
path: root/crypto/aes
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2009-04-27 15:46:32 +0000
committerAndy Polyakov <appro@openssl.org>2009-04-27 15:46:32 +0000
commiteda2da323524e0f94b96531e386e412a18356d67 (patch)
tree59fd94a29a5a4e705781add6f1186bb4d62c9a75 /crypto/aes
parentc0b03d44fbb53ae7de1a5080387dcbb4798d4cef (diff)
aesni-x86.pl: fix another typo and add test script.
Diffstat (limited to 'crypto/aes')
-rw-r--r--crypto/aes/asm/aesni-x86.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/aes/asm/aesni-x86.pl b/crypto/aes/asm/aesni-x86.pl
index 4e3af02db2..fe0cbe0b5e 100644
--- a/crypto/aes/asm/aesni-x86.pl
+++ b/crypto/aes/asm/aesni-x86.pl
@@ -348,7 +348,7 @@ if ($PREFIX eq "aesni") {
&lea ($inp,&DWP(0x30,$inp));
&pxor ($inout0,$ivec);
&pxor ($inout1,$in0);
- &movups ($ivec,&QWP(0x20,$inp));
+ &movups ($ivec,&QWP(-0x10,$inp));
&pxor ($inout2,$in1);
&movups (&QWP(0,$out),$inout0);
&mov ($rounds,$rounds_) # restore $rounds