summaryrefslogtreecommitdiffstats
path: root/crypto/rc4
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2007-12-02 21:32:03 +0000
committerAndy Polyakov <appro@openssl.org>2007-12-02 21:32:03 +0000
commit544b82e4931294dcb9ec42655be5613f031c116c (patch)
tree344565a1fe2caf632e4b246a96cc784ddfb8d2e7 /crypto/rc4
parent8789af8db8a4b16067d2f11236ecfa4e2bc6a1b3 (diff)
Some assembler are allergic to lea reg,BYTE PTR[...].
Submitted by: Guenter Knauf
Diffstat (limited to 'crypto/rc4')
-rw-r--r--crypto/rc4/asm/rc4-586.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rc4/asm/rc4-586.pl b/crypto/rc4/asm/rc4-586.pl
index ef148b228c..38a44a70ef 100644
--- a/crypto/rc4/asm/rc4-586.pl
+++ b/crypto/rc4/asm/rc4-586.pl
@@ -143,7 +143,7 @@ sub RC4_loop {
&movz ($ty,&BP(0,$dat,$ty));
&add (&LB($xx),1);
&xor (&LB($ty),&BP(0,$inp));
- &lea ($inp,&BP(1,$inp));
+ &lea ($inp,&DWP(1,$inp));
&movz ($tx,&BP(0,$dat,$xx));
&cmp ($inp,&wparam(1));
&mov (&BP(-1,$out,$inp),&LB($ty));