]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
AES_STORE: Updated offsets.
authorNiels Möller <nisse@lysator.liu.se>
Sun, 14 Sep 2008 18:29:46 +0000 (20:29 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sun, 14 Sep 2008 18:29:46 +0000 (20:29 +0200)
Rev: nettle/x86_64/aes.m4:1.5

x86_64/aes.m4

index 70536ecc53519847ced3281c8600e38852af42a6..26f4b29ac6b74092dfa6e325fd63f55f4b830c7a 100644 (file)
@@ -57,10 +57,10 @@ dnl and stores the result in the area pointed to by dst.
 dnl Note that x86 allows unaligned accesses.
 dnl Would it be preferable to interleave the loads and stores?
 define(<AES_STORE>, <
-       xorl    ($5),$1
-       xorl    4($5),$2
-       xorl    8($5),$3
-       xorl    12($5),$4
+       xorl    16($5),$1
+       xorl    20($5),$2
+       xorl    24($5),$3
+       xorl    28($5),$4
 
        movl    $1,($6)
        movl    $2,4($6)