summaryrefslogtreecommitdiff
path: root/x86/arcfour-crypt.asm
diff options
context:
space:
mode:
Diffstat (limited to 'x86/arcfour-crypt.asm')
-rw-r--r--x86/arcfour-crypt.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/x86/arcfour-crypt.asm b/x86/arcfour-crypt.asm
index 74a65a94..5c87ff8c 100644
--- a/x86/arcfour-crypt.asm
+++ b/x86/arcfour-crypt.asm
@@ -55,8 +55,8 @@ C Register usage:
movl 32(%esp), %esi
addl %esi, %edx C Keep src + length
- movzbl 256(%ebp), %eax C i
- movzbl 257(%ebp), %ebx C j
+ movzbl ARCFOUR_I (%ebp), %eax C i
+ movzbl ARCFOUR_J (%ebp), %ebx C j
.Lloop:
C incb %al
incl %eax
@@ -80,8 +80,8 @@ C andl $0xff, %ebx
cmpl %esi, %edx
jne .Lloop
- movb %al, 256(%ebp) C Store the new i and j.
- movb %bl, 257(%ebp)
+ movb %al, ARCFOUR_I (%ebp) C Store the new i and j.
+ movb %bl, ARCFOUR_J (%ebp)
.Lend:
popl %edi
popl %esi