summaryrefslogtreecommitdiffstats
path: root/crypto/aes/asm/bsaes-x86_64.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2013-10-12 21:37:55 +0200
committerAndy Polyakov <appro@openssl.org>2013-10-12 21:37:55 +0200
commit7e1e3334f6d419a09da5f9f99bf448f18ff74867 (patch)
treed8afaad52337f9ecbc974144a44fe9ccc180613c /crypto/aes/asm/bsaes-x86_64.pl
parentfa104be35e24f3fea895d55bb7042d6f4b2963e9 (diff)
aes/asm/bsaes-x86_64.pl: fix Windows-specific bug in XTS.
PR: 3139
Diffstat (limited to 'crypto/aes/asm/bsaes-x86_64.pl')
-rw-r--r--crypto/aes/asm/bsaes-x86_64.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/aes/asm/bsaes-x86_64.pl b/crypto/aes/asm/bsaes-x86_64.pl
index 8cde67681e..41b90f0844 100644
--- a/crypto/aes/asm/bsaes-x86_64.pl
+++ b/crypto/aes/asm/bsaes-x86_64.pl
@@ -85,7 +85,7 @@
#
# Core 2 9.83
# Nehalem 7.74
-# Atom 18.9 (estimated, not measured yet)
+# Atom 19.0
#
# November 2011.
#
@@ -2089,6 +2089,8 @@ ___
# const unsigned char iv[16]);
#
my ($twmask,$twres,$twtmp)=@XMM[13..15];
+$arg6=~s/d$//;
+
$code.=<<___;
.globl bsaes_xts_encrypt
.type bsaes_xts_encrypt,\@abi-omnipotent