summaryrefslogtreecommitdiff
path: root/x86
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2011-09-03 20:17:34 +0200
committerNiels Möller <nisse@lysator.liu.se>2011-09-03 20:17:34 +0200
commit4c982ba355ee1ed8e1fdee045c48190b64b0ec84 (patch)
treec9d4b18c4fbeee917109dff471b6e518afc56a7c /x86
parent3d1828bf4a0e07fec47424a1e1863eedfe3e9425 (diff)
downloadnettle-4c982ba355ee1ed8e1fdee045c48190b64b0ec84.tar.gz
Use "l"-suffix on instructions more consistently. Reportedly, freebsd
and netbsd systems with clang are more picky about this. Rev: nettle/x86/camellia-crypt-internal.asm:1.4
Diffstat (limited to 'x86')
-rw-r--r--x86/camellia-crypt-internal.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/x86/camellia-crypt-internal.asm b/x86/camellia-crypt-internal.asm
index b5c491c8..46a4e3d9 100644
--- a/x86/camellia-crypt-internal.asm
+++ b/x86/camellia-crypt-internal.asm
@@ -171,21 +171,21 @@ PROLOGUE(_nettle_camellia_crypt)
movl FRAME_CTX, KEY
movl (KEY), TMP
subl $8, TMP
- mov TMP, FRAME_CNT
+ movl TMP, FRAME_CNT
C Whitening using first subkey
- xor 4(KEY), L0
- xor 8(KEY), H0
- add $12, KEY
+ xorl 4(KEY), L0
+ xorl 8(KEY), H0
+ addl $12, KEY
movl FRAME_TABLE, T
ROUND6
.Lround_loop:
- add $64, KEY
+ addl $64, KEY
FL(L0, H0, -16)
FLINV(L1, H1, -8)
ROUND6
- sub $8, FRAME_CNT
+ subl $8, FRAME_CNT
ja .Lround_loop
movl FRAME_DST, TMP