Commit 4e647c3f authored by Niels Möller's avatar Niels Möller

Take ALIGNOF_UINT64_T into account when getting the offset for the

subkeys. Differs between w32 and other systems. w32 problem identified
by Martin Storsjö.

Rev: nettle/x86/camellia-crypt-internal.asm:1.5
parent d8e96ee5
...@@ -173,9 +173,9 @@ PROLOGUE(_nettle_camellia_crypt) ...@@ -173,9 +173,9 @@ PROLOGUE(_nettle_camellia_crypt)
subl $8, TMP subl $8, TMP
movl TMP, FRAME_CNT movl TMP, FRAME_CNT
C Whitening using first subkey C Whitening using first subkey
xorl 4(KEY), L0 addl $ALIGNOF_UINT64_T + 8, KEY
xorl 8(KEY), H0 xorl -8(KEY), L0
addl $12, KEY xorl -4(KEY), H0
movl FRAME_TABLE, T movl FRAME_TABLE, T
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment