From 51047b5740908d2972980258c886310e10c9a991 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Wed, 15 May 2002 22:17:46 +0200
Subject: [PATCH] *** empty log message ***

Rev: src/nettle/ChangeLog:1.99
---
 ChangeLog | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index f59cc3b7..9e43e29c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,25 @@
+2002-05-15  Niels M�ller  <nisse@cuckoo.hack.org>
+
+	* aes-internal.h (struct aes_table): Renamed the shift_idx field
+	to sparc_idx, as it will be tweaked to improve the sparc code.
+	Also reduced its size to [2][4].
+	(IDX_FACTOR): Deleted constant.
+	* aes-encrypt-table.c (_aes_encrypt_table): Adapted initializer of
+	sparc_idx. 
+	* aes-decrypt-table.c (_aes_decrypt_table): Likewise.
+	* asm.m4: Deleted AES_SIDX2, to match struct aes_table.
+
+	* sparc/aes.asm (_aes_crypt): Unrolled the inner loop, preparing
+	for optimizations suggested by Marcus Comstedt.
+	(_aes_crypt): Eliminated i from the first copy of the inner loop.
+	(_aes_crypt): And from the second copy.
+	(_aes_crypt): And from the third copy.
+	(_aes_crypt): And from the fourth copy.
+	(_aes_crypt): Renamed .Linner_loop to .Lround_loop.
+	(_aes_crypt): Eliminated the loop variable i from the unrolled
+	loop. 
+	(_aes_crypt): Deleted moves of constants into t2.
+
 2002-05-15  Niels M�ller  <niels@s3.kth.se>
 
 	* x86/aes-encrypt.asm (aes_encrypt): Use AES_SUBST_BYTE.
@@ -38,6 +60,12 @@
 
 2002-05-15  Niels M�ller  <nisse@cuckoo.hack.org>
 
+	* sparc/aes.asm: (_aes_crypt): Restore %fp at end of function, to
+	make %fp available for other uses.
+
+	* sparc/aes.asm: The frame setup was broken. Tried to fix it.
+	Reverted to revision 1.70 + minor changes from the head revision.
+
 	* x86/aes-encrypt.asm (aes_encrypt): Use test instead of cmpl $0,.
 
 	* x86/machine.m4 (AES_SUBST_BYTE): New macro.
-- 
GitLab