u/mdw/catacomb
19 years agoExport the code to transform DH or EC table entries into usable group specs.
mdw [Sat, 5 Mar 2005 16:41:48 +0000 (16:41 +0000)]
Export the code to transform DH or EC table entries into usable group specs.

19 years agoBBS overhaul (incompatible). Jumping is now by bignum quantities, and
mdw [Sat, 5 Mar 2005 16:40:13 +0000 (16:40 +0000)]
BBS overhaul (incompatible).  Jumping is now by bignum quantities, and
negative jumps are allowed.  All the various cool things are supported via
the miscop interface.

19 years agoDistribute the binary group table source.
mdw [Sat, 5 Mar 2005 16:38:25 +0000 (16:38 +0000)]
Distribute the binary group table source.

19 years agoActually build field-exp.
mdw [Wed, 1 Dec 2004 01:31:09 +0000 (01:31 +0000)]
Actually build field-exp.

19 years agoAllow base 255 (or whatever) in mptext.
mdw [Wed, 1 Dec 2004 01:30:42 +0000 (01:30 +0000)]
Allow base 255 (or whatever) in mptext.

19 years agoBetter reduction.
mdw [Wed, 1 Dec 2004 01:30:06 +0000 (01:30 +0000)]
Better reduction.

19 years agoFix bogus comparison revealed by mp_cmp fix.
mdw [Wed, 1 Dec 2004 01:29:48 +0000 (01:29 +0000)]
Fix bogus comparison revealed by mp_cmp fix.

19 years agoMake prime generation work when function pointers are equal. Get random
mdw [Mon, 22 Nov 2004 01:54:52 +0000 (01:54 +0000)]
Make prime generation work when function pointers are equal.  Get random
noise from network device packet counts.  And fix a really stupid bug
from the beginning of time in mp_cmp().

19 years agoProvide better interface to key locking.
mdw [Thu, 11 Nov 2004 19:40:25 +0000 (19:40 +0000)]
Provide better interface to key locking.

19 years agoLock elliptic-curve keys as requested.
mdw [Thu, 11 Nov 2004 17:34:57 +0000 (17:34 +0000)]
Lock elliptic-curve keys as requested.

19 years agoMore rational initialization and finalization.
mdw [Thu, 11 Nov 2004 12:47:26 +0000 (12:47 +0000)]
More rational initialization and finalization.

19 years agoBunch of errors fixed.
mdw [Thu, 11 Nov 2004 12:47:05 +0000 (12:47 +0000)]
Bunch of errors fixed.

19 years agoFix a number of free/xfree bugs.
mdw [Thu, 11 Nov 2004 00:57:31 +0000 (00:57 +0000)]
Fix a number of free/xfree bugs.

19 years agoAllow modified key files to be discarded.
mdw [Thu, 11 Nov 2004 00:57:15 +0000 (00:57 +0000)]
Allow modified key files to be discarded.

19 years agoMore reliable copying in key saving.
mdw [Thu, 11 Nov 2004 00:56:42 +0000 (00:56 +0000)]
More reliable copying in key saving.

19 years agoError return for Rabin-Miller context creation.
mdw [Thu, 11 Nov 2004 00:56:25 +0000 (00:56 +0000)]
Error return for Rabin-Miller context creation.

19 years agoA variety of small tweaks and fixes. Make mpmont etc. return errors
mdw [Tue, 9 Nov 2004 11:26:04 +0000 (11:26 +0000)]
A variety of small tweaks and fixes.  Make mpmont etc. return errors
rather than exploding messily.  Add program for finding primitive
polynomials (includes a poor version of ECM factoring!).  Add
exponentiation for integers and binary polynomials.

19 years agoShip bintab.h.
mdw [Wed, 3 Nov 2004 16:04:57 +0000 (16:04 +0000)]
Ship bintab.h.

19 years agoBug fix in prime curve doubling: if 2 P = O then it erroneously returned
mdw [Wed, 3 Nov 2004 10:42:15 +0000 (10:42 +0000)]
Bug fix in prime curve doubling: if 2 P = O then it erroneously returned
P instead of O.

19 years agoField exponentiation. Add field size to field structure. Make check
mdw [Tue, 26 Oct 2004 23:56:36 +0000 (23:56 +0000)]
Field exponentiation.  Add field size to field structure.  Make check
failure nonfatal in point decompression utility.

19 years agoSupport subgroups of binary fields.
mdw [Wed, 20 Oct 2004 00:18:07 +0000 (00:18 +0000)]
Support subgroups of binary fields.

19 years agoEliminate clone-and-hack of DES key expansion and parity setting.
mdw [Sun, 17 Oct 2004 15:00:28 +0000 (15:00 +0000)]
Eliminate clone-and-hack of DES key expansion and parity setting.

19 years agoFix up ectab.in a little more. Fix group test vectors broken by new
mdw [Sun, 17 Oct 2004 13:29:00 +0000 (13:29 +0000)]
Fix up ectab.in a little more.  Fix group test vectors broken by new
composite-degree check.  Abortive attempt at determining conversions
for non-optimal Gaussian normal bases -- may as well check in anyway.

19 years agoAdd utility for computing conversion factors for ONBs. Fix up elliptic curve
mdw [Sat, 16 Oct 2004 22:33:47 +0000 (22:33 +0000)]
Add utility for computing conversion factors for ONBs.  Fix up elliptic curve
entry programs to accept binnorm fields.  Add some ONB curves from X9.62 to
the list.  Also, for binary fields, ensure that the degree is prime in
ec_checkinfo: otherwise the GHS attack is applicable.

19 years agoBuild system fixes.
mdw [Mon, 4 Oct 2004 18:53:37 +0000 (18:53 +0000)]
Build system fixes.

19 years agoBreaks ABI! Add identification slots to abstract groups and elliptic
mdw [Mon, 4 Oct 2004 17:42:21 +0000 (17:42 +0000)]
Breaks ABI!  Add identification slots to abstract groups and elliptic
curves.  Add more Oakley groups.  Change test output.  Expose internals
of group, field and curve contexts to interested parties -- there will
be some.

19 years agoUse official names for ANSI curves. Add (names for) the X9.63 curves.
mdw [Mon, 4 Oct 2004 14:37:15 +0000 (14:37 +0000)]
Use official names for ANSI curves.  Add (names for) the X9.63 curves.

19 years agoObserve in the manpage that catcrypt prevents file truncation by securely
mdw [Mon, 4 Oct 2004 08:16:38 +0000 (08:16 +0000)]
Observe in the manpage that catcrypt prevents file truncation by securely
marking the end of the ciphertext.

19 years agoRename MP_IS* to MP_*P, for consistency's sake. Use these macros more often.
mdw [Mon, 4 Oct 2004 08:14:35 +0000 (08:14 +0000)]
Rename MP_IS* to MP_*P, for consistency's sake.  Use these macros more often.
Make {mp,gf}reduce_exp invert correctly.

19 years agoGather up another utility.
mdw [Sat, 2 Oct 2004 15:17:06 +0000 (15:17 +0000)]
Gather up another utility.

19 years agoSlight reorganization. Add elliptic curves from X9.62.
mdw [Sat, 2 Oct 2004 15:03:34 +0000 (15:03 +0000)]
Slight reorganization.  Add elliptic curves from X9.62.

19 years agoGeneral utilities cleanup. Add signature support to catcrypt. Throw in
mdw [Fri, 1 Oct 2004 21:08:29 +0000 (21:08 +0000)]
General utilities cleanup.  Add signature support to catcrypt.  Throw in
cookie.  Add manual pages.

19 years agoCopy cookie into Catacomb.
mdw [Thu, 30 Sep 2004 16:11:14 +0000 (16:11 +0000)]
Copy cookie into Catacomb.

19 years agoFix branch names for Subversion. Add --encoding option to hashsum's help
mdw [Wed, 29 Sep 2004 00:50:32 +0000 (00:50 +0000)]
Fix branch names for Subversion.  Add --encoding option to hashsum's help
output, and suppress comments for the just-hash-stdin output, to make
parsing easier.

19 years agoFix CVS cruft. Fix some build problems. Make hashsum understand some new
mdw [Wed, 29 Sep 2004 00:11:13 +0000 (00:11 +0000)]
Fix CVS cruft.  Fix some build problems.  Make hashsum understand some new
encodings.

19 years agoExpunge CVS cruft.
mdw [Sun, 12 Sep 2004 10:40:14 +0000 (10:40 +0000)]
Expunge CVS cruft.

19 years agoFix usage message.
mdw [Sun, 9 May 2004 13:03:46 +0000 (13:03 +0000)]
Fix usage message.

20 years agoNew test vectors.
mdw [Wed, 21 Apr 2004 00:38:42 +0000 (00:38 +0000)]
New test vectors.

20 years agoCopy attributes from parameter keys.
mdw [Wed, 21 Apr 2004 00:38:34 +0000 (00:38 +0000)]
Copy attributes from parameter keys.

20 years agoPerformance measuring program. For my embarassment, really.
mdw [Wed, 21 Apr 2004 00:37:32 +0000 (00:37 +0000)]
Performance measuring program.  For my embarassment, really.

20 years agoAdd simple public-key encryption program `catcrypt'.
mdw [Sat, 17 Apr 2004 09:58:37 +0000 (09:58 +0000)]
Add simple public-key encryption program `catcrypt'.

20 years agoSlightly better factoring.
mdw [Thu, 8 Apr 2004 16:27:49 +0000 (16:27 +0000)]
Slightly better factoring.

20 years agoConst-correctness fix.
mdw [Thu, 8 Apr 2004 16:17:32 +0000 (16:17 +0000)]
Const-correctness fix.

20 years agoExpunge revision histories in files.
mdw [Thu, 8 Apr 2004 01:36:29 +0000 (01:36 +0000)]
Expunge revision histories in files.

20 years agoForce subkeys to be sorted in structured keys.
mdw [Thu, 8 Apr 2004 01:03:22 +0000 (01:03 +0000)]
Force subkeys to be sorted in structured keys.

20 years agokey-binary.c
mdw [Thu, 8 Apr 2004 01:02:49 +0000 (01:02 +0000)]
key-binary.c

20 years agoIncompatible change! Add new signature schemes. Key now implies
mdw [Thu, 8 Apr 2004 01:02:15 +0000 (01:02 +0000)]
Incompatible change!  Add new signature schemes.  Key now implies
algorithms (integrity checked by new fingerprinting rules), so don't put
that stuff in the manifest.

20 years agoAdd set -e.
mdw [Sun, 4 Apr 2004 19:42:59 +0000 (19:42 +0000)]
Add set -e.

20 years agoMake tables of standard encryption schemes etc.
mdw [Sun, 4 Apr 2004 19:42:30 +0000 (19:42 +0000)]
Make tables of standard encryption schemes etc.

20 years agoRaw I/O of elliptic curve points and group elements.
mdw [Sun, 4 Apr 2004 19:04:11 +0000 (19:04 +0000)]
Raw I/O of elliptic curve points and group elements.

20 years agoOops. Fix formatting. :-S
mdw [Sat, 3 Apr 2004 15:45:06 +0000 (15:45 +0000)]
Oops.  Fix formatting. :-S

20 years agoFix stupid error in previous rashly-committed version.
mdw [Sat, 3 Apr 2004 15:15:19 +0000 (15:15 +0000)]
Fix stupid error in previous rashly-committed version.

20 years agoHandle points at infinity properly in listings.
mdw [Sat, 3 Apr 2004 15:14:28 +0000 (15:14 +0000)]
Handle points at infinity properly in listings.

20 years agoUpdate manuals.
mdw [Sat, 3 Apr 2004 12:34:51 +0000 (12:34 +0000)]
Update manuals.

20 years agoGeneral robustification.
mdw [Sat, 3 Apr 2004 03:32:05 +0000 (03:32 +0000)]
General robustification.

20 years agoAllow explicit group parameters for DH groups.
mdw [Sat, 3 Apr 2004 03:31:01 +0000 (03:31 +0000)]
Allow explicit group parameters for DH groups.

20 years agoFix long-standing stupidity in @mp_dest@.
mdw [Sat, 3 Apr 2004 03:30:22 +0000 (03:30 +0000)]
Fix long-standing stupidity in @mp_dest@.

20 years agoFix overrun in @mpx_lsr@.
mdw [Sat, 3 Apr 2004 03:29:40 +0000 (03:29 +0000)]
Fix overrun in @mpx_lsr@.

20 years agoRemove bogus spaces.
mdw [Fri, 2 Apr 2004 08:41:45 +0000 (08:41 +0000)]
Remove bogus spaces.

20 years agoMiscellaneous constification.
mdw [Fri, 2 Apr 2004 01:03:49 +0000 (01:03 +0000)]
Miscellaneous constification.

20 years agoDocument elliptic curve support.
mdw [Fri, 2 Apr 2004 01:03:20 +0000 (01:03 +0000)]
Document elliptic curve support.

20 years agoNormal basis support (translates to poly basis internally). Rewrite
mdw [Thu, 1 Apr 2004 21:28:47 +0000 (21:28 +0000)]
Normal basis support (translates to poly basis internally).  Rewrite
EC and prime group table generators in awk, so that they can reuse data
for repeated constants.

20 years agoMissed off <ctype.h>\!
mdw [Thu, 1 Apr 2004 13:42:48 +0000 (13:42 +0000)]
Missed off <ctype.h>\!

20 years agoKeep numbers positive.
mdw [Thu, 1 Apr 2004 13:37:07 +0000 (13:37 +0000)]
Keep numbers positive.

20 years agoOoops! qdparse needs mp headers.
mdw [Thu, 1 Apr 2004 12:59:40 +0000 (12:59 +0000)]
Ooops!  qdparse needs mp headers.

20 years agoVarious bugs and fixes. Add abstract group testing.
mdw [Thu, 1 Apr 2004 12:50:41 +0000 (12:50 +0000)]
Various bugs and fixes.  Add abstract group testing.

20 years agoRemove debugging code.
mdw [Thu, 1 Apr 2004 12:50:27 +0000 (12:50 +0000)]
Remove debugging code.

20 years agoAdd cyclic group abstraction, with test code. Separate off exponentation
mdw [Thu, 1 Apr 2004 12:50:09 +0000 (12:50 +0000)]
Add cyclic group abstraction, with test code.  Separate off exponentation
functions for better static linking.  Fix a buttload of bugs on the way.
Generally ensure that negative exponents do inversion correctly.  Add
table of standard prime-field subgroups.  (Binary field subgroups are
currently unimplemented but easy to add if anyone ever finds a good one.)

20 years agoGenerate, store and retreive elliptic curve keys.
mdw [Sun, 28 Mar 2004 01:58:47 +0000 (01:58 +0000)]
Generate, store and retreive elliptic curve keys.

20 years agoOoops, fix all the bugs.
mdw [Sun, 28 Mar 2004 01:58:26 +0000 (01:58 +0000)]
Ooops, fix all the bugs.

20 years agoFix distribution.
mdw [Sat, 27 Mar 2004 18:38:00 +0000 (18:38 +0000)]
Fix distribution.

20 years agoRun ec-info test.
mdw [Sat, 27 Mar 2004 17:55:11 +0000 (17:55 +0000)]
Run ec-info test.

20 years agoStandard curves and curve checking.
mdw [Sat, 27 Mar 2004 17:54:12 +0000 (17:54 +0000)]
Standard curves and curve checking.

20 years agoImplement efficient reduction for pleasant-looking primes.
mdw [Sat, 27 Mar 2004 00:04:46 +0000 (00:04 +0000)]
Implement efficient reduction for pleasant-looking primes.

20 years agoINCOMPATIBLE CHANGE. Use proper authentication on encrypted keys.
mdw [Sat, 27 Mar 2004 00:04:19 +0000 (00:04 +0000)]
INCOMPATIBLE CHANGE.  Use proper authentication on encrypted keys.

20 years agoTest elliptic curves more thoroughly.
mdw [Tue, 23 Mar 2004 15:19:32 +0000 (15:19 +0000)]
Test elliptic curves more thoroughly.

20 years agoRandom field-element selection.
mdw [Tue, 23 Mar 2004 12:08:26 +0000 (12:08 +0000)]
Random field-element selection.

20 years agoRationalise the sliding-window threshold. Drop guarantee that right
mdw [Mon, 22 Mar 2004 02:19:10 +0000 (02:19 +0000)]
Rationalise the sliding-window threshold.  Drop guarantee that right
arguments to EC @add@ are canonical, and fix up projective implementations
to cope.

20 years agoOoops, how did that slip by? Fix return type of @ghcopy@.
mdw [Sun, 21 Mar 2004 23:52:58 +0000 (23:52 +0000)]
Ooops, how did that slip by?  Fix return type of @ghcopy@.

20 years agoDistribute headers properly.
mdw [Sun, 21 Mar 2004 23:03:30 +0000 (23:03 +0000)]
Distribute headers properly.

20 years agoMerge and close elliptic curve branch.
mdw [Sun, 21 Mar 2004 22:52:06 +0000 (22:52 +0000)]
Merge and close elliptic curve branch.

20 years agoTest hashing on long strings.
mdw [Sun, 21 Mar 2004 22:44:36 +0000 (22:44 +0000)]
Test hashing on long strings.

20 years agoNew hash variant SHA224.
mdw [Sun, 21 Mar 2004 22:44:24 +0000 (22:44 +0000)]
New hash variant SHA224.

20 years agoKeep quiet about expected errors on incoming connections.
mdw [Sun, 21 Mar 2004 22:44:15 +0000 (22:44 +0000)]
Keep quiet about expected errors on incoming connections.

20 years agoElliptic curves on binary fields work.
mdw [Sun, 21 Mar 2004 22:39:46 +0000 (22:39 +0000)]
Elliptic curves on binary fields work.

20 years agoProjective coordinates for prime curves
mdw [Sat, 20 Mar 2004 00:20:05 +0000 (00:20 +0000)]
Projective coordinates for prime curves

20 years agoBug fix.
mdw [Sat, 20 Mar 2004 00:14:03 +0000 (00:14 +0000)]
Bug fix.

20 years agoProjective coordinates for prime curves
mdw [Sat, 20 Mar 2004 00:13:31 +0000 (00:13 +0000)]
Projective coordinates for prime curves

20 years agoDebianization.
mdw [Sat, 29 Nov 2003 23:47:33 +0000 (23:47 +0000)]
Debianization.

20 years agoBuild fixes.
mdw [Mon, 10 Nov 2003 22:18:30 +0000 (22:18 +0000)]
Build fixes.

20 years agoReport errors if key files don't exist!
mdw [Fri, 17 Oct 2003 16:30:46 +0000 (16:30 +0000)]
Report errors if key files don't exist!

20 years agoFix help message.
mdw [Wed, 15 Oct 2003 09:31:45 +0000 (09:31 +0000)]
Fix help message.

20 years agoMerge fix from other branch.
mdw [Sun, 12 Oct 2003 15:03:35 +0000 (15:03 +0000)]
Merge fix from other branch.

20 years agoReliability fixes.
mdw [Sun, 12 Oct 2003 15:02:09 +0000 (15:02 +0000)]
Reliability fixes.

20 years agoOld dead code.
mdw [Sun, 12 Oct 2003 15:00:38 +0000 (15:00 +0000)]
Old dead code.

20 years agoImport buf stuff from tripe.
mdw [Sat, 11 Oct 2003 21:02:33 +0000 (21:02 +0000)]
Import buf stuff from tripe.

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