diff options
author | Niels Möller <nisse@lysator.liu.se> | 2010-09-20 11:15:18 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2010-09-20 11:15:18 +0200 |
commit | 8c948ab8875fa76a5a4dcdb0de16cb4aaa549bac (patch) | |
tree | 82df68ed0a613b888c8fe69e8d4aacdd573147c9 /x86 | |
parent | c1e83849379894471833744d93b34f5d1da17654 (diff) | |
download | nettle-8c948ab8875fa76a5a4dcdb0de16cb4aaa549bac.tar.gz |
(ROUND): Adapted to new key convention, moving key xor to the end.
Rev: nettle/x86/camellia-crypt-internal.asm:1.2
Diffstat (limited to 'x86')
-rw-r--r-- | x86/camellia-crypt-internal.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x86/camellia-crypt-internal.asm b/x86/camellia-crypt-internal.asm index b5c491c8..82431722 100644 --- a/x86/camellia-crypt-internal.asm +++ b/x86/camellia-crypt-internal.asm @@ -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 >) |