From 4c982ba355ee1ed8e1fdee045c48190b64b0ec84 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niels=20M=C3=B6ller?= Date: Sat, 3 Sep 2011 20:17:34 +0200 Subject: [PATCH] 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 --- x86/camellia-crypt-internal.asm | 12 ++++++------ 1 file 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 -- 2.47.2