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

(nettle_arcfour_crypt): Replace incb ->

incl + andl, to improve speed on PPro and PII. Suggested by
Fredrik Olsson.

Rev: src/nettle/x86/arcfour-crypt.asm:1.7
parent 17d484d9
Branches
Tags
No related merge requests found
......@@ -50,7 +50,8 @@ nettle_arcfour_crypt:
movzbl 256(%ebp), %eax C i
movzbl 257(%ebp), %ebx C j
.Lloop:
incb %al
incl %eax
andl $0xff, %eax
movzbl (%ebp, %eax), %ecx C si. Clears high bytes
addb %cl, %bl
movb (%ebp, %ebx), %ch C sj
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment