]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
*** empty log message ***
authorNiels Möller <nisse@lysator.liu.se>
Tue, 12 Feb 2002 02:37:50 +0000 (03:37 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 12 Feb 2002 02:37:50 +0000 (03:37 +0100)
Rev: src/nettle/ChangeLog:1.66

ChangeLog

index bb09ca5d15f57eae419b6fcd112730df219a6ef7..f83ad1774eb6bcefc6ac64ecf7cbabea773d9726 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,66 @@
+2002-02-12  Niels Möller  <nisse@cuckoo.hack.org>
+
+       * sparc/aes.asm (aes_encrypt): Strength reduced on j, getting rid
+       of one register and one instruction in the inner loop.
+
+       * sparc/aes.asm (idx, aes_encrypt): Multiplied tabled values by 4,
+       making it possible to get rid of some shifts in the inner loop.
+
+       * configure.in: Fixed spelling of --enable-assembler. Commented
+       out debug echo:s.
+
+       * asm.m4: New file. For now, only doing changequote and changecom.  
+
+       * sparc/aes.asm (aes_encrypt): Added comments.
+       (aes_encrypt): Cut off redundant instruction per block, also
+       saving one redundant register pointing to idx.
+       (idx_row): New macro. Include asm.m4.
+
+2002-02-11  Niels Möller  <nisse@cuckoo.hack.org>
+
+       * sparc/aes.asm (key_addition_8to32): Cleaned up.
+       Deleted gcc-generated debugging information.
+
+       * sparc/aes.asm (key_addition32): First attempt at optimization.
+       Made it slower ;-)
+
+       * sparc/aes.asm (key_addition32): Unrolled loop, gained 4%
+       speed, payed four instructions compared to gcc
+       generated code. 
+       
+       * Makefile.am (.asm.o): New rule for assembling via m4.
+       (libnettle_a_SOURCES): Added new rsa and aes files.
+
+       * configure.in: New command line option --enable-assembler.
+       Selects assembler code depending on the host system.
+
+       * rsa-decrypt.c, rsa-encrypt.c: New files for rsa pkcs#1
+       encryption. 
+
+       * aes-set-key.c, aes-tables.c: New files, split off from aes.c.
+       Tables are now not static, but use a _aes_ prefix on their names. 
+
+       * aes-internal.h: New file.
+
+       * cast128-meta.c (_NETTLE_CIPHER_FIX): Use _NETTLE_CIPHER_FIX. 
+
+       * cbc.c (cbc_decrypt_internal): New function, doing the real CBC
+       procesing and requiring that src != dst.
+       (cbc_decrypt): Use cbc_decrypt_internal. If src == dst, use a
+       buffer of limited size to copy the ciphertext.
+
+       * nettle-internal.c (nettle_blowfish128): Fixed definition, with
+       key size in bits.
+
+       * nettle-meta.h (_NETTLE_CIPHER_FIX): New macro, suitable for
+       ciphers with a fixed key size.
+
+       * examples/nettle-benchmark.c (display): New function for
+       displaying the results, including MB/s figures.
+
+       * sparc/aes.asm: New file. Not yet tuned in any way (it's just the
+       code generated by gcc).
+
 2002-02-06  Niels Möller  <nisse@cuckoo.hack.org>
 
        Applied patch from Dan Egnor improving the base64 code.