]> git.ipfire.org Git - thirdparty/nettle.git/log
thirdparty/nettle.git
23 years ago(_aes_crypt): Unrolled source loop.
Niels Möller [Wed, 15 May 2002 23:23:58 +0000 (01:23 +0200)] 
(_aes_crypt): Unrolled source loop.

Rev: src/nettle/sparc/aes.asm:1.111

23 years ago(AES_FINAL_ROUND): Eliminated t3.
Niels Möller [Wed, 15 May 2002 23:01:03 +0000 (01:01 +0200)] 
(AES_FINAL_ROUND): Eliminated t3.

Rev: src/nettle/sparc/aes.asm:1.110

23 years ago(AES_FINAL_ROUND): Work to eliminate t3.
Niels Möller [Wed, 15 May 2002 22:59:25 +0000 (00:59 +0200)] 
(AES_FINAL_ROUND): Work to eliminate t3.

Rev: src/nettle/sparc/aes.asm:1.109

23 years ago(AES_FINAL_ROUND): Reordered, so that we can save one register.
Niels Möller [Wed, 15 May 2002 22:52:30 +0000 (00:52 +0200)] 
(AES_FINAL_ROUND): Reordered, so that we can save one register.

Rev: src/nettle/sparc/aes.asm:1.108

23 years ago(AES_FINAL_ROUND): Some reordering.
Niels Möller [Wed, 15 May 2002 22:48:29 +0000 (00:48 +0200)] 
(AES_FINAL_ROUND): Some reordering.

Rev: src/nettle/sparc/aes.asm:1.107

23 years ago(AES_FINAL_ROUND): Eliminated ands.
Niels Möller [Wed, 15 May 2002 22:45:59 +0000 (00:45 +0200)] 
(AES_FINAL_ROUND): Eliminated ands.

Rev: src/nettle/sparc/aes.asm:1.106

23 years ago(AES_ROUND): Eliminated use of t3.
Niels Möller [Wed, 15 May 2002 22:43:50 +0000 (00:43 +0200)] 
(AES_ROUND): Eliminated use of t3.

Rev: src/nettle/sparc/aes.asm:1.105

23 years ago(AES_ROUND): Reordered instructions, so that we can save one
Niels Möller [Wed, 15 May 2002 22:37:26 +0000 (00:37 +0200)] 
(AES_ROUND): Reordered instructions, so that we can save one
register.

Rev: src/nettle/sparc/aes.asm:1.104

23 years ago(AES_FINAL_ROUND): Use ldub, not lduh + and, to get the second
Niels Möller [Wed, 15 May 2002 22:30:22 +0000 (00:30 +0200)] 
(AES_FINAL_ROUND): Use ldub, not lduh + and, to get the second
byte of a word.

Rev: src/nettle/sparc/aes.asm:1.103

23 years ago(AES_FINAL_ROUND): Use ldub, not ld + and, to get the third byte
Niels Möller [Wed, 15 May 2002 22:27:51 +0000 (00:27 +0200)] 
(AES_FINAL_ROUND): Use ldub, not ld + and, to get the third byte
of wtxt.

Rev: src/nettle/sparc/aes.asm:1.102

23 years ago(AES_FINAL_ROUND): Don't update dst, just access it offseted by i.
Niels Möller [Wed, 15 May 2002 22:22:46 +0000 (00:22 +0200)] 
(AES_FINAL_ROUND): Don't update dst, just access it offseted by i.
(_aes_crypt): Add 16 to dst at the end of the final round.

Rev: src/nettle/sparc/aes.asm:1.101

23 years agoCleanup.
Niels Möller [Wed, 15 May 2002 22:16:56 +0000 (00:16 +0200)] 
Cleanup.

Rev: src/nettle/sparc/aes.asm:1.100

23 years ago(AES_FINAL_ROUND): New macro.
Niels Möller [Wed, 15 May 2002 22:14:25 +0000 (00:14 +0200)] 
(AES_FINAL_ROUND): New macro.
(_aes_crypt): Use AES_FINAL_ROUND for the first word if the final
round.
(_aes_crypt): And for the rest of the final round.

Rev: src/nettle/sparc/aes.asm:1.99

23 years ago(AES_FINAL_ROUND): New macro.
Niels Möller [Wed, 15 May 2002 22:11:13 +0000 (00:11 +0200)] 
(AES_FINAL_ROUND): New macro.
(_aes_crypt): Use AES_FINAL_ROUND for the first word if the final
round.

Rev: src/nettle/sparc/aes.asm:1.98

23 years agoCleanup.
Niels Möller [Wed, 15 May 2002 21:58:11 +0000 (23:58 +0200)] 
Cleanup.

Rev: src/nettle/sparc/aes.asm:1.97

23 years ago* sparc/aes.asm (AES_ROUND): New macro.
Niels Möller [Wed, 15 May 2002 21:42:31 +0000 (23:42 +0200)] 
* sparc/aes.asm (AES_ROUND): New macro.
(_aes_crypt): Use AES_ROUND for first word of the
round function.
(_aes_crypt): And for the rest of the round function.

Rev: src/nettle/sparc/aes.asm:1.96

23 years ago* sparc/aes.asm (AES_ROUND): New macro.
Niels Möller [Wed, 15 May 2002 21:39:05 +0000 (23:39 +0200)] 
* sparc/aes.asm (AES_ROUND): New macro.
* (_aes_crypt): Use AES_ROUND for first word of the
round function.

Rev: src/nettle/sparc/aes.asm:1.95

23 years ago* sparc/aes.asm (_aes_crypt): Deleted a bunch of additions of two,
Niels Möller [Wed, 15 May 2002 21:20:51 +0000 (23:20 +0200)] 
* sparc/aes.asm (_aes_crypt): Deleted a bunch of additions of two,
after accessing IDX1.

Rev: src/nettle/sparc/aes.asm:1.94

23 years ago* aes-internal.h (struct aes_table): sparc_idx[0] should now
Niels Möller [Wed, 15 May 2002 21:19:49 +0000 (23:19 +0200)] 
* aes-internal.h (struct aes_table): sparc_idx[0] should now
contain index values shifted by the size of a word, and with 2
added. This saves some additions in the sparc assembler code.
Updates aes-encrypt-table.c and aes-decrypt-table.c.

* 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.

Rev: src/nettle/aes-decrypt-table.c:1.3
Rev: src/nettle/aes-encrypt-table.c:1.3
Rev: src/nettle/aes-internal.h:1.8

23 years ago(_aes_crypt): Access IDX1 and IDX3 through the T pointer, saving
Niels Möller [Wed, 15 May 2002 21:04:21 +0000 (23:04 +0200)] 
(_aes_crypt): Access IDX1 and IDX3 through the T pointer, saving
two registers.

Rev: src/nettle/sparc/aes.asm:1.93

23 years agoCleanup.
Niels Möller [Wed, 15 May 2002 20:43:23 +0000 (22:43 +0200)] 
Cleanup.

Rev: src/nettle/sparc/aes.asm:1.92

23 years ago(_aes_crypt): Eliminated updates of i from the loop.
Niels Möller [Wed, 15 May 2002 20:41:45 +0000 (22:41 +0200)] 
(_aes_crypt): Eliminated updates of i from the loop.

Rev: src/nettle/sparc/aes.asm:1.91

23 years ago* sparc/aes.asm (_aes_crypt): Unrolled final loop, preparing for
Niels Möller [Wed, 15 May 2002 20:39:08 +0000 (22:39 +0200)] 
* sparc/aes.asm (_aes_crypt): Unrolled final loop, preparing for
optimizations.
(_aes_crypt): Eliminated i from forst copy of the loop. Some
cleanup.
(_aes_crypt): And from second copy.
(_aes_crypt): And from third.
(_aes_crypt): And fourth.

Rev: src/nettle/sparc/aes.asm:1.90

23 years ago* sparc/aes.asm (_aes_crypt): Unrolled final loop, preparing for
Niels Möller [Wed, 15 May 2002 20:37:35 +0000 (22:37 +0200)] 
* sparc/aes.asm (_aes_crypt): Unrolled final loop, preparing for
optimizations.
(_aes_crypt): Eliminated i from forst copy of the loop. Some
cleanup.
(_aes_crypt): And from second copy.
(_aes_crypt): And from third.

Rev: src/nettle/sparc/aes.asm:1.89

23 years ago* sparc/aes.asm (_aes_crypt): Unrolled final loop, preparing for
Niels Möller [Wed, 15 May 2002 20:35:19 +0000 (22:35 +0200)] 
* sparc/aes.asm (_aes_crypt): Unrolled final loop, preparing for
optimizations.
(_aes_crypt): Eliminated i from forst copy of the loop. Some
cleanup.
(_aes_crypt): And from second copy.

Rev: src/nettle/sparc/aes.asm:1.88

23 years ago* sparc/aes.asm (_aes_crypt): Unrolled final loop, preparing for
Niels Möller [Wed, 15 May 2002 20:32:26 +0000 (22:32 +0200)] 
* sparc/aes.asm (_aes_crypt): Unrolled final loop, preparing for
optimizations.
(_aes_crypt): Eliminated i from forst copy of the loop. Some
cleanup.

Rev: src/nettle/sparc/aes.asm:1.87

23 years ago* sparc/aes.asm (_aes_crypt): Unrolled final loop, preparing for
Niels Möller [Wed, 15 May 2002 20:27:13 +0000 (22:27 +0200)] 
* sparc/aes.asm (_aes_crypt): Unrolled final loop, preparing for
optimizations.

Rev: src/nettle/sparc/aes.asm:1.86

23 years ago*** empty log message ***
Niels Möller [Wed, 15 May 2002 20:17:46 +0000 (22:17 +0200)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.99

23 years ago* aes-internal.h (struct aes_table): Renamed the shift_idx field
Niels Möller [Wed, 15 May 2002 20:17:35 +0000 (22:17 +0200)] 
* 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.

Rev: src/nettle/aes-decrypt-table.c:1.2
Rev: src/nettle/aes-encrypt-table.c:1.2
Rev: src/nettle/aes-internal.h:1.7
Rev: src/nettle/asm.m4:1.9

23 years ago(_aes_crypt): Deleted moves of constants into t2.
Niels Möller [Wed, 15 May 2002 19:59:15 +0000 (21:59 +0200)] 
(_aes_crypt): Deleted moves of constants into t2.

Rev: src/nettle/sparc/aes.asm:1.85

23 years agoSome cleanup.
Niels Möller [Wed, 15 May 2002 19:53:41 +0000 (21:53 +0200)] 
Some cleanup.

Rev: src/nettle/sparc/aes.asm:1.84

23 years ago(_aes_crypt): Eliminated the loop variable i from the unrolled
Niels Möller [Wed, 15 May 2002 19:51:00 +0000 (21:51 +0200)] 
(_aes_crypt): Eliminated the loop variable i from the unrolled
loop.

Rev: src/nettle/sparc/aes.asm:1.83

23 years ago(_aes_crypt): Eliminated i from the first copy of the inner loop.
Niels Möller [Wed, 15 May 2002 19:47:56 +0000 (21:47 +0200)] 
(_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.

Rev: src/nettle/sparc/aes.asm:1.82

23 years ago(_aes_crypt): Eliminated i from the first copy of the inner loop.
Niels Möller [Wed, 15 May 2002 19:45:52 +0000 (21:45 +0200)] 
(_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.

Rev: src/nettle/sparc/aes.asm:1.81

23 years ago(_aes_crypt): Eliminated i from the first copy of the inner loop.
Niels Möller [Wed, 15 May 2002 19:43:39 +0000 (21:43 +0200)] 
(_aes_crypt): Eliminated i from the first copy of the inner loop.
(_aes_crypt): And from the second copy.

Rev: src/nettle/sparc/aes.asm:1.80

23 years ago(_aes_crypt): Eliminated i from the first copy of the inner loop.
Niels Möller [Wed, 15 May 2002 19:41:23 +0000 (21:41 +0200)] 
(_aes_crypt): Eliminated i from the first copy of the inner loop.

Rev: src/nettle/sparc/aes.asm:1.79

23 years ago(_aes_crypt): Unrolled the inner loop, preparing
Niels Möller [Wed, 15 May 2002 19:30:41 +0000 (21:30 +0200)] 
(_aes_crypt): Unrolled the inner loop, preparing
for optimizations suggested by Marcus Comstedt.

Rev: src/nettle/sparc/aes.asm:1.78

23 years ago*** empty log message ***
Niels Möller [Wed, 15 May 2002 15:03:29 +0000 (17:03 +0200)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.98
Rev: src/nettle/aes-decrypt.c:1.4

23 years agoComment fix.
Niels Möller [Wed, 15 May 2002 15:03:15 +0000 (17:03 +0200)] 
Comment fix.

Rev: src/nettle/x86/aes-decrypt.asm:1.16

23 years ago(aes_decrypt): Got rid if the xchgl instruction after the final
Niels Möller [Wed, 15 May 2002 14:18:41 +0000 (16:18 +0200)] 
(aes_decrypt): Got rid if the xchgl instruction after the final
round, folding it into the final round.

Rev: src/nettle/x86/aes-decrypt.asm:1.15

23 years ago(aes_decrypt): Deleted first xchgl instruction into, permuting the
Niels Möller [Wed, 15 May 2002 14:15:14 +0000 (16:15 +0200)] 
(aes_decrypt): Deleted first xchgl instruction into, permuting the
AES_ROUND calls instead.
(aes_decrypt): Likewise for the final round.

Rev: src/nettle/x86/aes-decrypt.asm:1.14

23 years ago(aes_decrypt): Deleted first xchgl instruction into, permuting the
Niels Möller [Wed, 15 May 2002 14:12:29 +0000 (16:12 +0200)] 
(aes_decrypt): Deleted first xchgl instruction into, permuting the
AES_ROUND calls instead.

Rev: src/nettle/x86/aes-decrypt.asm:1.13

23 years agoMinor cleanups to make the encrypt and decrypt code more similar.
Niels Möller [Wed, 15 May 2002 14:03:52 +0000 (16:03 +0200)] 
Minor cleanups to make the encrypt and decrypt code more similar.

Rev: src/nettle/x86/aes-decrypt.asm:1.12
Rev: src/nettle/x86/aes-encrypt.asm:1.17

23 years ago(aes_decrypt): Use AES_STORE.
Niels Möller [Wed, 15 May 2002 10:57:48 +0000 (12:57 +0200)] 
(aes_decrypt): Use AES_STORE.

Rev: src/nettle/x86/aes-decrypt.asm:1.11

23 years ago*** empty log message ***
Niels Möller [Wed, 15 May 2002 09:43:08 +0000 (11:43 +0200)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.97

23 years ago* x86/aes-encrypt.asm (aes_encrypt): Use AES_SUBST_BYTE.
Niels Möller [Wed, 15 May 2002 09:43:03 +0000 (11:43 +0200)] 
* x86/aes-encrypt.asm (aes_encrypt): Use AES_SUBST_BYTE.
* x86/aes-decrypt.asm (aes_decrypt): Likewise.

Rev: src/nettle/x86/aes-decrypt.asm:1.10

23 years ago(aes_encrypt): Use AES_SUBST_BYTE.
Niels Möller [Wed, 15 May 2002 09:42:05 +0000 (11:42 +0200)] 
(aes_encrypt): Use AES_SUBST_BYTE.

Rev: src/nettle/x86/aes-encrypt.asm:1.16

23 years ago*** empty log message ***
Niels Möller [Wed, 15 May 2002 09:38:53 +0000 (11:38 +0200)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.96

23 years ago* x86/machine.m4: Renamed AES_LAST_ROUND to AES_FINAL_ROUND.
Niels Möller [Wed, 15 May 2002 09:38:37 +0000 (11:38 +0200)] 
* x86/machine.m4: Renamed AES_LAST_ROUND to AES_FINAL_ROUND.
Updated users.

Rev: src/nettle/x86/aes-decrypt.asm:1.9
Rev: src/nettle/x86/aes-encrypt.asm:1.15
Rev: src/nettle/x86/machine.m4:1.7

23 years ago(aes_decrypt): Use AES_LAST_ROUND.
Niels Möller [Wed, 15 May 2002 09:36:50 +0000 (11:36 +0200)] 
(aes_decrypt): Use AES_LAST_ROUND.

Rev: src/nettle/x86/aes-decrypt.asm:1.8

23 years ago(aes_decrypt): Start using AES_ROUND. Fourth word.
Niels Möller [Wed, 15 May 2002 09:27:34 +0000 (11:27 +0200)] 
(aes_decrypt): Start using AES_ROUND. Fourth word.

Rev: src/nettle/x86/aes-decrypt.asm:1.7

23 years ago(aes_decrypt): Start using AES_ROUND. Third word.
Niels Möller [Wed, 15 May 2002 09:25:51 +0000 (11:25 +0200)] 
(aes_decrypt): Start using AES_ROUND. Third word.

Rev: src/nettle/x86/aes-decrypt.asm:1.6

23 years ago(aes_decrypt): Start using AES_ROUND. Second word.
Niels Möller [Wed, 15 May 2002 09:24:29 +0000 (11:24 +0200)] 
(aes_decrypt): Start using AES_ROUND. Second word.

Rev: src/nettle/x86/aes-decrypt.asm:1.5

23 years ago* x86/aes-decrypt.asm (aes_decrypt): Use the AES_LOAD macro.
Niels Möller [Wed, 15 May 2002 09:21:49 +0000 (11:21 +0200)] 
* x86/aes-decrypt.asm (aes_decrypt): Use the AES_LOAD macro.
(aes_decrypt): Start using AES_ROUND.

Rev: src/nettle/x86/aes-decrypt.asm:1.4

23 years ago(aes_decrypt): Use the AES_LOAD macro.
Niels Möller [Wed, 15 May 2002 09:16:45 +0000 (11:16 +0200)] 
(aes_decrypt): Use the AES_LOAD macro.

Rev: src/nettle/x86/aes-decrypt.asm:1.3

23 years ago* x86/aes-decrypt.asm (aes_decrypt): Moved function to a separate
Niels Möller [Wed, 15 May 2002 09:12:22 +0000 (11:12 +0200)] 
* x86/aes-decrypt.asm (aes_decrypt): Moved function to a separate
file...
* x86/aes.asm: ... from here.

Rev: src/nettle/x86/aes-decrypt.asm:1.2
Rev: src/nettle/x86/aes-encrypt.asm:1.14
Rev: src/nettle/x86/aes.asm:1.12

23 years ago(aes_decrypt): Use _aes_decrypt_table instead of
Niels Möller [Wed, 15 May 2002 09:09:31 +0000 (11:09 +0200)] 
(aes_decrypt): Use _aes_decrypt_table instead of
itbl1-4. Commented out the inclusion of aes_tables.asm.

Rev: src/nettle/x86/aes.asm:1.11

23 years ago(aes_decrypt): Use _aes_decrypt_table instead of isbox.
Niels Möller [Wed, 15 May 2002 09:04:42 +0000 (11:04 +0200)] 
(aes_decrypt): Use _aes_decrypt_table instead of isbox.

Rev: src/nettle/x86/aes.asm:1.10

23 years ago(aes_decrypt): Use _aes_decrypt_table instead of
Niels Möller [Wed, 15 May 2002 09:02:38 +0000 (11:02 +0200)] 
(aes_decrypt): Use _aes_decrypt_table instead of
itbl1-4.

Rev: src/nettle/x86/aes.asm:1.9

23 years agoNew file, empty at the start.
Niels Möller [Wed, 15 May 2002 08:53:12 +0000 (10:53 +0200)] 
New file, empty at the start.

Rev: src/nettle/x86/aes-decrypt.asm:1.1

23 years ago(libnettle_a_SOURCES): Added aes-decrypt-table.c.
Niels Möller [Wed, 15 May 2002 08:52:44 +0000 (10:52 +0200)] 
(libnettle_a_SOURCES): Added aes-decrypt-table.c.

Rev: src/nettle/Makefile.am:1.36

23 years ago* aes-decrypt.c (_aes_decrypt_table): Moved from this file...
Niels Möller [Wed, 15 May 2002 08:52:21 +0000 (10:52 +0200)] 
* aes-decrypt.c (_aes_decrypt_table): Moved from this file...
* aes-decrypt-table.c (_aes_decrypt_table): ... to a new file.

Rev: src/nettle/aes-decrypt-table.c:1.1
Rev: src/nettle/aes-decrypt.c:1.3

23 years agoNew file, with the output of
Niels Möller [Wed, 15 May 2002 08:35:57 +0000 (10:35 +0200)] 
New file, with the output of
testsuite/aes-test, when aes.c has been compiled with debugging
printouts of intermediate state.

Rev: src/nettle/testsuite/aes-test.out:1.1

23 years ago* sparc/aes.asm: (_aes_crypt): Restore %fp at end of function, to
Niels Möller [Tue, 14 May 2002 23:48:15 +0000 (01:48 +0200)] 
* sparc/aes.asm: (_aes_crypt): Restore %fp at end of function, to
make %fp available for other uses.

Rev: src/nettle/sparc/aes.asm:1.77

23 years ago* sparc/aes.asm: The frame setup was broken. Tried to fix it.
Niels Möller [Tue, 14 May 2002 23:46:14 +0000 (01:46 +0200)] 
* sparc/aes.asm: The frame setup was broken. Tried to fix it.
Reverted to revision 1.70 + minor changes from the head revision.

Rev: src/nettle/sparc/aes.asm:1.76

23 years ago* sparc/aes.asm: The frame setup was broken. Tried to fix it.
Niels Möller [Tue, 14 May 2002 23:35:37 +0000 (01:35 +0200)] 
* sparc/aes.asm: The frame setup was broken. Tried to fix it.

Rev: src/nettle/sparc/aes.asm:1.75

23 years ago*** empty log message ***
Niels Möller [Tue, 14 May 2002 23:02:10 +0000 (01:02 +0200)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.95

23 years ago(aes_encrypt): Use test instead of cmpl $0,.
Niels Möller [Tue, 14 May 2002 23:02:04 +0000 (01:02 +0200)] 
(aes_encrypt): Use test instead of cmpl $0,.

Rev: src/nettle/x86/aes-encrypt.asm:1.13

23 years ago*** empty log message ***
Niels Möller [Tue, 14 May 2002 22:44:11 +0000 (00:44 +0200)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.94

23 years ago(AES_SUBST_BYTE): New macro.
Niels Möller [Tue, 14 May 2002 22:44:05 +0000 (00:44 +0200)] 
(AES_SUBST_BYTE): New macro.

Rev: src/nettle/x86/machine.m4:1.6

23 years agoGrammar fix.
Niels Möller [Tue, 14 May 2002 22:34:13 +0000 (00:34 +0200)] 
Grammar fix.

Rev: src/nettle/sparc/aes.asm:1.74

23 years agoInstruction alignment tweaks.
Niels Möller [Tue, 14 May 2002 22:31:22 +0000 (00:31 +0200)] 
Instruction alignment tweaks.

Rev: src/nettle/sparc/aes.asm:1.73

23 years ago*** empty log message ***
Niels Möller [Tue, 14 May 2002 22:04:10 +0000 (00:04 +0200)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.93

23 years agowtxt needs no register of it's own, as its
Niels Möller [Tue, 14 May 2002 22:04:02 +0000 (00:04 +0200)] 
wtxt needs no register of it's own, as its
pointed to by %sp. %g5 moved to %l0, the register previously
allocated for wtxt, so that we stay clean of the reserved %g
registers.

Rev: src/nettle/sparc/aes.asm:1.72

23 years ago(_aes_crypt): Allocate only 32 bytes local storage on the stack.
Niels Möller [Tue, 14 May 2002 21:58:21 +0000 (23:58 +0200)] 
(_aes_crypt): Allocate only 32 bytes local storage on the stack.
Calculate wtxt and tmp using offsets from %sp, not %fp.

Rev: src/nettle/sparc/aes.asm:1.71

23 years agoAvoid using %g6 and %g7, as they are reserved for
Niels Möller [Tue, 14 May 2002 20:45:01 +0000 (22:45 +0200)] 
Avoid using %g6 and %g7, as they are reserved for
operating sytem use. Use %i5 and %o7 instead. Also moved %g4 to %g1.

Rev: src/nettle/sparc/aes.asm:1.70

23 years agoAdded fixme on register usage.
Niels Möller [Tue, 14 May 2002 20:15:37 +0000 (22:15 +0200)] 
Added fixme on register usage.

Rev: src/nettle/sparc/aes.asm:1.69

23 years ago*** empty log message ***
Niels Möller [Tue, 14 May 2002 18:35:10 +0000 (20:35 +0200)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.92

23 years ago* x86/aes-encrypt.asm (aes_encrypt): Replaced first quarter of the
Niels Möller [Tue, 14 May 2002 18:35:04 +0000 (20:35 +0200)] 
* x86/aes-encrypt.asm (aes_encrypt): Replaced first quarter of the
round function with an invocation of AES_ROUND.
(aes_encrypt): Similarly for the second column.
(aes_encrypt): Similarly for the rest of the round function.

Rev: src/nettle/x86/aes-encrypt.asm:1.12

23 years ago* x86/aes-encrypt.asm (aes_encrypt): Replaced first quarter of the
Niels Möller [Tue, 14 May 2002 18:19:58 +0000 (20:19 +0200)] 
* x86/aes-encrypt.asm (aes_encrypt): Replaced first quarter of the
round function with an invocation of AES_ROUND.
(aes_encrypt): Similarly for the second column.

Rev: src/nettle/x86/aes-encrypt.asm:1.11

23 years ago*** empty log message ***
Niels Möller [Tue, 14 May 2002 18:17:26 +0000 (20:17 +0200)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.91

23 years ago* x86/aes-encrypt.asm (aes_encrypt): Replaced first quarter of the
Niels Möller [Tue, 14 May 2002 18:17:22 +0000 (20:17 +0200)] 
* x86/aes-encrypt.asm (aes_encrypt): Replaced first quarter of the
round function with an invocation of AES_ROUND.

Rev: src/nettle/x86/aes-encrypt.asm:1.10

23 years ago* x86/machine.m4 (AES_ROUND): New macro.
Niels Möller [Tue, 14 May 2002 18:16:38 +0000 (20:16 +0200)] 
* x86/machine.m4 (AES_ROUND): New macro.

Rev: src/nettle/x86/machine.m4:1.5

23 years agoMinor changes..
Niels Möller [Tue, 14 May 2002 18:07:02 +0000 (20:07 +0200)] 
Minor changes..

Rev: src/nettle/x86/aes-encrypt.asm:1.9

23 years ago*** empty log message ***
Niels Möller [Tue, 14 May 2002 17:50:39 +0000 (19:50 +0200)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.90

23 years ago* x86/aes-encrypt.asm (aes_encrypt): Use AES_LOAD macro.
Niels Möller [Tue, 14 May 2002 17:50:33 +0000 (19:50 +0200)] 
* x86/aes-encrypt.asm (aes_encrypt): Use AES_LOAD macro.

Rev: src/nettle/x86/aes-encrypt.asm:1.8

23 years ago* x86/machine.m4 (AES_LOAD): New macro.
Niels Möller [Tue, 14 May 2002 17:50:02 +0000 (19:50 +0200)] 
* x86/machine.m4 (AES_LOAD): New macro.

Rev: src/nettle/x86/machine.m4:1.4

23 years ago* x86/machine.m4 (AES_STORE): New macro.
Niels Möller [Tue, 14 May 2002 17:39:59 +0000 (19:39 +0200)] 
* x86/machine.m4 (AES_STORE): New macro.

Rev: src/nettle/x86/machine.m4:1.3

23 years ago* x86/aes-encrypt.asm (aes_encrypt): Use AES_STORE.
Niels Möller [Tue, 14 May 2002 17:39:50 +0000 (19:39 +0200)] 
* x86/aes-encrypt.asm (aes_encrypt): Use AES_STORE.

Rev: src/nettle/x86/aes-encrypt.asm:1.7

23 years ago*** empty log message ***
Niels Möller [Tue, 14 May 2002 17:27:31 +0000 (19:27 +0200)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.89

23 years ago(aes_encrypt): Deleted xchgl instruction in final round, by
Niels Möller [Tue, 14 May 2002 17:27:19 +0000 (19:27 +0200)] 
(aes_encrypt): Deleted xchgl instruction in final round, by
reordering the second and fourth round.

Rev: src/nettle/x86/aes-encrypt.asm:1.6

23 years ago* x86/aes-encrypt.asm (aes_encrypt): Use the AES_LAST_ROUND macro
Niels Möller [Tue, 14 May 2002 17:19:26 +0000 (19:19 +0200)] 
* x86/aes-encrypt.asm (aes_encrypt): Use the AES_LAST_ROUND macro
for the first column of the final round.
(aes_encrypt): Similarly for the second column.
(aes_encrypt): Similarly for the third and fourth column.

Rev: src/nettle/ChangeLog:1.88
Rev: src/nettle/x86/aes-encrypt.asm:1.5

23 years ago* x86/aes-encrypt.asm (aes_encrypt): Use the AES_LAST_ROUND macro
Niels Möller [Tue, 14 May 2002 17:15:12 +0000 (19:15 +0200)] 
* x86/aes-encrypt.asm (aes_encrypt): Use the AES_LAST_ROUND macro
for the first column of the final round.
(aes_encrypt): Similarly for the second column.

Rev: src/nettle/x86/aes-encrypt.asm:1.4

23 years ago*** empty log message ***
Niels Möller [Tue, 14 May 2002 17:11:51 +0000 (19:11 +0200)] 
*** empty log message ***

Rev: src/nettle/ChangeLog:1.87

23 years agoIgnore some more stamp files.
Niels Möller [Tue, 14 May 2002 17:11:43 +0000 (19:11 +0200)] 
Ignore some more stamp files.

Rev: src/nettle/.cvsignore:1.10

23 years ago(AES_LAST_ROUND): New macro.
Niels Möller [Tue, 14 May 2002 17:11:06 +0000 (19:11 +0200)] 
(AES_LAST_ROUND): New macro.

Rev: src/nettle/x86/machine.m4:1.2

23 years ago* x86/aes-encrypt.asm (aes_encrypt): Use the AES_LAST_ROUND macro
Niels Möller [Tue, 14 May 2002 17:10:54 +0000 (19:10 +0200)] 
* x86/aes-encrypt.asm (aes_encrypt): Use the AES_LAST_ROUND macro
for the first column of the final round.

Rev: src/nettle/x86/aes-encrypt.asm:1.3

23 years agoAdded some trailing dnl:s. Added quotes to the first argument to define.
Niels Möller [Tue, 14 May 2002 17:09:35 +0000 (19:09 +0200)] 
Added some trailing dnl:s. Added quotes to the first argument to define.

Rev: src/nettle/asm.m4:1.8

23 years ago* x86/aes-encrypt.asm (aes_encrypt): Move code here...
Niels Möller [Tue, 14 May 2002 16:41:21 +0000 (18:41 +0200)] 
* x86/aes-encrypt.asm (aes_encrypt): Move code here...
* x86/aes.asm: ...from here.

Rev: src/nettle/ChangeLog:1.86
Rev: src/nettle/x86/aes-encrypt.asm:1.2
Rev: src/nettle/x86/aes.asm:1.8

23 years ago* x86/aes.asm: Use addl and subl, not add and sub. Replaced
Niels Möller [Tue, 14 May 2002 16:33:03 +0000 (18:33 +0200)] 
* x86/aes.asm: Use addl and subl, not add and sub. Replaced
references to dtbl1-4 with references to _aes_encrypt_table.

* x86/aes.asm (aes_decrypt): Adapted to the current interface.
Notably, the order of the subkeys was reversed. Single block
encrypt/decrypt works now.
(aes_encrypt, aes_decrypt): Added an outer loop, so that we can
encrypt more than one block at a time.

Rev: src/nettle/x86/aes.asm:1.7