Some assembler are allergic to lea reg,BYTE PTR[...].
authorAndy Polyakov <appro@openssl.org>
Sun, 2 Dec 2007 21:32:35 +0000 (21:32 +0000)
committerAndy Polyakov <appro@openssl.org>
Sun, 2 Dec 2007 21:32:35 +0000 (21:32 +0000)
Submitted by: Guenter Knauf

crypto/rc4/asm/rc4-586.pl

index 22bda4b451e9915297177780599499e5f22ec624..5efb68c5519b0bba23465ca3b06d601ed5d2b222 100644 (file)
@@ -212,7 +212,7 @@ sub RC4
                &movz   ($ty,&BP(0,$d,$ty));
                &add    (&LB($x),1);
                &xorb   (&LB($ty),&BP(0,$in));
-               &lea    ($in,&BP(1,$in));
+               &lea    ($in,&DWP(1,$in));
                &movz   ($tx,&BP(0,$d,$x));
                &cmp    ($in,&swtmp(2));
                &movb   (&BP(0,$out),&LB($ty));