summaryrefslogtreecommitdiffstats
path: root/crypto/aes/asm/aesni-sha1-x86_64.pl
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2014-06-16 10:11:45 +0200
committerAndy Polyakov <appro@openssl.org>2014-06-16 10:12:56 +0200
commitd940b3b9c7f6014f297a4d6f1b3c02e68c1c3291 (patch)
treea100e8a62827d07176450cacc6a08b41aea789a3 /crypto/aes/asm/aesni-sha1-x86_64.pl
parentcfbc10fb327cf8535d6e9b402d1d03140d23d753 (diff)
aesni-sha[1|256]-x86_64.pl: fix logical error and MacOS X build.
(cherry picked from commit 9024b84b7c9a36f75bffc5c77cc86bbe2911653e)
Diffstat (limited to 'crypto/aes/asm/aesni-sha1-x86_64.pl')
-rw-r--r--crypto/aes/asm/aesni-sha1-x86_64.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/aes/asm/aesni-sha1-x86_64.pl b/crypto/aes/asm/aesni-sha1-x86_64.pl
index 4899421f30..7f253750f3 100644
--- a/crypto/aes/asm/aesni-sha1-x86_64.pl
+++ b/crypto/aes/asm/aesni-sha1-x86_64.pl
@@ -726,7 +726,7 @@ ___
if ($stitched_decrypt) {{{
# reset
($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10");
-$j=$jj=$r=$sn=$rx=0;
+$j=$jj=$r=$rx=0;
$Xi=4;
# reassign for Atom Silvermont (see above)
@@ -994,7 +994,7 @@ $code.=<<___;
.size aesni256_cbc_sha1_dec_ssse3,.-aesni256_cbc_sha1_dec_ssse3
___
}}}
-$j=$jj=$r=$sn=$rx=0;
+$j=$jj=$r=$rx=0;
if ($avx) {
my ($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10");
@@ -1440,7 +1440,7 @@ ___
# reset
($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10");
-$j=$jj=$r=$sn=$rx=0;
+$j=$jj=$r=$rx=0;
$Xi=4;
@aes256_dec = (