u/mdw/catacomb
20 years agoSimple (non-projective) curves over prime fields now seem to work.
mdw [Tue, 10 Jun 2003 13:43:53 +0000 (13:43 +0000)]
Simple (non-projective) curves over prime fields now seem to work.

20 years agoFix bug dividing small things by large ones.
mdw [Tue, 10 Jun 2003 13:21:10 +0000 (13:21 +0000)]
Fix bug dividing small things by large ones.

20 years agoThis commit was manufactured by cvs2svn to create branch 'ec'.
cvs2svn [Fri, 16 May 2003 09:42:03 +0000 (09:42 +0000)]
This commit was manufactured by cvs2svn to create branch 'ec'.

20 years agoDeclare @pss_preverify@ instead of repeating @pss_resign@.
mdw [Fri, 16 May 2003 09:42:03 +0000 (09:42 +0000)]
Declare @pss_preverify@ instead of repeating @pss_resign@.

20 years agoFix @mp_lsl2c@. Turns out to be surprisingly tricky.
mdw [Fri, 16 May 2003 09:09:24 +0000 (09:09 +0000)]
Fix @mp_lsl2c@.  Turns out to be surprisingly tricky.

20 years agoShip `rc2-tab.h' and `skipjack-tab.h'.
mdw [Fri, 16 May 2003 01:12:37 +0000 (01:12 +0000)]
Ship `rc2-tab.h' and `skipjack-tab.h'.

20 years agoInstall pixie to fake root if wanted. Ship `desx-tab.h'
mdw [Fri, 16 May 2003 00:54:50 +0000 (00:54 +0000)]
Install pixie to fake root if wanted.  Ship `desx-tab.h'

20 years agoVersion bump.
mdw [Fri, 16 May 2003 00:30:28 +0000 (00:30 +0000)]
Version bump.

20 years agoClarify conventions.
mdw [Thu, 15 May 2003 23:32:02 +0000 (23:32 +0000)]
Clarify conventions.

20 years agoNew file.
mdw [Thu, 15 May 2003 23:28:40 +0000 (23:28 +0000)]
New file.

20 years agoStuff...
mdw [Thu, 15 May 2003 23:27:33 +0000 (23:27 +0000)]
Stuff...

20 years agoMake elliptic curve stuff build.
mdw [Thu, 15 May 2003 23:25:59 +0000 (23:25 +0000)]
Make elliptic curve stuff build.

20 years agoFix behaviour with bogus trailing attributes.
mdw [Thu, 15 May 2003 23:23:24 +0000 (23:23 +0000)]
Fix behaviour with bogus trailing attributes.

21 years agoFix stupidity in reading wordlists from stdin. (Thanks to James
mdw [Fri, 24 Jan 2003 20:16:04 +0000 (20:16 +0000)]
Fix stupidity in reading wordlists from stdin.  (Thanks to James
Harvey.)

21 years agoTwo's complement I/O fixes.
mdw [Sun, 20 Oct 2002 01:12:31 +0000 (01:12 +0000)]
Two's complement I/O fixes.

21 years agoFix overflows in shift primitives.
mdw [Sat, 19 Oct 2002 18:55:08 +0000 (18:55 +0000)]
Fix overflows in shift primitives.

21 years agoFix bit operations. Test them (a bit) better.
mdw [Sat, 19 Oct 2002 17:56:50 +0000 (17:56 +0000)]
Fix bit operations.  Test them (a bit) better.

21 years agoFix leftovers bug in reading.
mdw [Sat, 19 Oct 2002 11:59:04 +0000 (11:59 +0000)]
Fix leftovers bug in reading.

21 years agoFast estimation of number representation lengths.
mdw [Tue, 15 Oct 2002 22:58:29 +0000 (22:58 +0000)]
Fast estimation of number representation lengths.

21 years agoBug fix: prevent negative zero.
mdw [Tue, 15 Oct 2002 22:57:43 +0000 (22:57 +0000)]
Bug fix: prevent negative zero.

21 years agoHandy new comparison macros.
mdw [Tue, 15 Oct 2002 22:57:22 +0000 (22:57 +0000)]
Handy new comparison macros.

21 years agoNew script to create binop table for 2c operations.
mdw [Tue, 15 Oct 2002 19:19:08 +0000 (19:19 +0000)]
New script to create binop table for 2c operations.

21 years agoNew operation to negate numbers.
mdw [Tue, 15 Oct 2002 19:18:31 +0000 (19:18 +0000)]
New operation to negate numbers.

21 years agoFix fencepost bugs in binary radix writing.
mdw [Tue, 15 Oct 2002 19:18:15 +0000 (19:18 +0000)]
Fix fencepost bugs in binary radix writing.

21 years agoBit setting and clearing functions.
mdw [Tue, 15 Oct 2002 00:19:40 +0000 (00:19 +0000)]
Bit setting and clearing functions.

21 years agoFix bounds on workspace for Karatsuba operations.
mdw [Wed, 9 Oct 2002 00:36:03 +0000 (00:36 +0000)]
Fix bounds on workspace for Karatsuba operations.

21 years agoFix bogus type name.
mdw [Wed, 9 Oct 2002 00:35:18 +0000 (00:35 +0000)]
Fix bogus type name.

21 years agoTest new mptext reading facilities.
mdw [Wed, 9 Oct 2002 00:34:57 +0000 (00:34 +0000)]
Test new mptext reading facilities.

21 years agoAllow `0o' and `0b' prefixes for octal and binary (from Haskell)
mdw [Wed, 9 Oct 2002 00:33:44 +0000 (00:33 +0000)]
Allow `0o' and `0b' prefixes for octal and binary (from Haskell)

21 years agoAllow user-specified `r_xx' bases to be up to 62.
mdw [Wed, 9 Oct 2002 00:21:06 +0000 (00:21 +0000)]
Allow user-specified `r_xx' bases to be up to 62.

21 years agoPile of changes for supporting two's complement properly.
mdw [Sun, 6 Oct 2002 22:52:50 +0000 (22:52 +0000)]
Pile of changes for supporting two's complement properly.

22 years agoFix build failure when @mlock@ not available.
mdw [Thu, 24 Jan 2002 22:26:11 +0000 (22:26 +0000)]
Fix build failure when @mlock@ not available.

22 years agoHack the @oaep_decode@ code some more, to make it work again.
mdw [Sun, 13 Jan 2002 20:20:39 +0000 (20:20 +0000)]
Hack the @oaep_decode@ code some more, to make it work again.

22 years agoProvide proper help and options parsing. Allow more bases. Use
mdw [Sun, 13 Jan 2002 19:51:59 +0000 (19:51 +0000)]
Provide proper help and options parsing.  Allow more bases.  Use
@mptext@ to read integers for the better base support.

22 years agoFix division-by-zero bug translating @MPW_MAX@ to an @mp@.
mdw [Sun, 13 Jan 2002 19:51:34 +0000 (19:51 +0000)]
Fix division-by-zero bug translating @MPW_MAX@ to an @mp@.

22 years agoExtend the textual format to bases up to 62 by distinguishing case.
mdw [Sun, 13 Jan 2002 19:51:28 +0000 (19:51 +0000)]
Extend the textual format to bases up to 62 by distinguishing case.

22 years agoFix division-by-zero bug translating @MPW_MAX@ to an @mp@.
mdw [Sun, 13 Jan 2002 19:23:16 +0000 (19:23 +0000)]
Fix division-by-zero bug translating @MPW_MAX@ to an @mp@.

22 years agoVarious fixes tracking mLib changes.
mdw [Sun, 13 Jan 2002 13:50:42 +0000 (13:50 +0000)]
Various fixes tracking mLib changes.

22 years agoAllow only one error return, to frustrate Manger's attack against OAEP.
mdw [Sun, 13 Jan 2002 13:50:21 +0000 (13:50 +0000)]
Allow only one error return, to frustrate Manger's attack against OAEP.

22 years agoMake @const@-correct.
mdw [Sun, 13 Jan 2002 13:49:25 +0000 (13:49 +0000)]
Make @const@-correct.

22 years agoTrack @dstr_vputf@ change.
mdw [Sun, 13 Jan 2002 13:49:01 +0000 (13:49 +0000)]
Track @dstr_vputf@ change.

22 years agoFurther progress.
mdw [Sun, 13 Jan 2002 13:48:44 +0000 (13:48 +0000)]
Further progress.

22 years agoIndentation fix.
mdw [Sun, 13 Jan 2002 13:43:35 +0000 (13:43 +0000)]
Indentation fix.

22 years agoAdd some regression tests.
mdw [Sun, 13 Jan 2002 13:43:20 +0000 (13:43 +0000)]
Add some regression tests.

22 years agoFix bug in daemon mode.
mdw [Sun, 13 Jan 2002 13:43:05 +0000 (13:43 +0000)]
Fix bug in daemon mode.

22 years agoMore efficient Rabin-Miller test: with random witnesses, skip redundant
mdw [Sun, 13 Jan 2002 13:42:53 +0000 (13:42 +0000)]
More efficient Rabin-Miller test: with random witnesses, skip redundant
Montgomerization.  (Being bijective, it can't affect the distribution.)

22 years agoFix stupidity in passphrase verification.
mdw [Sun, 13 Jan 2002 13:41:37 +0000 (13:41 +0000)]
Fix stupidity in passphrase verification.

22 years agoAvoid trashing arguments before we've used them.
mdw [Sun, 13 Jan 2002 13:40:31 +0000 (13:40 +0000)]
Avoid trashing arguments before we've used them.

22 years agoAdd support for Twofish family keys.
mdw [Sun, 13 Jan 2002 13:37:59 +0000 (13:37 +0000)]
Add support for Twofish family keys.

22 years agoAllow tagging if the tag is owned by a deleted key.
mdw [Fri, 22 Jun 2001 19:39:43 +0000 (19:39 +0000)]
Allow tagging if the tag is owned by a deleted key.

22 years agoNew interface to find out whether a key has expired. Also, a bug fix
mdw [Fri, 22 Jun 2001 19:39:12 +0000 (19:39 +0000)]
New interface to find out whether a key has expired.  Also, a bug fix
to @key_bytag@ so that it finds expired keys correctly.

22 years agoNew interface to enquire whether a key has expired.
mdw [Fri, 22 Jun 2001 19:37:59 +0000 (19:37 +0000)]
New interface to enquire whether a key has expired.

22 years agoTypesetting fixes
mdw [Sun, 17 Jun 2001 00:10:51 +0000 (00:10 +0000)]
Typesetting fixes

22 years agoTypesetting fixes.
mdw [Sat, 16 Jun 2001 23:42:17 +0000 (23:42 +0000)]
Typesetting fixes.

22 years agoAdded lots of Rijndael tests.
mdw [Sat, 16 Jun 2001 13:23:19 +0000 (13:23 +0000)]
Added lots of Rijndael tests.

22 years agoAdded command-line option to select output radix.
mdw [Sat, 16 Jun 2001 13:22:59 +0000 (13:22 +0000)]
Added command-line option to select output radix.

22 years agoAdded fast-track code for binary output bases, and tests.
mdw [Sat, 16 Jun 2001 13:22:40 +0000 (13:22 +0000)]
Added fast-track code for binary output bases, and tests.

22 years agoNew test added to trap failure to enlarge the integer in a
mdw [Sat, 16 Jun 2001 13:20:46 +0000 (13:20 +0000)]
New test added to trap failure to enlarge the integer in a
prime-filter.

22 years agoAdded simultaneous exponentiation tests.
mdw [Sat, 16 Jun 2001 13:01:25 +0000 (13:01 +0000)]
Added simultaneous exponentiation tests.

22 years agoNew source files and tests.
mdw [Sat, 16 Jun 2001 13:01:10 +0000 (13:01 +0000)]
New source files and tests.

22 years agoNew generic exponentation code. Includes sliding-window simultaneous
mdw [Sat, 16 Jun 2001 13:00:59 +0000 (13:00 +0000)]
New generic exponentation code.  Includes sliding-window simultaneous
exponentiation.

22 years agoUse the generic exponentiation functions.
mdw [Sat, 16 Jun 2001 13:00:20 +0000 (13:00 +0000)]
Use the generic exponentiation functions.

22 years agoMoved @mpmont_factor@ to <mp.h>. Documented interface change to
mdw [Sat, 16 Jun 2001 13:00:04 +0000 (13:00 +0000)]
Moved @mpmont_factor@ to <mp.h>.  Documented interface change to
@mpmont_expr@ and @mpmont_mexpr@ -- the arguments are now in Montgomery
form.

22 years agoAdded simultaneous exponentiation with Barrett reduction.
mdw [Sat, 16 Jun 2001 12:58:47 +0000 (12:58 +0000)]
Added simultaneous exponentiation with Barrett reduction.

22 years agoParameters for generic exponentiation.
mdw [Sat, 16 Jun 2001 12:58:12 +0000 (12:58 +0000)]
Parameters for generic exponentiation.

22 years agoMove the @mpmont_factor@ structure and rename it now that it's used for
mdw [Sat, 16 Jun 2001 12:57:43 +0000 (12:57 +0000)]
Move the @mpmont_factor@ structure and rename it now that it's used for
Barrett simultaneous exponentiation too.

22 years agoImplement some missing functions.
mdw [Sat, 16 Jun 2001 12:57:00 +0000 (12:57 +0000)]
Implement some missing functions.

22 years agoFixes for interface change to @mpmont_expr@ and @mpmont_mexpr@.
mdw [Sat, 16 Jun 2001 12:56:38 +0000 (12:56 +0000)]
Fixes for interface change to @mpmont_expr@ and @mpmont_mexpr@.

22 years agoNew cipher Noekeon added.
mdw [Tue, 8 May 2001 22:17:42 +0000 (22:17 +0000)]
New cipher Noekeon added.

22 years agoNew Rijndael block sizes.
mdw [Mon, 7 May 2001 17:33:26 +0000 (17:33 +0000)]
New Rijndael block sizes.

22 years agoLots of new test vectors.
mdw [Mon, 7 May 2001 17:32:32 +0000 (17:32 +0000)]
Lots of new test vectors.

22 years agoTest case for modsqrt -- actually checks mprand_range.
mdw [Mon, 7 May 2001 17:32:23 +0000 (17:32 +0000)]
Test case for modsqrt -- actually checks mprand_range.

22 years agoSeparate out key scheduling.
mdw [Mon, 7 May 2001 17:31:53 +0000 (17:31 +0000)]
Separate out key scheduling.

22 years agoCentralize Rijndael tables and key scheduling.
mdw [Mon, 7 May 2001 17:31:37 +0000 (17:31 +0000)]
Centralize Rijndael tables and key scheduling.

22 years agoFix off-by one bug in mprand_range. Probably security critical: the old
mdw [Mon, 7 May 2001 17:31:19 +0000 (17:31 +0000)]
Fix off-by one bug in mprand_range.  Probably security critical: the old
code generated numbers between zero and the highest power of 2 less than
the given range.

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.

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

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

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

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

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

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

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

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

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

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

22 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.)

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