From 4e647c3f5a6fc79bf78266d6297e284ff7703647 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sun, 20 Nov 2011 21:01:51 +0100
Subject: [PATCH] =?UTF-8?q?Take=20ALIGNOF=5FUINT64=5FT=20into=20account=20?=
 =?UTF-8?q?when=20getting=20the=20offset=20for=20the=20subkeys.=20Differs?=
 =?UTF-8?q?=20between=20w32=20and=20other=20systems.=20w32=20problem=20ide?=
 =?UTF-8?q?ntified=20by=20Martin=20Storsj=C3=B6.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Rev: nettle/x86/camellia-crypt-internal.asm:1.5
---
 x86/camellia-crypt-internal.asm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x86/camellia-crypt-internal.asm b/x86/camellia-crypt-internal.asm
index 46a4e3d9..fa16f763 100644
--- a/x86/camellia-crypt-internal.asm
+++ b/x86/camellia-crypt-internal.asm
@@ -173,9 +173,9 @@ PROLOGUE(_nettle_camellia_crypt)
 	subl	$8, TMP
 	movl	TMP, FRAME_CNT
 	C 	Whitening using first subkey 
-	xorl	4(KEY), L0
-	xorl	8(KEY), H0
-	addl	$12, KEY
+	addl	$ALIGNOF_UINT64_T + 8, KEY
+	xorl	-8(KEY), L0
+	xorl	-4(KEY), H0
 
 	movl	FRAME_TABLE, T
 
-- 
GitLab