summaryrefslogtreecommitdiffstats
path: root/crypto/rc4
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2011-05-27 16:15:12 +0000
committerAndy Polyakov <appro@openssl.org>2011-05-27 16:15:12 +0000
commit986289604e6c8b1b9956b215efb1a72145765c27 (patch)
tree0370454113f81b5e2426c57bed1f502135b7a30e /crypto/rc4
parent4bb90087d745c26401e09a3bd10137d7b05e9ea3 (diff)
rc4-x86_64.pl: RC4_options fix-up.
Diffstat (limited to 'crypto/rc4')
-rwxr-xr-xcrypto/rc4/asm/rc4-x86_64.pl8
1 files changed, 5 insertions, 3 deletions
diff --git a/crypto/rc4/asm/rc4-x86_64.pl b/crypto/rc4/asm/rc4-x86_64.pl
index 44466ee97a..4eb0990302 100755
--- a/crypto/rc4/asm/rc4-x86_64.pl
+++ b/crypto/rc4/asm/rc4-x86_64.pl
@@ -503,11 +503,13 @@ RC4_options:
lea .Lopts(%rip),%rax
mov OPENSSL_ia32cap_P(%rip),%edx
bt \$20,%edx
- jnc .Ldone
- add \$12,%rax
+ jc .L8xchar
bt \$30,%edx
jnc .Ldone
- add \$13,%rax
+ add \$25,%rax
+ ret
+.L8xchar:
+ add \$12,%rax
.Ldone:
ret
.align 64