mdw [Sun, 8 Oct 2000 15:49:18 +0000 (15:49 +0000)]
Remove failed kludge for shutting up a warning.
mdw [Sun, 8 Oct 2000 15:48:58 +0000 (15:48 +0000)]
Update comments now that AES has been chosen.
mdw [Sun, 8 Oct 2000 15:48:35 +0000 (15:48 +0000)]
Rename Karatsuba constants now that we have @gfx_kmul@ too.
mdw [Sun, 8 Oct 2000 15:47:57 +0000 (15:47 +0000)]
Renamed to `karatsuba.h'.
mdw [Sun, 8 Oct 2000 15:47:47 +0000 (15:47 +0000)]
Rename from `mpx-kmac.h', and add macros for @gfx_kmul@.
mdw [Sun, 8 Oct 2000 12:17:06 +0000 (12:17 +0000)]
Fix tests for different GCD algorithm.
mdw [Sun, 8 Oct 2000 12:16:54 +0000 (12:16 +0000)]
Add negative number tests.
mdw [Sun, 8 Oct 2000 12:16:17 +0000 (12:16 +0000)]
Use @MP_EQ@ instead of @MP_CMP@.
mdw [Sun, 8 Oct 2000 12:16:07 +0000 (12:16 +0000)]
Remove vestiges 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@.
mdw [Sun, 8 Oct 2000 12:12:23 +0000 (12:12 +0000)]
Improve @const@-correctness.
mdw [Sun, 8 Oct 2000 12:12:09 +0000 (12:12 +0000)]
Shut up some warnings.
mdw [Sun, 8 Oct 2000 12:11:01 +0000 (12:11 +0000)]
Use @mpx_ueq@ instead of @MPX_UCMP@.
mdw [Sun, 8 Oct 2000 12:10:32 +0000 (12:10 +0000)]
Make table have external linkage to bodge around deficiency in C. The
problem is that @static gen generators[];@ is considered to be a
`tentative definition', and therefore mustn't have incomplete type,
which it obviously has.
mdw [Sun, 8 Oct 2000 12:08:10 +0000 (12:08 +0000)]
Escape literal newlines in output string.
mdw [Sun, 8 Oct 2000 12:07:18 +0000 (12:07 +0000)]
Remove spurious comma in enum.
mdw [Sun, 8 Oct 2000 12:07:04 +0000 (12:07 +0000)]
Don't do arithmetic on @void *@ pointers.
mdw [Sun, 8 Oct 2000 12:06:46 +0000 (12:06 +0000)]
Change size passed to socket function to be a @size_t@. Insert missing
type name for flag declaration.
mdw [Sun, 8 Oct 2000 12:06:12 +0000 (12:06 +0000)]
Provide @mpx_ueq@ for rapidly testing equality of two integers.
mdw [Sun, 8 Oct 2000 12:05:24 +0000 (12:05 +0000)]
Make later versions of GCC shut up about @long long@.
mdw [Sun, 8 Oct 2000 12:04:58 +0000 (12:04 +0000)]
(MP_DOFPRINTFR): cope with null pointers.
mdw [Sun, 8 Oct 2000 12:04:27 +0000 (12:04 +0000)]
(mpmont_reduce, mpmont_mul): Cope with negative numbers.
mdw [Sun, 8 Oct 2000 12:04:01 +0000 (12:04 +0000)]
Remove spurious semicolon.
mdw [Sun, 8 Oct 2000 12:03:44 +0000 (12:03 +0000)]
(mpbarrett_reduce): Cope with negative numbers.
mdw [Sun, 8 Oct 2000 12:03:16 +0000 (12:03 +0000)]
Provide @mp_eq@ and @MP_EQ@ for rapidly testing equality of two
integers.
mdw [Sun, 8 Oct 2000 12:02:41 +0000 (12:02 +0000)]
Use Euclid's algorithm rather than the binary one.
mdw [Sun, 8 Oct 2000 12:02:21 +0000 (12:02 +0000)]
Use @MP_EQ@ instead of @MP_CMP@.
mdw [Sun, 8 Oct 2000 12:01:28 +0000 (12:01 +0000)]
Reinstate the `-pedantic' option.
mdw [Fri, 18 Aug 2000 19:16:51 +0000 (19:16 +0000)]
New stepper interface for constructing Lim-Lee primes.
mdw [Fri, 18 Aug 2000 19:16:12 +0000 (19:16 +0000)]
New event handler for showing in detail sub-prime generation.
mdw [Wed, 16 Aug 2000 17:57:14 +0000 (17:57 +0000)]
Add some more test vectors.
mdw [Wed, 16 Aug 2000 17:56:59 +0000 (17:56 +0000)]
(more): Remove spurious function.
mdw [Tue, 15 Aug 2000 21:46:20 +0000 (21:46 +0000)]
Set up the dependencies on primetab.[ch] and mptypes.h properly.
There's some m4 hacking, but it's worth it not to have to recompile all
the cipher modes.
mdw [Tue, 15 Aug 2000 21:45:25 +0000 (21:45 +0000)]
New library configuration stuff from `common'.
mdw [Tue, 15 Aug 2000 21:45:05 +0000 (21:45 +0000)]
Use the new trial division equipment in pfilt. This gives a 10%
performance improvement in dsa-gen.t.
mdw [Tue, 15 Aug 2000 21:44:27 +0000 (21:44 +0000)]
(pfilt_smallfactor): New function for doing trial division the hard
way.
(pfilt_create): Use @mpx_udivn@ for computing residues, for improved
performance.
Pull the `small prime' test into a separate function, and do it
properly.
mdw [Tue, 15 Aug 2000 21:42:56 +0000 (21:42 +0000)]
Use the small primes type from `genprimes' output. New function for
doing trial division the hard way.
mdw [Tue, 15 Aug 2000 21:41:58 +0000 (21:41 +0000)]
Create a new type for the small primes table elements.
mdw [Tue, 15 Aug 2000 21:41:09 +0000 (21:41 +0000)]
Bug fix: minimize the right thing.
mdw [Tue, 15 Aug 2000 21:40:49 +0000 (21:40 +0000)]
Minor formatting change in listing attributes.
mdw [Fri, 11 Aug 2000 21:34:59 +0000 (21:34 +0000)]
New restartable interface to Maurer testing.
mdw [Fri, 11 Aug 2000 21:34:34 +0000 (21:34 +0000)]
Change to use the new thresholds given in the draft FIPS140-2.
mdw [Sun, 6 Aug 2000 10:50:55 +0000 (10:50 +0000)]
(mkphrase): New program for generating random passphrases with measured
strength.
mdw [Fri, 4 Aug 2000 23:24:15 +0000 (23:24 +0000)]
Add a timer and a discard option.
mdw [Fri, 4 Aug 2000 23:24:01 +0000 (23:24 +0000)]
Add a pile of new test vectors.
mdw [Fri, 4 Aug 2000 23:23:44 +0000 (23:23 +0000)]
Various <ctype.h> fixes.
mdw [Fri, 4 Aug 2000 18:03:19 +0000 (18:03 +0000)]
Fix comment describing the field in which inversion is done.
mdw [Tue, 1 Aug 2000 00:29:15 +0000 (00:29 +0000)]
Add some more vectors, and a whinge about how Skipjack test vectors are.
mdw [Tue, 1 Aug 2000 00:28:34 +0000 (00:28 +0000)]
Performance improvement: read keys in as 32-bit words and deal them out
byte-by-byte.
mdw [Sat, 29 Jul 2000 22:05:47 +0000 (22:05 +0000)]
Fix error in help message about Maurer test syntax.
mdw [Sat, 29 Jul 2000 22:05:22 +0000 (22:05 +0000)]
Miscellaneous tidyings:
* Change the timeout to something more appropriate for real use.
* Check assumptions about object types when binding the socket. In
particular, don't zap the socket if it's really something else.
* In @p_request@, return a failure if the shell command returned
nonzero. Fix a bug in @p_get@ which incorrectly passes on a success
code when this happens.
* Dispose of the locked memory in client mode to avoid being
antisocial.
* Also in client mode, don't report closure from the server if we're
running noninteractively.
* Insert a missing option letter into the usage string.
* Change to the root directory after forking in daemon mode.
mdw [Sat, 29 Jul 2000 21:58:28 +0000 (21:58 +0000)]
New manpage for the Catacomb pixie.
mdw [Sat, 29 Jul 2000 21:58:15 +0000 (21:58 +0000)]
(l_destroy): New function for destroying locked memory blocks.
mdw [Sat, 29 Jul 2000 21:57:55 +0000 (21:57 +0000)]
Manual page for the new `hashsum' program.
mdw [Sat, 29 Jul 2000 21:57:44 +0000 (21:57 +0000)]
Version bump.
mdw [Sat, 29 Jul 2000 21:55:32 +0000 (21:55 +0000)]
Make sure the pixie is installed setuid-root (workaround for an Automake
bug). Install new manpages.
mdw [Sat, 29 Jul 2000 17:05:43 +0000 (17:05 +0000)]
(mpmont_expr): Use sliding window exponentiation, with a drop-through
for small exponents to use a simple left-to-right bitwise routine. This
can reduce modexp times by up to a quarter.
mdw [Sat, 29 Jul 2000 17:04:33 +0000 (17:04 +0000)]
Change to use left-to-right bitwise exponentiation. This will improve
performance when the base is small.
mdw [Sat, 29 Jul 2000 17:04:02 +0000 (17:04 +0000)]
Remove useless header `mpscan.h'.
mdw [Sat, 29 Jul 2000 17:03:31 +0000 (17:03 +0000)]
Add support for left-to-right bitscanning, for use in modular
exponentiation.
mdw [Sat, 29 Jul 2000 17:02:58 +0000 (17:02 +0000)]
Describe the Lim-Lee prime stuff.
mdw [Sat, 29 Jul 2000 17:02:43 +0000 (17:02 +0000)]
(checkhash): Be pettier about spaces between the hash and filename, for
compatiblity with `md5sum'.
mdw [Sat, 29 Jul 2000 17:02:00 +0000 (17:02 +0000)]
(dh_limlee): Bug fix. Return @dp->q@ as the subgroup order, which isn't
necessarily the first factor.
mdw [Sat, 29 Jul 2000 10:54:55 +0000 (10:54 +0000)]
Further fixing to support building using normal `make' again. ;-) I
think we're there now.
mdw [Sat, 29 Jul 2000 10:02:36 +0000 (10:02 +0000)]
Lots of fixing to support `make -j' building.
mdw [Sat, 29 Jul 2000 10:02:21 +0000 (10:02 +0000)]
Remove useful files which should have been checked in!
mdw [Sat, 29 Jul 2000 10:01:58 +0000 (10:01 +0000)]
Track change in primitive-element generation.
mdw [Sat, 29 Jul 2000 10:01:31 +0000 (10:01 +0000)]
Diffie-Hellman parameter generation based on Lim-Lee primes.
mdw [Sat, 29 Jul 2000 10:01:16 +0000 (10:01 +0000)]
Supply commentry for the Diffie-Hellman parameters. Add Lim-Lee
parameter generation.
mdw [Sat, 29 Jul 2000 10:00:47 +0000 (10:00 +0000)]
The Diffie-Hellman functions can now do this adequately.
mdw [Sat, 29 Jul 2000 10:00:14 +0000 (10:00 +0000)]
Rename `dsa_seed' to `dsa_gen' for consistency with other parameter-
generation interfaces.
mdw [Sat, 29 Jul 2000 09:59:44 +0000 (09:59 +0000)]
Share data structures with Diffie-Hellman stuff.
mdw [Sat, 29 Jul 2000 09:59:28 +0000 (09:59 +0000)]
Make `cmp' shut up better.
mdw [Sat, 29 Jul 2000 09:59:13 +0000 (09:59 +0000)]
Support Lim-Lee primes in Diffie-Hellman parameter generation.
mdw [Sat, 29 Jul 2000 09:58:32 +0000 (09:58 +0000)]
(limlee): Bug fix. Old versions didn't set the filter step if @ql@ was
an exact divisor of @pl@.
mdw [Sat, 29 Jul 2000 09:57:42 +0000 (09:57 +0000)]
Improve primitive-element testing a lot. Now much more sensible and
orthogonal: you can find a generator for any given subgroup order by
putting in the appropriate parameters.
mdw [Sat, 29 Jul 2000 09:56:47 +0000 (09:56 +0000)]
Allow the number of rounds to be configured. This isn't exported
through the gcipher interface, but it may be useful anyway.
mdw [Thu, 27 Jul 2000 18:10:27 +0000 (18:10 +0000)]
Build precomuted tables for Square.
mdw [Thu, 27 Jul 2000 18:08:34 +0000 (18:08 +0000)]
Skipjack S-box table
mdw [Wed, 26 Jul 2000 18:00:00 +0000 (18:00 +0000)]
No footer line!
mdw [Thu, 20 Jul 2000 20:13:38 +0000 (20:13 +0000)]
Added Bellare and Rogaway's PSS encoding for RSA signatures.
mdw [Thu, 20 Jul 2000 17:14:34 +0000 (17:14 +0000)]
Simplify by using @mp_odd@.
mdw [Tue, 18 Jul 2000 23:01:26 +0000 (23:01 +0000)]
Improve progress indications, and allow user to choose chunk sizes for
Maurer's test.
mdw [Sun, 16 Jul 2000 20:01:01 +0000 (20:01 +0000)]
Version bump.
mdw [Sun, 16 Jul 2000 20:00:46 +0000 (20:00 +0000)]
Bug fixes to distribution.
mdw [Sun, 16 Jul 2000 19:51:58 +0000 (19:51 +0000)]
Shut stupid compiler up.
mdw [Sun, 16 Jul 2000 12:33:11 +0000 (12:33 +0000)]
Shut stupid compiler up.
mdw [Sat, 15 Jul 2000 21:14:05 +0000 (21:14 +0000)]
Missed `-e' out of the usage string.
mdw [Sat, 15 Jul 2000 20:55:32 +0000 (20:55 +0000)]
More hashes and ciphers. An extra tool.
mdw [Sat, 15 Jul 2000 20:54:14 +0000 (20:54 +0000)]
Ignore some binaries.
mdw [Sat, 15 Jul 2000 20:53:47 +0000 (20:53 +0000)]
More autogenerated files to ignore.
mdw [Sat, 15 Jul 2000 20:53:35 +0000 (20:53 +0000)]
Add a load of new ciphers and hashes.
mdw [Sat, 15 Jul 2000 20:53:23 +0000 (20:53 +0000)]
More hash functions. Bug fix in getstring.
mdw [Sat, 15 Jul 2000 20:52:34 +0000 (20:52 +0000)]
Useful replacement for `md5sum' with support for many different hash
functions and for reading filename lists from `find'.
mdw [Sat, 15 Jul 2000 20:51:59 +0000 (20:51 +0000)]
New block cipher.
mdw [Sat, 15 Jul 2000 20:48:45 +0000 (20:48 +0000)]
Remove some useless tests in the G function.
mdw [Sat, 15 Jul 2000 17:48:15 +0000 (17:48 +0000)]
More test vectors. (At last!)
mdw [Sat, 15 Jul 2000 17:47:58 +0000 (17:47 +0000)]
Fix bug in decryption key scheduling.
mdw [Sat, 15 Jul 2000 15:39:48 +0000 (15:39 +0000)]
The NSA's Skipjack block cipher.
mdw [Sat, 15 Jul 2000 13:47:14 +0000 (13:47 +0000)]
Whoops. Fix the purpose comment.