Skip to content
Snippets Groups Projects
Commit 861def13 authored by Niels Möller's avatar Niels Möller
Browse files

Use movzbl when extending %cl to 32 bits.

Rev: src/nettle/x86/arcfour-crypt.asm:1.11
parent 280e0fda
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ C andl $0xff, %ebx
movb %ch, (%ebp, %eax) C S[i] = sj
movb %cl, (%ebp, %ebx) C S[j] = si
addb %ch, %cl
xorb %ch, %ch C Clear, so it can be used
movzbl %cl, %ecx C Clear, so it can be used
C for indexing.
movb (%ebp, %ecx), %cl
xorb (%esi), %cl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment