]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
* x86/arcfour-crypt.asm (nettle_arcfour_crypt): Must store the new
authorNiels Möller <nisse@lysator.liu.se>
Thu, 5 Feb 2004 16:24:39 +0000 (17:24 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 5 Feb 2004 16:24:39 +0000 (17:24 +0100)
i, j at the end of the loop.

Rev: src/nettle/x86/arcfour-crypt.asm:1.4

x86/arcfour-crypt.asm

index d35a1daa0cca5c76bafc7ca8b2bb273131293793..007315aefe62dac3428cd18dfe48f21028ffdf37 100644 (file)
@@ -65,6 +65,9 @@ nettle_arcfour_crypt:
        incl    %edi
        cmpl    %esi, %edx
        jne     .Lloop
+
+       movb    %al, 256(%ebp)          C  Store the new i and j.
+       movb    %bl, 257(%ebp)
 .Lend:
        popl    %edi
        popl    %esi