projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41191d1
)
Downstream update from HEAD.
author
Andy Polyakov
<appro@openssl.org>
Wed, 1 Dec 2004 15:30:50 +0000
(15:30 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Wed, 1 Dec 2004 15:30:50 +0000
(15:30 +0000)
crypto/rc4/asm/rc4-586.pl
patch
|
blob
|
history
diff --git
a/crypto/rc4/asm/rc4-586.pl
b/crypto/rc4/asm/rc4-586.pl
index 07b2bc6fcdb9777ceef4a631ff846e97e4266426..d6e98f08117f1b580751d2c96db583e1eec85423 100644
(file)
--- a/
crypto/rc4/asm/rc4-586.pl
+++ b/
crypto/rc4/asm/rc4-586.pl
@@
-68,13
+68,13
@@
sub RC4_loop
# &mov( $tx, &DWP(0,$d,$x,4)) if $p < 0;
&add( &LB($y), &LB($tx));
- &inc( &LB($x)); # NEXT ROUND
&mov( $ty, &DWP(0,$d,$y,4));
# XXX
- &mov( &DWP(
-4,$d,$x,4),$ty); # AGI
+ &mov( &DWP(
0,$d,$x,4),$ty);
&add( $ty, $tx);
&mov( &DWP(0,$d,$y,4),$tx);
&and( $ty, 0xff);
+ &inc( &LB($x)); # NEXT ROUND
&mov( $tx, &DWP(0,$d,$x,4)) if $p < 1; # NEXT ROUND
&mov( $ty, &DWP(0,$d,$ty,4));