diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-07-12 18:12:43 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-07-12 18:12:43 +0000 |
commit | bbdb543844cd4f8f787b678e33466afc12eccd96 (patch) | |
tree | 6910cfcd6aa9f6c6fa01acdd31a410900cf9be14 /crypto/des | |
parent | 5059658219465c2e3e15f45c5ca3a0d251cd5fba (diff) |
More NASM support code it still doesn't work but it doesn't work less than it
didn't work before :-)
Diffstat (limited to 'crypto/des')
-rw-r--r-- | crypto/des/asm/crypt586.pl | 2 | ||||
-rw-r--r-- | crypto/des/asm/desboth.pl | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crypto/des/asm/crypt586.pl b/crypto/des/asm/crypt586.pl index b310d922a1..197c413ea6 100644 --- a/crypto/des/asm/crypt586.pl +++ b/crypto/des/asm/crypt586.pl @@ -32,7 +32,7 @@ sub fcrypt_body &xor( $R, $R); &mov($ks,&wparam(1)); - &push(25); # add a variable + &push(&DWC(25)); # add a variable &set_label("start"); for ($i=0; $i<16; $i+=2) diff --git a/crypto/des/asm/desboth.pl b/crypto/des/asm/desboth.pl index 288984d135..d5106414db 100644 --- a/crypto/des/asm/desboth.pl +++ b/crypto/des/asm/desboth.pl @@ -44,15 +44,15 @@ sub des_encrypt3 &mov("edi",&wparam(2)); &mov("eax",&wparam(3)); } - &mov(&swtmp(2), (($enc)?"1":"0")); + &mov(&swtmp(2), (DWC(($enc)?"1":"0"))); &mov(&swtmp(1), "eax"); &mov(&swtmp(0), "ebx"); &call("des_encrypt2"); - &mov(&swtmp(2), (($enc)?"0":"1")); + &mov(&swtmp(2), (DWC(($enc)?"0":"1"))); &mov(&swtmp(1), "edi"); &mov(&swtmp(0), "ebx"); &call("des_encrypt2"); - &mov(&swtmp(2), (($enc)?"1":"0")); + &mov(&swtmp(2), (DWC(($enc)?"1":"0"))); &mov(&swtmp(1), "esi"); &mov(&swtmp(0), "ebx"); &call("des_encrypt2"); |