]>
git.ipfire.org Git - thirdparty/nettle.git/log
Niels Möller [Fri, 14 Oct 2005 21:54:33 +0000 (23:54 +0200)]
* x86/aes-decrypt-internal.asm: New file.
Rev: src/nettle/x86/aes-decrypt-internal.asm:1.1
Niels Möller [Fri, 14 Oct 2005 21:54:08 +0000 (23:54 +0200)]
Trivial whitespace changes.
Rev: src/nettle/x86/aes-encrypt-internal.asm:1.2
Niels Möller [Fri, 14 Oct 2005 21:45:51 +0000 (23:45 +0200)]
Changed AES macros, to handle a table register.
Also take more of the used registers as argument.
Rev: src/nettle/x86/machine.m4:1.9
Niels Möller [Fri, 14 Oct 2005 21:44:07 +0000 (23:44 +0200)]
* x86/aes-encrypt-internal.asm: Rewritten to match new interface,
with the table pointer as an argument. Unlike the old code, this
should really be position independent.
Rev: src/nettle/x86/aes-encrypt-internal.asm:1.1
Niels Möller [Fri, 14 Oct 2005 19:46:54 +0000 (21:46 +0200)]
(OBJDUMP): Use AC_CHECK_TOOL to check for objdump.
(ASM_MARK_NOEXEC_STACK): Use $OBJDUMP when examining the object file.
Rev: src/nettle/configure.ac:1.64
Niels Möller [Fri, 14 Oct 2005 19:41:50 +0000 (21:41 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.343
Niels Möller [Fri, 14 Oct 2005 19:41:39 +0000 (21:41 +0200)]
(nettle_SOURCES): Removed aes.c,
aes-decrypt-table.c. Added aes-decrypt-internal.c and aes-encrypt-internal.c.
Rev: src/nettle/Makefile.in:1.25
Niels Möller [Fri, 14 Oct 2005 19:40:04 +0000 (21:40 +0200)]
Reduced support for AES_SMALL.
Rev: src/nettle/aes-internal.h:1.12
Niels Möller [Fri, 14 Oct 2005 19:39:11 +0000 (21:39 +0200)]
Deleted files.
Rev: src/nettle/aes-decrypt-table.c:1.5(DEAD)
Rev: src/nettle/aes.c:1.13(DEAD)
Niels Möller [Fri, 14 Oct 2005 19:37:52 +0000 (21:37 +0200)]
Reverted move of _aes_encrypt_table.
Rev: src/nettle/aes-encrypt.c:1.7
Niels Möller [Fri, 14 Oct 2005 19:29:25 +0000 (21:29 +0200)]
(_aes_decrypt_table): Moved table here, and made
static.
Rev: src/nettle/aes-decrypt.c:1.6
Niels Möller [Fri, 14 Oct 2005 19:28:51 +0000 (21:28 +0200)]
(_aes_encrypt_table): Moved table here. Still
globally visible, since it is needed by aes_set_encrypt_key.
Rev: src/nettle/aes-encrypt.c:1.6
Niels Möller [Fri, 14 Oct 2005 19:26:18 +0000 (21:26 +0200)]
(_aes_decrypt_table): Don't declare, it's no
longer globally visible.
Rev: src/nettle/aes-internal.h:1.11
Niels Möller [Fri, 14 Oct 2005 19:23:55 +0000 (21:23 +0200)]
Comment changes.
Rev: src/nettle/aes-encrypt-internal.c:1.2
Niels Möller [Fri, 14 Oct 2005 19:23:38 +0000 (21:23 +0200)]
(_nettle_aes_decrypt): New AES decryption
function, analogous to _nettle_aes_encrypt.
Rev: src/nettle/aes-decrypt-internal.c:1.1
Niels Möller [Fri, 14 Oct 2005 13:31:28 +0000 (15:31 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.342
Niels Möller [Fri, 14 Oct 2005 13:30:57 +0000 (15:30 +0200)]
(AES_ROUND, AES_FINAL_ROUND): New macros.
Rev: src/nettle/aes-internal.h:1.10
Niels Möller [Fri, 14 Oct 2005 13:30:13 +0000 (15:30 +0200)]
(_nettle_aes_encrypt): New AES encryption
function, avoiding the tablebased indexing.
Rev: src/nettle/aes-encrypt-internal.c:1.1
Niels Möller [Fri, 14 Oct 2005 13:27:46 +0000 (15:27 +0200)]
* sha1-compress.c: Added debugging code.
* md5-compress.c: Likewise.
Rev: src/nettle/md5-compress.c:1.2
Rev: src/nettle/sha1-compress.c:1.3
Niels Möller [Thu, 13 Oct 2005 15:13:22 +0000 (17:13 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.341
Niels Möller [Thu, 13 Oct 2005 15:13:15 +0000 (17:13 +0200)]
(ASM_MARK_NOEXEC_STACK): Use a diversion, to
substitute the value of ASM_MARK_NOEXEC_STACK at the end of each
assembler file.
Rev: src/nettle/config.m4.in:1.4
Niels Möller [Thu, 13 Oct 2005 15:12:13 +0000 (17:12 +0200)]
* configure.ac (ASM_MARK_NOEXEC_STACK): Check if the C compiler
generates a .note.GNU-stack section. If so, we should do the same
in our assembler files.
Rev: src/nettle/configure.ac:1.63
Niels Möller [Thu, 13 Oct 2005 12:33:37 +0000 (14:33 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.340
Henrik Grubbström (Grubba) [Thu, 13 Oct 2005 12:33:32 +0000 (14:33 +0200)]
New file. Copy of sparc/aes.asm, with minor
changes to the stack frame layout. Patch contributed by Henrik
Grubbström. Not yet tested.
Rev: src/nettle/sparc64/aes.asm:1.1
Rev: src/nettle/sparc64/machine.m4:1.1
Niels Möller [Thu, 13 Oct 2005 12:31:01 +0000 (14:31 +0200)]
Don't allocate space for a stack copy of the input.
Rev: src/nettle/x86/md5-compress.asm:1.5
Niels Möller [Thu, 13 Oct 2005 12:24:14 +0000 (14:24 +0200)]
* x86/md5-compress.asm: Skip copying of input to the stack.
(F1): Fixed bug.
Rev: src/nettle/x86/md5-compress.asm:1.4
Niels Möller [Thu, 13 Oct 2005 12:22:07 +0000 (14:22 +0200)]
Document intermediate values for first
test case.
Rev: src/nettle/testsuite/md5-test.c:1.6
Niels Möller [Thu, 13 Oct 2005 12:21:34 +0000 (14:21 +0200)]
Comment fix.
Rev: src/nettle/testsuite/sha1-test.c:1.4
Niels Möller [Thu, 13 Oct 2005 12:21:18 +0000 (14:21 +0200)]
(asm_path): Check for sparc64, and use sparc64
subdirectory. Link in md5-compress.asm, if it exists.
Rev: src/nettle/configure.ac:1.62
Niels Möller [Thu, 13 Oct 2005 08:53:32 +0000 (10:53 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.339
Niels Möller [Thu, 13 Oct 2005 08:44:49 +0000 (10:44 +0200)]
(REF): Fixed caclulation of offset.
Rev: src/nettle/x86/md5-compress.asm:1.3
Niels Möller [Wed, 12 Oct 2005 20:56:23 +0000 (22:56 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.338
Niels Möller [Wed, 12 Oct 2005 20:56:03 +0000 (22:56 +0200)]
New file, with first attempt at md5 assembler. Not yet working.
Rev: src/nettle/x86/md5-compress.asm:1.2
Niels Möller [Wed, 12 Oct 2005 20:55:51 +0000 (22:55 +0200)]
* x86/machine.m4 (OFFSET): Moved macro, used to be in...
* x86/sha1-compress.asm (OFFSET): ... removed macro.
Rev: src/nettle/x86/machine.m4:1.8
Rev: src/nettle/x86/sha1-compress.asm:1.12
Niels Möller [Tue, 11 Oct 2005 17:10:59 +0000 (19:10 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.337
Niels Möller [Tue, 11 Oct 2005 17:10:25 +0000 (19:10 +0200)]
(nettle_SOURCES): Added md5-compress.c.
Rev: src/nettle/Makefile.in:1.24
Niels Möller [Tue, 11 Oct 2005 17:10:05 +0000 (19:10 +0200)]
Reorganized to use _nettle_md5_compress, in analogy with
sha1.c.
Rev: src/nettle/md5.c:1.9
Niels Möller [Tue, 11 Oct 2005 17:05:28 +0000 (19:05 +0200)]
(_nettle_md5_compress): New file and new function.
Rev: src/nettle/md5-compress.c:1.1
Rev: src/nettle/md5.h:1.8
Niels Möller [Tue, 11 Oct 2005 16:21:27 +0000 (18:21 +0200)]
*** empty log message ***
Rev: src/nettle/x86/md5-compress.asm:1.1
Niels Möller [Mon, 10 Oct 2005 17:27:37 +0000 (19:27 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.336
Niels Möller [Mon, 10 Oct 2005 17:27:32 +0000 (19:27 +0200)]
Ignore sha1-huge-test.
Rev: src/nettle/testsuite/.cvsignore:1.27
Niels Möller [Mon, 10 Oct 2005 17:27:21 +0000 (19:27 +0200)]
(EXTRA_SOURCES, EXTRA_TARGETS): New
variables, for test cases that are not run by default.
Rev: src/nettle/testsuite/Makefile.in:1.14
Niels Möller [Mon, 10 Oct 2005 17:26:26 +0000 (19:26 +0200)]
(test_main): New test case, with a
very large sha1 input.
Rev: src/nettle/testsuite/sha1-huge-test.c:1.1
Niels Möller [Mon, 10 Oct 2005 15:40:54 +0000 (17:40 +0200)]
(test_hash_large): New function.
Rev: src/nettle/testsuite/testutils.c:1.28
Rev: src/nettle/testsuite/testutils.h:1.23
Niels Möller [Mon, 10 Oct 2005 15:40:27 +0000 (17:40 +0200)]
(sha1_block): Deleted function; inlined where used.
(SHA1_INCR): New macro for incrementing the block count.
Rev: src/nettle/sha1.c:1.12
Niels Möller [Thu, 6 Oct 2005 19:38:18 +0000 (21:38 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.335
Niels Möller [Thu, 6 Oct 2005 19:38:08 +0000 (21:38 +0200)]
* configure.ac: Bumped version to 1.14.
Rev: src/nettle/configure.ac:1.61
Niels Möller [Thu, 6 Oct 2005 19:12:14 +0000 (21:12 +0200)]
Check for openssl/aes.h.
Rev: src/nettle/ChangeLog:1.334
Rev: src/nettle/configure.ac:1.60
Niels Möller [Thu, 6 Oct 2005 18:35:55 +0000 (20:35 +0200)]
(distdir): Use a loop to pick up the contents of
$(DISTFILES) from source and build directories. For some reason,
$? failed to find stamp-h.in in the source directory.
Rev: src/nettle/ChangeLog:1.333
Rev: src/nettle/Makefile.in:1.23
Niels Möller [Wed, 5 Oct 2005 21:24:58 +0000 (23:24 +0200)]
Mention windows support.
Rev: src/nettle/NEWS:1.22
Niels Möller [Wed, 5 Oct 2005 21:24:36 +0000 (23:24 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.332
Niels Möller [Wed, 5 Oct 2005 21:23:06 +0000 (23:23 +0200)]
* x86/aes-decrypt.asm: Use C_NAME(_nettle_aes_decrypt_table) when
using the AES_SUBST_BYTE macro. Use PROLOGUE and EPILOGUE.
* x86/sha1-compress.asm: Use PROLOGUE and EPILOGUE.
* x86/arcfour-crypt.asm: Likewise.
* x86/aes-encrypt.asm: Likewise.
Rev: src/nettle/x86/aes-encrypt.asm:1.22
Rev: src/nettle/x86/arcfour-crypt.asm:1.13
Rev: src/nettle/x86/sha1-compress.asm:1.11
Niels Möller [Wed, 5 Oct 2005 21:21:35 +0000 (23:21 +0200)]
Use C_NAME(_nettle_aes_decrypt_table) when
using the AES_SUBST_BYTE macro. Use PROLOGUE and EPILOGUE.
Rev: src/nettle/x86/aes-decrypt.asm:1.21
Niels Möller [Wed, 5 Oct 2005 21:19:45 +0000 (23:19 +0200)]
(ELF_STYLE): Substitute configure's ASM_ELF_STYLE.
Rev: src/nettle/config.m4.in:1.3
Niels Möller [Wed, 5 Oct 2005 21:19:05 +0000 (23:19 +0200)]
(PROLOGUE, EPILOGUE): New macros, checking the value of
ELF_STYLE. So far, used and tested only for the x86 assembler
files, and needed to make the assembler happy both with ELF
(linux, solaris) and COFF (windows).
Rev: src/nettle/asm.m4:1.11
Niels Möller [Wed, 5 Oct 2005 21:16:45 +0000 (23:16 +0200)]
* configure.ac (NM): Use AC_CHECK_TOOL to check for nm.
(ASM_SYMBOL_PREFIX): Use $NM when examining the object file.
(ASM_ELF_STYLE): New variable. Set to 'yes' if assembling a file
with ELF-style .type and .size pseudo ops works.
Rev: src/nettle/configure.ac:1.59
Niels Möller [Wed, 5 Oct 2005 15:55:54 +0000 (17:55 +0200)]
Ignore nettle.pdf. Removed entries for automake stamp files.
Rev: src/nettle/.cvsignore:1.18
Niels Möller [Wed, 5 Oct 2005 15:51:33 +0000 (17:51 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.331
Rev: src/nettle/NEWS:1.21
Niels Möller [Wed, 5 Oct 2005 15:39:10 +0000 (17:39 +0200)]
(TARGETS, DISTFILES): Added nettle.pdf.
(.texinfo.dvi, .dvi.ps, .ps.pdf): New targets, to build nettle.pdf.
(DOCTARGETS): New variable with targets that shouldn't be deleted
by make clean.
(maintainer-clean-here): New target. Deletes generated
documentation files.
Rev: src/nettle/Makefile.in:1.22
Niels Möller [Wed, 5 Oct 2005 15:26:43 +0000 (17:26 +0200)]
Define AUTHOR with accents, when running in TeX
mode, which doesn't handle latin-1 properly. Set UPDATED-FOR to
1.13. Updated copyright years, and introduced a COPYRIGHT-YEARS
symbol. Updated copyright section, to mention assembler
implementations.
(Cipher modes): Transformed the Cipher Block Chaining to a section
Cipher modes, describing both CBC and the new CTR mode.
Rev: src/nettle/nettle.texinfo:1.32
Niels Möller [Wed, 5 Oct 2005 14:57:00 +0000 (16:57 +0200)]
Comment fixes.
Rev: src/nettle/sha256.c:1.4
Niels Möller [Wed, 5 Oct 2005 14:56:43 +0000 (16:56 +0200)]
Deleted unused file.
Rev: src/nettle/x86/aes_tables.asm:1.2(DEAD)
Niels Möller [Wed, 5 Oct 2005 14:56:16 +0000 (16:56 +0200)]
Deleted contents. This file is needed just to
override aes.c, which isn't needed for the x86 implementation.
Rev: src/nettle/x86/aes.asm:1.13
Niels Möller [Wed, 5 Oct 2005 14:23:47 +0000 (16:23 +0200)]
(SHLIBMINOR): Increased minor number. Library
version is now libnettle.so.2.4, soname still libnettle.so.2.
Rev: src/nettle/configure.ac:1.58
Niels Möller [Wed, 5 Oct 2005 10:42:41 +0000 (12:42 +0200)]
(main): Reordered hash benchmarks.
Rev: src/nettle/examples/nettle-benchmark.c:1.16
Niels Möller [Wed, 5 Oct 2005 10:42:02 +0000 (12:42 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.330
Niels Möller [Wed, 5 Oct 2005 10:40:45 +0000 (12:40 +0200)]
(EXPAND): Use % 16 instead of & 15 to
compute offsets mod 16, since m4 on FreeBSD 49.RELEASE and NetBSD
doesn't implement & correctly in eval.
Rev: src/nettle/x86/sha1-compress.asm:1.10
Niels Möller [Mon, 3 Oct 2005 19:26:28 +0000 (21:26 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.329
Niels Möller [Mon, 3 Oct 2005 19:25:52 +0000 (21:25 +0200)]
(OFFSET): New macro.
(F3): Eliminated a movl.
(ROUNd): New argument, for k. When using F3, it's TMP3, on the
stack, otherwise, it is kept in TMP2, a register.
Rev: src/nettle/x86/sha1-compress.asm:1.9
Niels Möller [Mon, 3 Oct 2005 12:56:27 +0000 (14:56 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.328
Niels Möller [Mon, 3 Oct 2005 12:56:23 +0000 (14:56 +0200)]
Use correct block sizes for openssl
ciphers.
Rev: src/nettle/examples/nettle-openssl.c:1.8
Niels Möller [Mon, 3 Oct 2005 12:55:43 +0000 (14:55 +0200)]
Also display cycles per block.
Rev: src/nettle/examples/nettle-benchmark.c:1.15
Niels Möller [Sun, 2 Oct 2005 20:54:01 +0000 (22:54 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.327
Niels Möller [Sun, 2 Oct 2005 20:53:57 +0000 (22:53 +0200)]
(_nettle_sha1_compress): Updated to new
interface. Now responsible for byte conversion.
Rev: src/nettle/sha1-compress.c:1.2
Niels Möller [Sun, 2 Oct 2005 20:44:06 +0000 (22:44 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.326
Niels Möller [Sun, 2 Oct 2005 20:44:03 +0000 (22:44 +0200)]
(_nettle_sha1_compress): Changed interface. Second
argument is now a pointer to the input data in unaligned,
big-endian form.
Rev: src/nettle/sha.h:1.6
Niels Möller [Sun, 2 Oct 2005 20:43:42 +0000 (22:43 +0200)]
(_nettle_sha1_compress): Do byte order
conversion, and store the input data on the stack. This leaves one
more register free for other uses.
Rev: src/nettle/x86/sha1-compress.asm:1.8
Niels Möller [Sun, 2 Oct 2005 20:42:23 +0000 (22:42 +0200)]
Now display cycles/byte, if the -f
option is used to say what the clock frequency is.
Rev: src/nettle/examples/nettle-benchmark.c:1.14
Niels Möller [Sun, 2 Oct 2005 20:41:30 +0000 (22:41 +0200)]
(sha1_block): Don't convert data from uint8_t to
uint32_t, that's now the responsibility of _nettle_sha1_compress.
Rev: src/nettle/sha1.c:1.11
Niels Möller [Wed, 28 Sep 2005 13:57:25 +0000 (15:57 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.325
Niels Möller [Wed, 28 Sep 2005 13:57:21 +0000 (15:57 +0200)]
New comment.
Rev: src/nettle/x86/sha1-compress.asm:1.7
Niels Möller [Wed, 28 Sep 2005 13:56:51 +0000 (15:56 +0200)]
(sha1_final): Call sha1_block, don't call the compression
function _nettle_sha1_compress directly.
Rev: src/nettle/sha1.c:1.10
Niels Möller [Wed, 28 Sep 2005 13:54:45 +0000 (15:54 +0200)]
* nettle-internal.h (nettle_openssl_md5)
(nettle_openssl_sha1): Declare.
Rev: src/nettle/nettle-internal.h:1.9
Niels Möller [Wed, 28 Sep 2005 13:53:55 +0000 (15:53 +0200)]
* examples/nettle-benchmark.c (main): Benchmark openssl md5 and
sha1.
Rev: src/nettle/examples/nettle-benchmark.c:1.13
Niels Möller [Wed, 28 Sep 2005 13:53:18 +0000 (15:53 +0200)]
* examples/nettle-openssl.c (nettle_openssl_md5)
(nettle_openssl_sha1): Added glue for openssl hash functions.
Rev: src/nettle/examples/nettle-openssl.c:1.7
Niels Möller [Wed, 28 Sep 2005 10:38:48 +0000 (12:38 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.324
Niels Möller [Wed, 28 Sep 2005 10:38:38 +0000 (12:38 +0200)]
(nettle_openssl_aes128, nettle_openssl_aes192)
(nettle_openssl_aes256, nettle_openssl_arcfour128): Declare.
Rev: src/nettle/nettle-internal.h:1.8
Niels Möller [Wed, 28 Sep 2005 10:37:28 +0000 (12:37 +0200)]
Check WITH_OPENSSL, not
HAVE_LIBCRYPTO. Benchmark openssl's aes and arcfour code.
Rev: src/nettle/examples/nettle-benchmark.c:1.12
Niels Möller [Wed, 28 Sep 2005 10:36:31 +0000 (12:36 +0200)]
Updated openssl des glue to use the
new openssl DES interface. Added glue for arcfour and aes.
Rev: src/nettle/examples/nettle-openssl.c:1.6
Niels Möller [Tue, 27 Sep 2005 18:31:10 +0000 (20:31 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.323
Niels Möller [Tue, 27 Sep 2005 18:31:00 +0000 (20:31 +0200)]
(RSA): Improved text about the RSA patent.
Use @documentencoding ISO-8859-1.
Rev: src/nettle/nettle.texinfo:1.31
Niels Möller [Mon, 26 Sep 2005 16:54:01 +0000 (18:54 +0200)]
Fixed left-over references to md5 in the comment header. Noticed by
Torbjörn Granlund.
Rev: src/nettle/pkcs1-rsa-sha1.c:1.4
Niels Möller [Wed, 7 Sep 2005 08:32:29 +0000 (10:32 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.322
Niels Möller [Wed, 7 Sep 2005 08:32:18 +0000 (10:32 +0200)]
(parse_options): New option --raw-hash, for
compatibility with lsh-1.x. Equivalent to --hash.
Rev: src/nettle/tools/sexp-conv.c:1.19
Niels Möller [Tue, 6 Sep 2005 12:11:00 +0000 (14:11 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.321
Niels Möller [Tue, 6 Sep 2005 12:10:53 +0000 (14:10 +0200)]
(main): With --hash, output a newline after
each hash.
Rev: src/nettle/tools/sexp-conv.c:1.18
Niels Möller [Wed, 13 Jul 2005 16:30:20 +0000 (18:30 +0200)]
*** empty log message ***
Rev: src/nettle/TODO:1.9
Niels Möller [Sat, 2 Jul 2005 17:06:13 +0000 (19:06 +0200)]
*** empty log message ***
Rev: src/nettle/ChangeLog:1.320
Niels Möller [Sat, 2 Jul 2005 17:05:25 +0000 (19:05 +0200)]
* testsuite/ctr-test.c: New file.
Rev: src/nettle/testsuite/.cvsignore:1.26
Rev: src/nettle/testsuite/ctr-test.c:1.1
Niels Möller [Sat, 2 Jul 2005 17:03:18 +0000 (19:03 +0200)]
* testsuite/Makefile.in (TS_SOURCES): Added ctr-test.c.
Rev: src/nettle/testsuite/Makefile.in:1.13