]> git.ipfire.org Git - thirdparty/nettle.git/log
thirdparty/nettle.git
14 years agoTypo fix.
Niels Möller [Thu, 10 Feb 2011 19:29:34 +0000 (20:29 +0100)] 
Typo fix.

Rev: nettle/testsuite/gcm-test.c:1.6

14 years ago*** empty log message ***
Niels Möller [Thu, 10 Feb 2011 19:09:43 +0000 (20:09 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.147

14 years ago(die): New function.
Niels Möller [Thu, 10 Feb 2011 19:09:36 +0000 (20:09 +0100)] 
(die): New function.
(TIME_END, TIME_START): Check return value from clock_gettime.

Rev: nettle/examples/nettle-benchmark.c:1.18

14 years ago(union gcm_block): Use correct length for w array.
Niels Möller [Thu, 10 Feb 2011 10:21:21 +0000 (11:21 +0100)] 
(union gcm_block): Use correct length for w array.

Rev: nettle/ChangeLog:1.146
Rev: nettle/gcm.h:1.9

14 years ago*** empty log message ***
Niels Möller [Thu, 10 Feb 2011 10:11:43 +0000 (11:11 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.145

14 years ago(test_main): Added the rest of the testcases from the spec.
Niels Möller [Thu, 10 Feb 2011 10:11:18 +0000 (11:11 +0100)] 
(test_main): Added the rest of the testcases from the spec.

Rev: nettle/testsuite/gcm-test.c:1.5

14 years agoAdded more test cases.
Niels Möller [Thu, 10 Feb 2011 09:31:37 +0000 (10:31 +0100)] 
Added more test cases.

Rev: nettle/testsuite/gcm-test.c:1.4

14 years ago*** empty log message ***
Niels Möller [Wed, 9 Feb 2011 21:58:42 +0000 (22:58 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.144

14 years ago* testsuite/gcm-test.c (test_main): Enabled testcases 5 and 6,
Niels Möller [Wed, 9 Feb 2011 21:58:25 +0000 (22:58 +0100)] 
* testsuite/gcm-test.c (test_main): Enabled testcases 5 and 6,
with different IV lengths.

Rev: nettle/testsuite/gcm-test.c:1.3

14 years ago* gcm-aes.c (gcm_aes_set_iv): Updated for gcm_set_iv change.
Niels Möller [Wed, 9 Feb 2011 21:57:40 +0000 (22:57 +0100)] 
* gcm-aes.c (gcm_aes_set_iv): Updated for gcm_set_iv change.

Rev: nettle/gcm-aes.c:1.2

14 years ago* gcm.c (gcm_hash_sizes): New function.
Niels Möller [Wed, 9 Feb 2011 21:57:05 +0000 (22:57 +0100)] 
* gcm.c (gcm_hash_sizes): New function.
(gcm_set_iv): Added support for IVs of arbitrary size. Needed
another argument, for the hash subkey.
(gcm_digest): Use gcm_hash_sizes.

Rev: nettle/gcm.c:1.13
Rev: nettle/gcm.h:1.8

14 years ago*** empty log message ***
Niels Möller [Wed, 9 Feb 2011 21:35:34 +0000 (22:35 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.143

14 years ago(time_gmac): Use gcm_aes interface.
Niels Möller [Wed, 9 Feb 2011 21:35:18 +0000 (22:35 +0100)] 
(time_gmac): Use gcm_aes interface.

Rev: nettle/examples/nettle-benchmark.c:1.17

14 years ago* testsuite/gcm-test.c (test_gcm_aes): New function, replacing
Niels Möller [Wed, 9 Feb 2011 21:34:46 +0000 (22:34 +0100)] 
* testsuite/gcm-test.c (test_gcm_aes): New function, replacing
test_cipher_gcm and using the new gcm_aes interface.
(test_main): Updated to use test_gcm_aes.
* testsuite/testutils.c (test_cipher_gcm): Deleted function.

Rev: nettle/testsuite/gcm-test.c:1.2
Rev: nettle/testsuite/testutils.c:1.13
Rev: nettle/testsuite/testutils.h:1.7

14 years ago(nettle_SOURCES): Added gcm-aes.c.
Niels Möller [Wed, 9 Feb 2011 21:32:08 +0000 (22:32 +0100)] 
(nettle_SOURCES): Added gcm-aes.c.

Rev: nettle/Makefile.in:1.31

14 years agoNew file.
Niels Möller [Wed, 9 Feb 2011 21:31:20 +0000 (22:31 +0100)] 
New file.
(gcm_aes_set_key): New function.
(gcm_aes_set_iv): Likewise.
(gcm_aes_auth): Likewise.
(gcm_aes_encrypt): Likewise.
(gcm_aes_decrypt): Likewise.
(gcm_aes_digest): Likewise.

Rev: nettle/gcm-aes.c:1.1

14 years ago* gcm.c (gcm_set_key): Replaced context argument by a struct
Niels Möller [Wed, 9 Feb 2011 21:31:07 +0000 (22:31 +0100)] 
* gcm.c (gcm_set_key): Replaced context argument by a struct
gcm_key *.
(gcm_hash): Replaced context argument by a struct gcm_key * and a
pointer to the hashing state block.
(gcm_auth): Added struct gcm_key * argument.
(gcm_encrypt): Likewise.
(gcm_decrypt): Likewise.
(gcm_digest): Likewise.

* gcm.h (struct gcm_key): Moved the key-dependent and
message-independent state to its own struct.
(struct gcm_ctx): ... and removed it here.
(GCM_CTX): New macro.
(GCM_SET_KEY): Likewise.
(GCM_AUTH): Likewise.
(GCM_ENCRYPT): Likewise.
(GCM_DECRYPT): Likewise.
(GCM_DIGEST): Likewise.
(struct gcm_aes_ctx): New struct.

Rev: nettle/ChangeLog:1.142
Rev: nettle/gcm.c:1.12
Rev: nettle/gcm.h:1.7

14 years ago*** empty log message ***
Niels Möller [Tue, 8 Feb 2011 20:11:49 +0000 (21:11 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.141

14 years ago* gcm.h (struct gcm_ctx): The hash key is now always an array,
Niels Möller [Tue, 8 Feb 2011 20:11:35 +0000 (21:11 +0100)] 
* gcm.h (struct gcm_ctx): The hash key is now always an array,
named h, with array size depending on GCM_TABLE_BITS.

Rev: nettle/gcm.h:1.6

14 years ago* gcm.c (gcm_gf_shift): Added a separate result argument.
Niels Möller [Tue, 8 Feb 2011 20:07:06 +0000 (21:07 +0100)] 
* gcm.c (gcm_gf_shift): Added a separate result argument.
(gcm_gf_mul): Compile bitwise version only when GCM_TABLE_BITS ==
0. Simplified interface with just two arguments pointing to
complete blocks.
(gcm_gf_shift_4, gcm_gf_shift_8): Renamed table-based functions, from...
(gcm_gf_shift_chunk): ... old name.
(gcm_gf_mul): Renamed both table-based versions and made the
argument types compatible with the bitwise gcm_gf_mul.
(gcm_gf_mul_chunk): ... the old name.
(gcm_set_key): Initialize the table using adds and shifts only.
When GCM_TABLE_BITS > 0, this eliminates the only use of the
bitwise multiplication.
(gcm_hash): Simplified, now that we have the same interface for
gcm_gf_mul, regardless of table size.

Rev: nettle/ChangeLog:1.140
Rev: nettle/gcm.c:1.11

14 years ago* gcm.c (GHASH_POLYNOMIAL): Use unsigned long for this constant.
Niels Möller [Tue, 8 Feb 2011 11:20:38 +0000 (12:20 +0100)] 
* gcm.c (GHASH_POLYNOMIAL): Use unsigned long for this constant.
(gcm_gf_shift_chunk): Fixed bugs for the big endian 64-bit case,
e.g., sparc64. For both 4-bit and 8-bit tables.

Rev: nettle/ChangeLog:1.139
Rev: nettle/gcm.c:1.10

14 years ago* gcm.c: Use the new union gcm_block for all gf operations.
Niels Möller [Tue, 8 Feb 2011 10:42:54 +0000 (11:42 +0100)] 
* gcm.c: Use the new union gcm_block for all gf operations.

* gcm.h (union gcm_block): New union, used to enforce alignment.

Rev: nettle/ChangeLog:1.138
Rev: nettle/gcm.c:1.9
Rev: nettle/gcm.h:1.5

14 years ago* gcm.c (gcm_gf_shift_chunk) : Bug fix for little-endian 8-bit
Niels Möller [Mon, 7 Feb 2011 21:17:22 +0000 (22:17 +0100)] 
* gcm.c (gcm_gf_shift_chunk) : Bug fix for little-endian 8-bit
tables.

Rev: nettle/ChangeLog:1.137
Rev: nettle/gcm.c:1.8

14 years ago*** empty log message ***
Niels Möller [Mon, 7 Feb 2011 20:33:15 +0000 (21:33 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.136

14 years ago* gcm.c (gcm_gf_mul_chunk): Special case first and last iteration.
Niels Möller [Mon, 7 Feb 2011 20:33:10 +0000 (21:33 +0100)] 
* gcm.c (gcm_gf_mul_chunk): Special case first and last iteration.
(gcm_gf_add): New function, a special case of memxor. Use it for
all memxor calls with word-aligned 16 byte blocks. Improves
performance to 152 cycles/byte with no tables, 28 cycles per byte
with 4-bit tables and 10.5 cycles per byte with 8-bit tables.

Rev: nettle/gcm.c:1.7

14 years ago*** empty log message ***
Niels Möller [Mon, 7 Feb 2011 12:36:30 +0000 (13:36 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.135

14 years ago(gcm_gf_shift_chunk): New implementation for 8-bit tables.
Niels Möller [Mon, 7 Feb 2011 12:10:15 +0000 (13:10 +0100)] 
(gcm_gf_shift_chunk): New implementation for 8-bit tables.
(gcm_gf_mul_chunk): Likewise.
(gcm_set_key): Generate 8-bit tables.

Rev: nettle/gcm.c:1.6

14 years ago(SOURCES): Added gcmdata.c.
Niels Möller [Mon, 7 Feb 2011 08:52:28 +0000 (09:52 +0100)] 
(SOURCES): Added gcmdata.c.

Rev: nettle/ChangeLog:1.134
Rev: nettle/Makefile.in:1.30

14 years ago*** empty log message ***
Niels Möller [Mon, 7 Feb 2011 08:51:18 +0000 (09:51 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.133

14 years ago(GCM_TABLE_BITS): Set to 4.
Niels Möller [Mon, 7 Feb 2011 08:46:16 +0000 (09:46 +0100)] 
(GCM_TABLE_BITS): Set to 4.

Rev: nettle/gcm.h:1.4

14 years ago*** empty log message ***
Niels Möller [Sun, 6 Feb 2011 21:03:48 +0000 (22:03 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.132

14 years ago(TARGETS): Added gcmdata.
Niels Möller [Sun, 6 Feb 2011 21:03:18 +0000 (22:03 +0100)] 
(TARGETS): Added gcmdata.
(gcmdata): New rule.

Rev: nettle/Makefile.in:1.29

14 years agoIntroduced 4-bit tables. Gives gmac performance of 45 cycles per
Niels Möller [Sun, 6 Feb 2011 21:02:16 +0000 (22:02 +0100)] 
Introduced 4-bit tables. Gives gmac performance of 45 cycles per
byte (still on intel x86_64).
* gcm.c (gcm_gf_shift): Renamed. Tweaked little-endian masks.
(gcm_rightshift): ... old name.
(gcm_gf_mul): New argument for the output. Added length argument
for one of the inputs (implicitly padding with zeros).
(shift_table): New table (in 4-bit and 8-bit versions), generated
by gcmdata.
(gcm_gf_shift_chunk): New function shifting 4 bits at
a time.
(gcm_gf_mul_chunk): New function processing 4 bits at a time.
(gcm_set_key): Generation of 4-bit key table.
(gcm_hash): Use tables, when available.

Rev: nettle/gcm.c:1.5

14 years ago(main): New file.
Niels Möller [Sun, 6 Feb 2011 20:53:03 +0000 (21:53 +0100)] 
(main): New file.

Rev: nettle/gcmdata.c:1.1

14 years ago*** empty log message ***
Niels Möller [Sun, 6 Feb 2011 17:15:20 +0000 (18:15 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.131

14 years ago* gcm.c (gcm_rightshift): Moved the reduction of the shifted out
Niels Möller [Sun, 6 Feb 2011 17:15:04 +0000 (18:15 +0100)] 
* gcm.c (gcm_rightshift): Moved the reduction of the shifted out
bit here.
(gcm_gf_mul): Updated for gcm_rightshift change. Improves gmac
performance to 181 cycles/byte.

Rev: nettle/gcm.c:1.4

14 years ago*** empty log message ***
Niels Möller [Sun, 6 Feb 2011 14:41:22 +0000 (15:41 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.130

14 years ago(gcm_gf_mul): Rewrote. Still uses the bitwise algorithm from the
Niels Möller [Sun, 6 Feb 2011 14:41:09 +0000 (15:41 +0100)] 
(gcm_gf_mul): Rewrote. Still uses the bitwise algorithm from the
specification, but with separate byte and bit loops. Improves gmac
performance a bit further, to 227 cycles/byte.

Rev: nettle/gcm.c:1.3

14 years ago(gcm_rightshift): Complete rewrite, to use word rather
Niels Möller [Sun, 6 Feb 2011 14:07:33 +0000 (15:07 +0100)] 
(gcm_rightshift): Complete rewrite, to use word rather
than byte operations. Improves gmac performance from 830 cycles /
byte to (still poor) 268 cycles per byte on intel x86_64.

Rev: nettle/gcm.c:1.2

14 years agoTypo fix.
Niels Möller [Sat, 5 Feb 2011 22:54:43 +0000 (23:54 +0100)] 
Typo fix.

Rev: nettle/gcm.h:1.3

14 years ago*** empty log message ***
Niels Möller [Sat, 5 Feb 2011 22:49:57 +0000 (23:49 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.129

14 years ago(time_gmac): New function.
Niels Möller [Sat, 5 Feb 2011 22:49:33 +0000 (23:49 +0100)] 
(time_gmac): New function.
(main): Call time_gmac.

Rev: nettle/examples/nettle-benchmark.c:1.16

14 years ago* gcm.h: New file, contributed by Nikos Mavrogiannopoulos.
Niels Möller [Sat, 5 Feb 2011 22:48:23 +0000 (23:48 +0100)] 
* gcm.h: New file, contributed by Nikos Mavrogiannopoulos.

Rev: nettle/gcm.h:1.2

14 years ago(TS_NETTLE_SOURCES): Added gcm-test.c.
Niels Möller [Sat, 5 Feb 2011 22:48:02 +0000 (23:48 +0100)] 
(TS_NETTLE_SOURCES): Added gcm-test.c.

Rev: nettle/testsuite/Makefile.in:1.12

14 years agoAdded gcm-test rule.
Niels Möller [Sat, 5 Feb 2011 22:47:31 +0000 (23:47 +0100)] 
Added gcm-test rule.

Rev: nettle/testsuite/.test-rules.make:1.9

14 years ago(test_cipher_gcm): New function, contributed by Nikos
Nikos Mavrogiannopoulos [Sat, 5 Feb 2011 22:47:11 +0000 (23:47 +0100)] 
(test_cipher_gcm): New function, contributed by Nikos
Mavrogiannopoulos.

Rev: nettle/testsuite/testutils.c:1.12
Rev: nettle/testsuite/testutils.h:1.6

14 years agoNew file, contributed by Nikos Mavrogiannopoulos.
Nikos Mavrogiannopoulos [Sat, 5 Feb 2011 22:46:12 +0000 (23:46 +0100)] 
New file, contributed by Nikos Mavrogiannopoulos.

Rev: nettle/testsuite/gcm-test.c:1.1

14 years ago(nettle_SOURCES): Added gcm.c.
Niels Möller [Sat, 5 Feb 2011 22:23:05 +0000 (23:23 +0100)] 
(nettle_SOURCES): Added gcm.c.
(HEADERS): Added gcm.h.

Rev: nettle/Makefile.in:1.28

14 years ago* gcm.c: New file.
Nikos Mavrogiannopoulos [Sat, 5 Feb 2011 22:22:25 +0000 (23:22 +0100)] 
* gcm.c: New file.
* gcm.h: New file.

Rev: nettle/gcm.c:1.1
Rev: nettle/gcm.h:1.1

14 years ago* macros.h (INCREMENT): New macro, moved from ctr.c. Deleted third
Niels Möller [Sat, 5 Feb 2011 22:12:15 +0000 (23:12 +0100)] 
* macros.h (INCREMENT): New macro, moved from ctr.c. Deleted third
argument.
* ctr.c: Use INCREMENT macro from macros.h, deleted local version.

Rev: nettle/ChangeLog:1.128
Rev: nettle/ctr.c:1.2
Rev: nettle/macros.h:1.3

14 years ago*** empty log message ***
Niels Möller [Fri, 7 Jan 2011 21:44:19 +0000 (22:44 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.127

14 years ago(check): Add ../.lib to PATH, since that's
Niels Möller [Fri, 7 Jan 2011 21:44:02 +0000 (22:44 +0100)] 
(check): Add ../.lib to PATH, since that's
where w*ndows looks for dlls.

Rev: nettle/testsuite/Makefile.in:1.11

14 years ago*** empty log message ***
Niels Möller [Fri, 7 Jan 2011 21:28:45 +0000 (22:28 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.126

14 years ago(test_cipher_stream): More debug output on failure.
Niels Möller [Fri, 7 Jan 2011 21:24:29 +0000 (22:24 +0100)] 
(test_cipher_stream): More debug output on failure.

Rev: nettle/testsuite/testutils.c:1.11

14 years ago*** empty log message ***
Niels Möller [Tue, 14 Dec 2010 15:22:54 +0000 (16:22 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.125

14 years ago* nettle-types.h: Deleted some unnecessary parenthesis from
Niels Möller [Tue, 14 Dec 2010 15:22:39 +0000 (16:22 +0100)] 
* nettle-types.h: Deleted some unnecessary parenthesis from
function typedefs.
(nettle_realloc_func): Moved typedef here...
* realloc.h: ...from here.

Rev: nettle/nettle-types.h:1.3
Rev: nettle/realloc.h:1.2

14 years ago(nettle_buffer_init_realloc): Use an explicit pointer for realloc
Niels Möller [Tue, 14 Dec 2010 15:19:44 +0000 (16:19 +0100)] 
(nettle_buffer_init_realloc): Use an explicit pointer for realloc
argument.

Rev: nettle/buffer.c:1.2
Rev: nettle/buffer.h:1.2

14 years agoDeleted old FIXME comment.
Niels Möller [Mon, 13 Dec 2010 21:21:34 +0000 (22:21 +0100)] 
Deleted old FIXME comment.

Rev: nettle/der2dsa.c:1.5

14 years ago(Copyright): Updated info on blowfish.
Niels Möller [Tue, 7 Dec 2010 13:10:12 +0000 (14:10 +0100)] 
(Copyright): Updated info on blowfish.

Rev: nettle/ChangeLog:1.124
Rev: nettle/nettle.texinfo:1.16

14 years agoIndentation change.
Niels Möller [Fri, 26 Nov 2010 22:25:23 +0000 (23:25 +0100)] 
Indentation change.

Rev: nettle/blowfish.c:1.6

14 years agoReapplied optimizations (150% speedup on x86_32) and other fixes,
Niels Möller [Fri, 26 Nov 2010 22:25:02 +0000 (23:25 +0100)] 
Reapplied optimizations (150% speedup on x86_32) and other fixes,
relicensing them as LGPL.
* blowfish.c (do_encrypt): Renamed, to...
(encrypt): ...new name.
(F): Added context argument. Shift input explicitly, instead of
reading individual bytes via memory.
(R): Added context argument.
(encrypt): Deleted a bunch of local variables. Using the context
pointer for everything should consume less registers.
(decrypt): Likewise.
(initial_ctx): Arrange constants into a struct, to simplify key setup.
(blowfish_set_key): Some simplification.

Rev: nettle/ChangeLog:1.123
Rev: nettle/blowfish.c:1.5

14 years ago*** empty log message ***
Simon Josefsson [Fri, 26 Nov 2010 18:53:43 +0000 (19:53 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.122
Rev: nettle/blowfish.c:1.4

14 years ago(install-shared-nettle): Use INSTALL_DATA, which
Niels Möller [Thu, 25 Nov 2010 14:49:48 +0000 (15:49 +0100)] 
(install-shared-nettle): Use INSTALL_DATA, which
clears the execute permission bits.
(install-shared-hogweed): Likewise.

Rev: nettle/ChangeLog:1.121
Rev: nettle/Makefile.in:1.27

14 years agoAdded real name.
Niels Möller [Tue, 23 Nov 2010 09:29:37 +0000 (10:29 +0100)] 
Added real name.

Rev: nettle/index.html:1.4

14 years ago*** empty log message ***
Niels Möller [Tue, 16 Nov 2010 12:25:47 +0000 (13:25 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.120

14 years agoUpdated GMP url.
Niels Möller [Tue, 16 Nov 2010 12:25:29 +0000 (13:25 +0100)] 
Updated GMP url.

Rev: nettle/configure.ac:1.28

14 years ago*** empty log message ***
Niels Möller [Mon, 1 Nov 2010 10:38:02 +0000 (11:38 +0100)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.119

14 years ago(werror): Don't call exit (copy&paste-error).
Niels Möller [Mon, 1 Nov 2010 10:32:04 +0000 (11:32 +0100)] 
(werror): Don't call exit (copy&paste-error).

Rev: nettle/tools/misc.c:1.2

14 years ago*** empty log message ***
Niels Möller [Tue, 26 Oct 2010 09:50:29 +0000 (11:50 +0200)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.118

14 years ago(main): No extra message for bad options.
Niels Möller [Tue, 26 Oct 2010 09:50:13 +0000 (11:50 +0200)] 
(main): No extra message for bad options.

Rev: nettle/examples/rsa-encrypt.c:1.3

14 years ago* examples/rsa-keygen.c (main): Added long options. Deleted -?,
Niels Möller [Tue, 26 Oct 2010 09:49:13 +0000 (11:49 +0200)] 
* examples/rsa-keygen.c (main): Added long options. Deleted -?,
and fixed handling of bad options.

* examples/next-prime.c (main): Deleted -?, and fixed handling of
bad options.
* examples/random-prime.c (main): Likewise.

Rev: nettle/examples/random-prime.c:1.4
Rev: nettle/examples/rsa-keygen.c:1.3

14 years ago(main): Deleted -?, and fixed handling of bad options.
Niels Möller [Tue, 26 Oct 2010 09:47:37 +0000 (11:47 +0200)] 
(main): Deleted -?, and fixed handling of bad options.

Rev: nettle/examples/next-prime.c:1.5

14 years ago*** empty log message ***
Niels Möller [Tue, 26 Oct 2010 09:46:29 +0000 (11:46 +0200)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.117

14 years ago(main): Added long options. Deleted -?, and fixed handling of bad
Niels Möller [Fri, 22 Oct 2010 07:45:47 +0000 (09:45 +0200)] 
(main): Added long options. Deleted -?, and fixed handling of bad
options.

Rev: nettle/examples/nettle-benchmark.c:1.15

14 years ago(main): Added long options. Deleted -?, and fixed handling of bad
Niels Möller [Fri, 22 Oct 2010 07:45:11 +0000 (09:45 +0200)] 
(main): Added long options. Deleted -?, and fixed handling of bad
options. Renamed -s to -q (long option --quiet).

Rev: nettle/examples/eratosthenes.c:1.10

14 years ago* tools/pkcs1-conv.c (main): Deleted short alias -? for --help,
Niels Möller [Fri, 22 Oct 2010 07:41:11 +0000 (09:41 +0200)] 
* tools/pkcs1-conv.c (main): Deleted short alias -? for --help,
and fixed handling of bad options.
* tools/sexp-conv.c (parse_options): Likewise.

Rev: nettle/tools/pkcs1-conv.c:1.4
Rev: nettle/tools/sexp-conv.c:1.5

14 years agoDeleted lsh reference from the download section.
Niels Möller [Thu, 21 Oct 2010 20:41:32 +0000 (22:41 +0200)] 
Deleted lsh reference from the download section.

Rev: nettle/index.html:1.3

14 years agoCorrected CVS instructions. Added list of language bindings.
Niels Möller [Thu, 21 Oct 2010 20:36:03 +0000 (22:36 +0200)] 
Corrected CVS instructions. Added list of language bindings.

Rev: nettle/index.html:1.2

14 years ago*** empty log message ***
Niels Möller [Wed, 6 Oct 2010 20:54:40 +0000 (22:54 +0200)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.116

14 years ago(memxor3): Optimized.
Niels Möller [Wed, 6 Oct 2010 20:53:59 +0000 (22:53 +0200)] 
(memxor3): Optimized.
(memxor3_common_alignment): New function.
(memxor3_different_alignment_b): New function.
(memxor3_different_alignment_ab): New function.
(memxor3_different_alignment_all): New function.

Rev: nettle/memxor.c:1.3

14 years ago* examples/nettle-benchmark.c (time_function): Reorganized, to
Niels Möller [Wed, 6 Oct 2010 20:50:14 +0000 (22:50 +0200)] 
* examples/nettle-benchmark.c (time_function): Reorganized, to
reduce overhead.
(time_memxor): Also benchmark memxor3.

Rev: nettle/examples/nettle-benchmark.c:1.14

14 years ago(overhead): New global variable.
Niels Möller [Wed, 6 Oct 2010 19:19:23 +0000 (21:19 +0200)] 
(overhead): New global variable.
(time_function): Compensate for call overhead.
(bench_nothing, time_overhead): New functions.
(time_memxor): Tweaked src size, making it an integral number of
words.
(main): Call time_overhead.

Rev: nettle/examples/nettle-benchmark.c:1.13

14 years ago*** empty log message ***
Niels Möller [Fri, 1 Oct 2010 14:06:42 +0000 (16:06 +0200)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.115

14 years ago(ROUND): Reordered sbox lookups.
Niels Möller [Fri, 1 Oct 2010 14:06:16 +0000 (16:06 +0200)] 
(ROUND): Reordered sbox lookups.

Rev: nettle/x86_64/camellia-crypt-internal.asm:1.2

14 years agoAlso test memxor3.
Niels Möller [Fri, 1 Oct 2010 14:02:27 +0000 (16:02 +0200)] 
Also test memxor3.

Rev: nettle/testsuite/memxor-test.c:1.3

14 years ago*** empty log message ***
Niels Möller [Thu, 30 Sep 2010 15:10:02 +0000 (17:10 +0200)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.114

14 years agoLink in memxor.asm, if found.
Niels Möller [Thu, 30 Sep 2010 15:09:52 +0000 (17:09 +0200)] 
Link in memxor.asm, if found.

Rev: nettle/configure.ac:1.27

14 years ago*** empty log message ***
Niels Möller [Thu, 30 Sep 2010 11:38:43 +0000 (13:38 +0200)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.113

14 years ago(test_cipher_cbc): Print more info when failing.
Niels Möller [Thu, 30 Sep 2010 11:38:30 +0000 (13:38 +0200)] 
(test_cipher_cbc): Print more info when failing.

Rev: nettle/testsuite/testutils.c:1.10

14 years ago(test_xor): Added verbose printout.
Niels Möller [Thu, 30 Sep 2010 11:37:55 +0000 (13:37 +0200)] 
(test_xor): Added verbose printout.

Rev: nettle/testsuite/memxor-test.c:1.2

14 years ago(time_memxor): Count size of unsigned long as "block size" for memxor.
Niels Möller [Thu, 30 Sep 2010 11:37:25 +0000 (13:37 +0200)] 
(time_memxor): Count size of unsigned long as "block size" for memxor.

Rev: nettle/examples/nettle-benchmark.c:1.12

14 years ago*** empty log message ***
Niels Möller [Fri, 24 Sep 2010 07:00:49 +0000 (09:00 +0200)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.112

14 years ago*** empty log message ***
Niels Möller [Fri, 24 Sep 2010 05:48:04 +0000 (07:48 +0200)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.111

14 years ago* testsuite/.test-rules.make: Added rule for memxor-test.
Niels Möller [Fri, 24 Sep 2010 05:47:41 +0000 (07:47 +0200)] 
* testsuite/.test-rules.make: Added rule for memxor-test.
* testsuite/Makefile.in (TS_NETTLE_SOURCES): Added memxor-test.c
* testsuite/memxor-test.c: New file.

Rev: nettle/testsuite/.test-rules.make:1.8
Rev: nettle/testsuite/Makefile.in:1.10
Rev: nettle/testsuite/memxor-test.c:1.1

14 years ago(memxor_common_alignment): New function.
Niels Möller [Fri, 24 Sep 2010 05:45:33 +0000 (07:45 +0200)] 
(memxor_common_alignment): New function.
(memxor_different_alignment): New function.
(memxor): Optimized to do word-operations rather than byte
operations.

Rev: nettle/memxor.c:1.2

14 years ago(HAVE_NATIVE_64_BIT): New config.h define.
Niels Möller [Fri, 24 Sep 2010 05:44:37 +0000 (07:44 +0200)] 
(HAVE_NATIVE_64_BIT): New config.h define.

Rev: nettle/configure.ac:1.26

14 years agoPartial revert of 2010-09-20 changes.
Niels Möller [Fri, 24 Sep 2010 05:43:56 +0000 (07:43 +0200)] 
Partial revert of 2010-09-20 changes.
* camellia-set-encrypt-key.c (camellia_set_encrypt_key):
Reintroduce CAMELLIA_F_HALF_INV, for 32-bit machines.
* camellia-crypt-internal.c (CAMELLIA_ROUNDSM): Two variants,
differing in where addition of the key is done.
* x86/camellia-crypt-internal.asm: Moved addition of key.

Rev: nettle/ChangeLog:1.110
Rev: nettle/camellia-crypt-internal.c:1.4
Rev: nettle/camellia-set-encrypt-key.c:1.6

14 years ago* x86/camellia-crypt-internal.asm: Moved addition of key.
Niels Möller [Fri, 24 Sep 2010 05:43:42 +0000 (07:43 +0200)] 
* x86/camellia-crypt-internal.asm: Moved addition of key.

Rev: nettle/x86/camellia-crypt-internal.asm:1.3

14 years ago(GET_CYCLE_COUNTER): Define also for x86_64.
Niels Möller [Wed, 22 Sep 2010 14:37:23 +0000 (16:37 +0200)] 
(GET_CYCLE_COUNTER): Define also for x86_64.
(time_memxor): Improved display.

Rev: nettle/examples/nettle-benchmark.c:1.11

14 years ago*** empty log message ***
Niels Möller [Wed, 22 Sep 2010 13:40:15 +0000 (15:40 +0200)] 
*** empty log message ***

Rev: nettle/ChangeLog:1.109