aboutsummaryrefslogtreecommitdiff
path: root/crypto/aes/asm/aes-586.pl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/aes/asm/aes-586.pl')
-rwxr-xr-xcrypto/aes/asm/aes-586.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/aes/asm/aes-586.pl b/crypto/aes/asm/aes-586.pl
index 89fa2617944b..3bc46a968e37 100755
--- a/crypto/aes/asm/aes-586.pl
+++ b/crypto/aes/asm/aes-586.pl
@@ -955,8 +955,9 @@ my $mark=&DWP(60+240,"esp"); #copy of aes_key->rounds
&align (4);
&set_label("enc_tail");
- &push ($key eq "edi" ? $key : ""); # push ivp
+ &mov ($s0,$key eq "edi" ? $key : "");
&mov ($key,$_out); # load out
+ &push ($s0); # push ivp
&mov ($s1,16);
&sub ($s1,$s2);
&cmp ($key,$acc); # compare with inp