Skip to content
Snippets Groups Projects
Commit 4c982ba3 authored by Niels Möller's avatar Niels Möller
Browse files

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
parent 3d1828bf
No related branches found
No related tags found
No related merge requests found
...@@ -171,21 +171,21 @@ PROLOGUE(_nettle_camellia_crypt) ...@@ -171,21 +171,21 @@ PROLOGUE(_nettle_camellia_crypt)
movl FRAME_CTX, KEY movl FRAME_CTX, KEY
movl (KEY), TMP movl (KEY), TMP
subl $8, TMP subl $8, TMP
mov TMP, FRAME_CNT movl TMP, FRAME_CNT
C Whitening using first subkey C Whitening using first subkey
xor 4(KEY), L0 xorl 4(KEY), L0
xor 8(KEY), H0 xorl 8(KEY), H0
add $12, KEY addl $12, KEY
movl FRAME_TABLE, T movl FRAME_TABLE, T
ROUND6 ROUND6
.Lround_loop: .Lround_loop:
add $64, KEY addl $64, KEY
FL(L0, H0, -16) FL(L0, H0, -16)
FLINV(L1, H1, -8) FLINV(L1, H1, -8)
ROUND6 ROUND6
sub $8, FRAME_CNT subl $8, FRAME_CNT
ja .Lround_loop ja .Lround_loop
movl FRAME_DST, TMP movl FRAME_DST, TMP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment