]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(ROUND): Adapted to new key convention, moving key xor to the end.
authorNiels Möller <nisse@lysator.liu.se>
Mon, 20 Sep 2010 09:15:18 +0000 (11:15 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 20 Sep 2010 09:15:18 +0000 (11:15 +0200)
Rev: nettle/x86/camellia-crypt-internal.asm:1.2

x86/camellia-crypt-internal.asm

index b5c491c836cd88903397b720484f41a4baa3b229..824317220ccec5ba9dd20dc91693b4ecdffb0dc8 100644 (file)
@@ -78,13 +78,13 @@ define(<ROUND>, <
        movzbl  HREG($2), TMP
        xorl    SP1110(TMP), $3
 
-       xorl    $5(KEY), $4
-       xorl    $5 + 4(KEY), $3
-
        xorl    $3, $4
        rorl    <$>8, $3
        xorl    $4, $3
 
+       xorl    $5(KEY), $3
+       xorl    $5 + 4(KEY), $4
+
        xorl    FRAME_$3, $3
        xorl    FRAME_$4, $4
 >)