Commit 504dff42 authored by Niels Möller's avatar Niels Möller

(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
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment