u/mdw/catacomb
22 years agoAdd an internal-representation no-op function.
mdw [Mon, 7 May 2001 17:30:13 +0000 (17:30 +0000)]
Add an internal-representation no-op function.

22 years agoTreat projective coordinates as an internal representation. Various
mdw [Mon, 7 May 2001 17:29:44 +0000 (17:29 +0000)]
Treat projective coordinates as an internal representation.  Various
minor interface changes.

22 years agoSupport block ciphers with larger blocks.
mdw [Mon, 7 May 2001 17:28:42 +0000 (17:28 +0000)]
Support block ciphers with larger blocks.

22 years agoFix unusual numbers of rounds. Simplify implementation.
mdw [Mon, 7 May 2001 15:44:46 +0000 (15:44 +0000)]
Fix unusual numbers of rounds.  Simplify implementation.

22 years agoSimplify implementation.
mdw [Mon, 7 May 2001 15:44:02 +0000 (15:44 +0000)]
Simplify implementation.

23 years agoFix formatting.
mdw [Sun, 29 Apr 2001 18:12:43 +0000 (18:12 +0000)]
Fix formatting.

23 years agoPrototype version.
mdw [Sun, 29 Apr 2001 18:12:33 +0000 (18:12 +0000)]
Prototype version.

23 years agoAdd some notes.
mdw [Sun, 29 Apr 2001 18:11:38 +0000 (18:11 +0000)]
Add some notes.

23 years agoNew block ciphers.
mdw [Sun, 29 Apr 2001 18:11:32 +0000 (18:11 +0000)]
New block ciphers.

23 years agoNew block cipher MARS.
mdw [Sun, 29 Apr 2001 18:11:20 +0000 (18:11 +0000)]
New block cipher MARS.

23 years agoWhoops.
mdw [Sun, 29 Apr 2001 17:50:00 +0000 (17:50 +0000)]
Whoops.

23 years agoAdded SAFER block cipher.
mdw [Sun, 29 Apr 2001 17:49:54 +0000 (17:49 +0000)]
Added SAFER block cipher.

23 years agoAdded SAFER block cipher.
mdw [Sun, 29 Apr 2001 17:40:25 +0000 (17:40 +0000)]
Added SAFER block cipher.

23 years agoMoved big horrible table to a separate header.
mdw [Sun, 29 Apr 2001 17:39:52 +0000 (17:39 +0000)]
Moved big horrible table to a separate header.

23 years agoFix memory leak.
mdw [Sun, 29 Apr 2001 17:39:33 +0000 (17:39 +0000)]
Fix memory leak.

23 years agoRemoved `-sched' tests. Reorganized so that we can theoretically have
mdw [Sun, 29 Apr 2001 17:39:15 +0000 (17:39 +0000)]
Removed `-sched' tests.  Reorganized so that we can theoretically have
multiple tests in the same file.  (This isn't so useful in production,
but it's handy when doing test builds.)

23 years agoReorganized, and removed `-sched' test set.
mdw [Sun, 29 Apr 2001 17:38:07 +0000 (17:38 +0000)]
Reorganized, and removed `-sched' test set.

23 years agoAdd CRC as another hash function.
mdw [Thu, 19 Apr 2001 18:26:33 +0000 (18:26 +0000)]
Add CRC as another hash function.

23 years agoUse the new MAC keysize names.
mdw [Thu, 19 Apr 2001 18:26:13 +0000 (18:26 +0000)]
Use the new MAC keysize names.

23 years agoRe-request broken passphrases.
mdw [Thu, 19 Apr 2001 18:26:01 +0000 (18:26 +0000)]
Re-request broken passphrases.

23 years agoUse mpmul for the multiplication.
mdw [Thu, 19 Apr 2001 18:25:38 +0000 (18:25 +0000)]
Use mpmul for the multiplication.

23 years agoUse sliding-window exponentiation.
mdw [Thu, 19 Apr 2001 18:25:26 +0000 (18:25 +0000)]
Use sliding-window exponentiation.

23 years agoProvide correct key sizes for NMAC, HMAC and SSLMAC.
mdw [Thu, 19 Apr 2001 18:24:45 +0000 (18:24 +0000)]
Provide correct key sizes for NMAC, HMAC and SSLMAC.

23 years agoUse unsigned integer rather than enum for flags.
mdw [Thu, 19 Apr 2001 18:23:53 +0000 (18:23 +0000)]
Use unsigned integer rather than enum for flags.

23 years agoTidying.
mdw [Fri, 6 Apr 2001 22:06:01 +0000 (22:06 +0000)]
Tidying.

23 years agoChange dummy names in grand objects so that they say what sort of thing
mdw [Fri, 6 Apr 2001 22:05:53 +0000 (22:05 +0000)]
Change dummy names in grand objects so that they say what sort of thing
they are.

23 years agoAdd support for SSL pseudo-random function.
mdw [Fri, 6 Apr 2001 22:05:11 +0000 (22:05 +0000)]
Add support for SSL pseudo-random function.

23 years agoAdd support for the TLS pseudo-random function.
mdw [Wed, 4 Apr 2001 20:10:53 +0000 (20:10 +0000)]
Add support for the TLS pseudo-random function.

23 years agoNew block cipher DESX added.
mdw [Wed, 4 Apr 2001 20:10:30 +0000 (20:10 +0000)]
New block cipher DESX added.

23 years agoRemove bogus blank line.
mdw [Tue, 3 Apr 2001 19:37:01 +0000 (19:37 +0000)]
Remove bogus blank line.

23 years agoNew block cipher DESX added.
mdw [Tue, 3 Apr 2001 19:36:51 +0000 (19:36 +0000)]
New block cipher DESX added.

23 years agoDon't use @va_arg@ as an argument to @STORE32@!
mdw [Tue, 3 Apr 2001 19:36:36 +0000 (19:36 +0000)]
Don't use @va_arg@ as an argument to @STORE32@!

23 years agoAdd some simple bitwise operations so that Perl can use them.
mdw [Tue, 3 Apr 2001 19:36:05 +0000 (19:36 +0000)]
Add some simple bitwise operations so that Perl can use them.

23 years agoSupport the SSL HMAC variant (untested).
mdw [Tue, 3 Apr 2001 19:35:45 +0000 (19:35 +0000)]
Support the SSL HMAC variant (untested).

23 years agoMark dependency on mLib 2.0.0pre4 now.
mdw [Sun, 4 Mar 2001 13:09:40 +0000 (13:09 +0000)]
Mark dependency on mLib 2.0.0pre4 now.

23 years agoUse @DA_LAST@ to determine @MAXPRIME@, now that it exists.
mdw [Sun, 4 Mar 2001 13:08:10 +0000 (13:08 +0000)]
Use @DA_LAST@ to determine @MAXPRIME@, now that it exists.

23 years agoDistribute md2-tab.h
mdw [Sat, 3 Mar 2001 13:14:13 +0000 (13:14 +0000)]
Distribute md2-tab.h

23 years agoAdd new hash functions. Provide full help for subcommands. Run the
mdw [Fri, 23 Feb 2001 09:04:17 +0000 (09:04 +0000)]
Add new hash functions.  Provide full help for subcommands.  Run the
hash function over parts of the header in a canonical order.

23 years agoSimplify usage message by removing nonexistant options.
mdw [Fri, 23 Feb 2001 09:03:27 +0000 (09:03 +0000)]
Simplify usage message by removing nonexistant options.

23 years agoFix poorly copied comment.
mdw [Fri, 23 Feb 2001 09:02:52 +0000 (09:02 +0000)]
Fix poorly copied comment.

23 years agoFix memory leaks.
mdw [Thu, 22 Feb 2001 09:04:39 +0000 (09:04 +0000)]
Fix memory leaks.

23 years agoCosmetic fix.
mdw [Thu, 22 Feb 2001 09:04:26 +0000 (09:04 +0000)]
Cosmetic fix.

23 years agoVarious minor fixes. Stop lying about default timeout.
mdw [Thu, 22 Feb 2001 09:04:08 +0000 (09:04 +0000)]
Various minor fixes.  Stop lying about default timeout.

23 years agoFix stupidity.
mdw [Wed, 21 Feb 2001 20:46:56 +0000 (20:46 +0000)]
Fix stupidity.

23 years agoDescribe recently-added hash functions.
mdw [Wed, 21 Feb 2001 20:45:53 +0000 (20:45 +0000)]
Describe recently-added hash functions.

23 years agoAdded support for MD2 hash function.
mdw [Wed, 21 Feb 2001 20:04:36 +0000 (20:04 +0000)]
Added support for MD2 hash function.

23 years agoProvide help on individual commands (some need it desparately). Allow
mdw [Wed, 21 Feb 2001 20:04:27 +0000 (20:04 +0000)]
Provide help on individual commands (some need it desparately).  Allow
atomic retagging of keys.

23 years agoHandle select errors (by bombing out). Cosmetic tweak.
mdw [Wed, 21 Feb 2001 20:03:54 +0000 (20:03 +0000)]
Handle select errors (by bombing out).  Cosmetic tweak.

23 years agoChange manpage style slightly.
mdw [Wed, 21 Feb 2001 20:02:29 +0000 (20:02 +0000)]
Change manpage style slightly.

23 years agoTest for off-by-one bug.
mdw [Sat, 3 Feb 2001 16:10:27 +0000 (16:10 +0000)]
Test for off-by-one bug.

23 years agoNew testcases to ensure correct seeds are returned.
mdw [Sat, 3 Feb 2001 16:10:12 +0000 (16:10 +0000)]
New testcases to ensure correct seeds are returned.

23 years agoNew files added.
mdw [Sat, 3 Feb 2001 16:09:41 +0000 (16:09 +0000)]
New files added.

23 years agoAllow the caller to fetch the parameter generation seed and counter.
mdw [Sat, 3 Feb 2001 16:09:29 +0000 (16:09 +0000)]
Allow the caller to fetch the parameter generation seed and counter.

23 years agoGive generic random objects separate namespaces for their supported misc
mdw [Sat, 3 Feb 2001 16:08:56 +0000 (16:08 +0000)]
Give generic random objects separate namespaces for their supported misc
ops.  Add operations for reading the current seed value.

23 years agoAdd consistency checking for public keys.
mdw [Sat, 3 Feb 2001 16:08:24 +0000 (16:08 +0000)]
Add consistency checking for public keys.

23 years agoGive generic random objects separate namespaces for their supported misc
mdw [Sat, 3 Feb 2001 16:07:33 +0000 (16:07 +0000)]
Give generic random objects separate namespaces for their supported misc
ops.

23 years agoDon't set a handler for @SIGINT@ if it's ignored at startup. Add some
mdw [Sat, 3 Feb 2001 16:06:44 +0000 (16:06 +0000)]
Don't set a handler for @SIGINT@ if it's ignored at startup.  Add some
error handling for the @select@ loop.

23 years agoNow @mp_drop@ checks its argument is non-NULL before attempting to free
mdw [Sat, 3 Feb 2001 16:05:41 +0000 (16:05 +0000)]
Now @mp_drop@ checks its argument is non-NULL before attempting to free
it.  Note that the macro version @MP_DROP@ doesn't do this.

23 years agoMake flags be unsigned. Improve the write algorithm: recurse until the
mdw [Sat, 3 Feb 2001 16:05:17 +0000 (16:05 +0000)]
Make flags be unsigned.  Improve the write algorithm: recurse until the
parts are one word long and use single-precision arithmetic from there.
Fix off-by-one bug when breaking the number apart.

23 years agoNow @mp_drop@ checks its argument is non-NULL before attempting to free
mdw [Sat, 3 Feb 2001 12:00:29 +0000 (12:00 +0000)]
Now @mp_drop@ checks its argument is non-NULL before attempting to free
it.  Note that the macro version @MP_DROP@ doesn't do this.

23 years agoDon't use the @pgen@ random number generator for generating primes: it's
mdw [Sat, 3 Feb 2001 11:59:07 +0000 (11:59 +0000)]
Don't use the @pgen@ random number generator for generating primes: it's
only for testing them.  Use a caller-supplied one instead.

23 years agoStore the correct seed information and count for DSA keys now that it's
mdw [Sat, 3 Feb 2001 11:58:22 +0000 (11:58 +0000)]
Store the correct seed information and count for DSA keys now that it's
available.

23 years agoAllow creating keyfiles with no file attached.
mdw [Sat, 3 Feb 2001 11:57:38 +0000 (11:57 +0000)]
Allow creating keyfiles with no file attached.

23 years agoTrack mLib change: symbols no longer need to include a terminating
mdw [Sat, 3 Feb 2001 11:57:00 +0000 (11:57 +0000)]
Track mLib change: symbols no longer need to include a terminating
null.

23 years agoMake flags be unsigned.
mdw [Thu, 25 Jan 2001 22:21:43 +0000 (22:21 +0000)]
Make flags be unsigned.

23 years agoRemove dead code now that the new stepper structure is trustworthy.
mdw [Thu, 25 Jan 2001 21:40:44 +0000 (21:40 +0000)]
Remove dead code now that the new stepper structure is trustworthy.

23 years agoSupport for new SHA variants added.
mdw [Thu, 25 Jan 2001 21:40:14 +0000 (21:40 +0000)]
Support for new SHA variants added.

23 years agoBurn the hash context when it's done with, for paranoia's sake.
mdw [Thu, 25 Jan 2001 21:39:58 +0000 (21:39 +0000)]
Burn the hash context when it's done with, for paranoia's sake.

23 years agoBoring cosmetic stuff.
mdw [Thu, 25 Jan 2001 21:16:20 +0000 (21:16 +0000)]
Boring cosmetic stuff.

23 years agoUse mLib exported tuning parameters for hashtable.
mdw [Sat, 20 Jan 2001 11:56:48 +0000 (11:56 +0000)]
Use mLib exported tuning parameters for hashtable.

23 years agoMake flags be macros rather than enumerations, to ensure that they're
mdw [Wed, 6 Dec 2000 20:33:27 +0000 (20:33 +0000)]
Make flags be macros rather than enumerations, to ensure that they're
unsigned.

23 years agoFix round count for weird key sizes.
mdw [Wed, 6 Dec 2000 20:32:59 +0000 (20:32 +0000)]
Fix round count for weird key sizes.

23 years agoReduce binary bytes (to allow marker bits to be ignored). Fix error
mdw [Wed, 6 Dec 2000 20:32:42 +0000 (20:32 +0000)]
Reduce binary bytes (to allow marker bits to be ignored).  Fix error
message string a bit.  Allow leading `+' signs.

23 years agoAdd assertion to prevent crapness.
mdw [Wed, 6 Dec 2000 20:31:33 +0000 (20:31 +0000)]
Add assertion to prevent crapness.

23 years agoSimplify uniform range transformation.
mdw [Wed, 6 Dec 2000 20:31:06 +0000 (20:31 +0000)]
Simplify uniform range transformation.

23 years agoChange secret sharing interface: present the secret at share
mdw [Wed, 6 Dec 2000 20:30:10 +0000 (20:30 +0000)]
Change secret sharing interface: present the secret at share
construction time.

23 years agoFix buggy HMAC test vectors.
mdw [Sun, 15 Oct 2000 19:09:32 +0000 (19:09 +0000)]
Fix buggy HMAC test vectors.

23 years agoSupport HMAC mode for hash functions which need to store more state than
mdw [Sun, 15 Oct 2000 19:09:20 +0000 (19:09 +0000)]
Support HMAC mode for hash functions which need to store more state than
the hash output size.

23 years agoNew SHA variants with longer outputs.
mdw [Sun, 15 Oct 2000 17:49:00 +0000 (17:49 +0000)]
New SHA variants with longer outputs.

23 years agoMore hash modes to be ignored.
mdw [Sun, 15 Oct 2000 17:48:39 +0000 (17:48 +0000)]
More hash modes to be ignored.

23 years agoFix some compile errors.
mdw [Sat, 14 Oct 2000 17:13:19 +0000 (17:13 +0000)]
Fix some compile errors.

23 years agoTest vectors for binary poly arithmetic.
mdw [Sun, 8 Oct 2000 16:01:48 +0000 (16:01 +0000)]
Test vectors for binary poly arithmetic.

23 years agoPrototypes of various bits of code.
mdw [Sun, 8 Oct 2000 16:01:37 +0000 (16:01 +0000)]
Prototypes of various bits of code.

23 years agoAdd binary poly arithmetic. Tidy table generation stuff. Distribute
mdw [Sun, 8 Oct 2000 16:01:26 +0000 (16:01 +0000)]
Add binary poly arithmetic.  Tidy table generation stuff.  Distribute
calc prototypes.

23 years agoVersion bump.
mdw [Sun, 8 Oct 2000 16:00:54 +0000 (16:00 +0000)]
Version bump.

23 years agoFix compiler warning.
mdw [Sun, 8 Oct 2000 16:00:32 +0000 (16:00 +0000)]
Fix compiler warning.

23 years agoFirst glimmerings of binary polynomial arithmetic.
mdw [Sun, 8 Oct 2000 15:49:37 +0000 (15:49 +0000)]
First glimmerings of binary polynomial arithmetic.

23 years agoRemove failed kludge for shutting up a warning.
mdw [Sun, 8 Oct 2000 15:49:18 +0000 (15:49 +0000)]
Remove failed kludge for shutting up a warning.

23 years agoUpdate comments now that AES has been chosen.
mdw [Sun, 8 Oct 2000 15:48:58 +0000 (15:48 +0000)]
Update comments now that AES has been chosen.

23 years agoRename Karatsuba constants now that we have @gfx_kmul@ too.
mdw [Sun, 8 Oct 2000 15:48:35 +0000 (15:48 +0000)]
Rename Karatsuba constants now that we have @gfx_kmul@ too.

23 years agoRenamed to `karatsuba.h'.
mdw [Sun, 8 Oct 2000 15:47:57 +0000 (15:47 +0000)]
Renamed to `karatsuba.h'.

23 years agoRename from `mpx-kmac.h', and add macros for @gfx_kmul@.
mdw [Sun, 8 Oct 2000 15:47:47 +0000 (15:47 +0000)]
Rename from `mpx-kmac.h', and add macros for @gfx_kmul@.

23 years agoFix tests for different GCD algorithm.
mdw [Sun, 8 Oct 2000 12:17:06 +0000 (12:17 +0000)]
Fix tests for different GCD algorithm.

23 years agoAdd negative number tests.
mdw [Sun, 8 Oct 2000 12:16:54 +0000 (12:16 +0000)]
Add negative number tests.

23 years agoUse @MP_EQ@ instead of @MP_CMP@.
mdw [Sun, 8 Oct 2000 12:16:17 +0000 (12:16 +0000)]
Use @MP_EQ@ instead of @MP_CMP@.

23 years agoRemove vestiges of @primorial@.
mdw [Sun, 8 Oct 2000 12:16:07 +0000 (12:16 +0000)]
Remove vestiges of @primorial@.

23 years agoUse @MP_EQ@ instead of @MP_CMP@. Remove vestages of @primorial@.
mdw [Sun, 8 Oct 2000 12:12:47 +0000 (12:12 +0000)]
Use @MP_EQ@ instead of @MP_CMP@.  Remove vestages of @primorial@.

23 years agoImprove @const@-correctness.
mdw [Sun, 8 Oct 2000 12:12:23 +0000 (12:12 +0000)]
Improve @const@-correctness.

23 years agoShut up some warnings.
mdw [Sun, 8 Oct 2000 12:12:09 +0000 (12:12 +0000)]
Shut up some warnings.

23 years agoUse @mpx_ueq@ instead of @MPX_UCMP@.
mdw [Sun, 8 Oct 2000 12:11:01 +0000 (12:11 +0000)]
Use @mpx_ueq@ instead of @MPX_UCMP@.