mdw [Sat, 1 Jul 2000 11:20:24 +0000 (11:20 +0000)]
New functions for freeing public and private keys. Remove bad type name
`bbs_param'.
mdw [Sat, 1 Jul 2000 11:18:51 +0000 (11:18 +0000)]
Use new interfaces for key manipulation.
mdw [Sat, 1 Jul 2000 11:18:30 +0000 (11:18 +0000)]
Support for Optimal Asymmetric Encryption Padding.
mdw [Sat, 1 Jul 2000 11:17:38 +0000 (11:17 +0000)]
New support for PKCS#1 message encoding.
mdw [Sat, 1 Jul 2000 11:09:20 +0000 (11:09 +0000)]
(pgen_gcd): Bug fix -- check the GCDs of the right things when deciding
whether to abort.
mdw [Mon, 26 Jun 2000 17:14:42 +0000 (17:14 +0000)]
(rslog): Ensure that log(1) = 0 (not 255, as previously). While the two
are strictly equivalent, it means that the exp table is larger than it
otherwise needs to be.
mdw [Mon, 26 Jun 2000 07:54:52 +0000 (07:54 +0000)]
Version bump.
mdw [Mon, 26 Jun 2000 07:52:50 +0000 (07:52 +0000)]
Portability fix for the bug fix.
mdw [Sun, 25 Jun 2000 13:02:07 +0000 (13:02 +0000)]
Fix cleaning of generated files.
mdw [Sun, 25 Jun 2000 12:59:09 +0000 (12:59 +0000)]
Version bump.
mdw [Sun, 25 Jun 2000 12:59:02 +0000 (12:59 +0000)]
(mpx_udiv): Fix bug in quotient digit estimation.
mdw [Sun, 25 Jun 2000 12:58:34 +0000 (12:58 +0000)]
New tests for bugs.
mdw [Sun, 25 Jun 2000 12:58:23 +0000 (12:58 +0000)]
Fix the derivation of `depth' commentary.
mdw [Sat, 24 Jun 2000 20:06:21 +0000 (20:06 +0000)]
Minor reformatting.
mdw [Sat, 24 Jun 2000 19:11:47 +0000 (19:11 +0000)]
Fix daft error in the comment for @gfshare_get@.
mdw [Sat, 24 Jun 2000 18:29:05 +0000 (18:29 +0000)]
Interface change: allow shares to be extracted from a context on demand,
rather than building them all up-front.
mdw [Thu, 22 Jun 2000 19:10:33 +0000 (19:10 +0000)]
Fix Makefile to test mp-sqrt.c.
mdw [Thu, 22 Jun 2000 19:04:19 +0000 (19:04 +0000)]
More new functions to be added.
mdw [Thu, 22 Jun 2000 19:03:14 +0000 (19:03 +0000)]
Use the new @mp_odd@ function.
mdw [Thu, 22 Jun 2000 19:02:53 +0000 (19:02 +0000)]
New function @mp_odd@ to extract powers of two from an integer. This is
common code from the Rabin-Miller test, RSA key recovery and modular
square-root extraction.
mdw [Thu, 22 Jun 2000 19:02:01 +0000 (19:02 +0000)]
Add new functions.
mdw [Thu, 22 Jun 2000 19:01:44 +0000 (19:01 +0000)]
Compute (approximations to) integer square roots.
mdw [Thu, 22 Jun 2000 19:01:31 +0000 (19:01 +0000)]
Compute square roots in a prime field.
mdw [Thu, 22 Jun 2000 19:01:14 +0000 (19:01 +0000)]
New test cases for square root functions.
mdw [Thu, 22 Jun 2000 18:58:00 +0000 (18:58 +0000)]
Twofish can handle keys with any byte-aligned size.
mdw [Thu, 22 Jun 2000 18:04:13 +0000 (18:04 +0000)]
Improve secret reconstruction -- compute coefficients as needed rather
than making a big array of them.
mdw [Sun, 18 Jun 2000 23:31:18 +0000 (23:31 +0000)]
Rearrange build order to ensure that `mptypes.h' exists by the time it's
needed.
mdw [Sun, 18 Jun 2000 23:26:09 +0000 (23:26 +0000)]
Whoops. Fix a typo.
mdw [Sun, 18 Jun 2000 23:12:15 +0000 (23:12 +0000)]
Change typesetting of Galois Field names.
mdw [Sun, 18 Jun 2000 23:05:19 +0000 (23:05 +0000)]
Minor performance tweak: use Barrett reduction rather than Montgomery.
Fast secret sharing isn't done here, though: see `gfshare' instead.
mdw [Sat, 17 Jun 2000 13:51:03 +0000 (13:51 +0000)]
Whoops. Too eager with the mLib version.
mdw [Sat, 17 Jun 2000 13:28:50 +0000 (13:28 +0000)]
Minor tidying and fixing.
mdw [Sat, 17 Jun 2000 12:57:47 +0000 (12:57 +0000)]
New free counter noise generator, for use if /dev/random is
unavailable.
mdw [Sat, 17 Jun 2000 12:21:39 +0000 (12:21 +0000)]
Add braces to shut compiler up. Reformat code slightly.
mdw [Sat, 17 Jun 2000 12:12:29 +0000 (12:12 +0000)]
Ignore uninteresting files.
mdw [Sat, 17 Jun 2000 12:12:20 +0000 (12:12 +0000)]
Build mLib test vector files from the AES files.
mdw [Sat, 17 Jun 2000 12:12:05 +0000 (12:12 +0000)]
Convert AES test vector files to mLib format.
mdw [Sat, 17 Jun 2000 12:11:49 +0000 (12:11 +0000)]
New cipher.
mdw [Sat, 17 Jun 2000 12:11:39 +0000 (12:11 +0000)]
More regression tests.
mdw [Sat, 17 Jun 2000 12:11:34 +0000 (12:11 +0000)]
More regression tests. Test binary I/O.
mdw [Sat, 17 Jun 2000 12:10:32 +0000 (12:10 +0000)]
Make the `.catacomb' directory if it doesn't exist.
mdw [Sat, 17 Jun 2000 12:10:09 +0000 (12:10 +0000)]
Add some argument checking. Use MP secure memory interface.
mdw [Sat, 17 Jun 2000 12:09:38 +0000 (12:09 +0000)]
Shamir's secret sharing system.
mdw [Sat, 17 Jun 2000 12:09:25 +0000 (12:09 +0000)]
Set up Makefile in `tests' subdirectory. Copy the public release key.
mdw [Sat, 17 Jun 2000 12:08:28 +0000 (12:08 +0000)]
Restructure handling of cipher-based generators. Add counter-mode
ciphers and MGF-1 hash functions. Add FIPS 140-1 and Maurer's tests.
mdw [Sat, 17 Jun 2000 12:07:36 +0000 (12:07 +0000)]
Add key fetching interface. Add new rsa_decrypt interface.
mdw [Sat, 17 Jun 2000 12:07:19 +0000 (12:07 +0000)]
Fix a bug in argument validation. Force %$p > q$% in output. Use
%$\lambda(n) = \lcm(p - 1, q - 1)$% rather than the more traditional
%$\phi(n) = (p - 1)(q - 1)$% when computing the decryption exponent.
mdw [Sat, 17 Jun 2000 12:05:15 +0000 (12:05 +0000)]
Lots of changes:
* Apply limits on %$\gcd(p - 1, q - 1)$% to reduce the space of
equivalent decryption exponents.
* Force %$e = F_4 = 2^{16} + 1$% to avoid small-encryption-exponent
attacks.
* Ensure that %$p > q$% and that %$p - q$% is large to deter
square-root-based factoring methods.
* Use %$e d \equiv 1 \pmod{\lambda(n)}$%, where %$\lambda(n)$% is
%$\lcm(p - 1, q - 1)$%, as recommended in PKCS#1, rather than the
more usual %$\varphi(n) = (p - 1)(q - 1)$%.
* Handle aborts from pgen_jump.
mdw [Sat, 17 Jun 2000 11:57:56 +0000 (11:57 +0000)]
Improve bulk performance by making better use of Montgomery
multiplication and separating out initialization and finalization from
the main code.
mdw [Sat, 17 Jun 2000 11:56:07 +0000 (11:56 +0000)]
New cipher.
mdw [Sat, 17 Jun 2000 11:56:00 +0000 (11:56 +0000)]
New key size interface. Use secure arena for memory allocation.
mdw [Sat, 17 Jun 2000 11:55:50 +0000 (11:55 +0000)]
New key size interface. Add notes about the cipher.
mdw [Sat, 17 Jun 2000 11:55:22 +0000 (11:55 +0000)]
New key size interface. Allow key material to be combined with an
existing initialized context. Use secure arena for memory allocation.
mdw [Sat, 17 Jun 2000 11:55:13 +0000 (11:55 +0000)]
New key size interface. Allow key material to be combined with an
existing initialized context.
mdw [Sat, 17 Jun 2000 11:54:27 +0000 (11:54 +0000)]
Use new MP memory management functions.
mdw [Sat, 17 Jun 2000 11:53:55 +0000 (11:53 +0000)]
Deprecate `rand_getgood'. Provide a new interface to ensure that a pool
is well seeded. Use secure arena for memory allocation.
mdw [Sat, 17 Jun 2000 11:53:38 +0000 (11:53 +0000)]
Deprecate `rand_getgood'. Provide a new interface to ensure that a pool
is well seeded.
mdw [Sat, 17 Jun 2000 11:52:48 +0000 (11:52 +0000)]
Typesetting fix.
mdw [Sat, 17 Jun 2000 11:52:36 +0000 (11:52 +0000)]
Signal a pgen abort if the jump and base share a common factor.
mdw [Sat, 17 Jun 2000 11:52:12 +0000 (11:52 +0000)]
Add the GCD filter.
mdw [Sat, 17 Jun 2000 11:51:53 +0000 (11:51 +0000)]
Filter which imposes additional restrictions on GCD of %$(p - 1)/2$%
with a given integer.
mdw [Sat, 17 Jun 2000 11:51:05 +0000 (11:51 +0000)]
Quick compilation tool.
mdw [Sat, 17 Jun 2000 11:50:53 +0000 (11:50 +0000)]
New pixie protocol allowing application to request passphrases and send
them to the pixie. Use the secure arena interface for the input
buffer. Extend the input buffer. Other minor fixes.
mdw [Sat, 17 Jun 2000 11:49:49 +0000 (11:49 +0000)]
New pixie protocol allowing application to request passphrases and send
them to the pixie.
mdw [Sat, 17 Jun 2000 11:48:24 +0000 (11:48 +0000)]
Change buffer offset to be unsigned.
mdw [Sat, 17 Jun 2000 11:48:02 +0000 (11:48 +0000)]
Use secure arena for memory allocation. Rearrange setiv slightly.
mdw [Sat, 17 Jun 2000 11:46:58 +0000 (11:46 +0000)]
Convenience macros for producing debugging output containing MP
integers.
mdw [Sat, 17 Jun 2000 11:46:19 +0000 (11:46 +0000)]
New and much faster stack-based algorithm for reading integers. Support
reading and writing binary integers in bases between 2 and 256.
mdw [Sat, 17 Jun 2000 11:45:09 +0000 (11:45 +0000)]
Major memory management overhaul. Added arena support. Use the secure
arena for secret integers. Replace and improve the MP management macros
(e.g., replace MP_MODIFY by MP_DEST).
mdw [Sat, 17 Jun 2000 11:42:54 +0000 (11:42 +0000)]
Moved the Karatsuba macros into a separate file for better sharing.
Fixed some comments. Use an improved technique so that all the
operations are squarings.
mdw [Sat, 17 Jun 2000 11:42:11 +0000 (11:42 +0000)]
Moved the Karatsuba macros into a separate file for better sharing.
Fixed some comments.
mdw [Sat, 17 Jun 2000 11:35:48 +0000 (11:35 +0000)]
Overhaul to use mLib's arena system underneath.
mdw [Sat, 17 Jun 2000 11:34:46 +0000 (11:34 +0000)]
More hacking for the signs of the outputs.
mdw [Sat, 17 Jun 2000 11:33:11 +0000 (11:33 +0000)]
MGF-1 support, as defined in PKCS#1.
mdw [Sat, 17 Jun 2000 11:32:52 +0000 (11:32 +0000)]
Change buffer offset to be unsigned.
mdw [Sat, 17 Jun 2000 11:31:43 +0000 (11:31 +0000)]
Portability fix for broken compilers.
mdw [Sat, 17 Jun 2000 11:29:49 +0000 (11:29 +0000)]
Maurer's universal statistical test.
mdw [Sat, 17 Jun 2000 11:29:38 +0000 (11:29 +0000)]
Add arena support.
mdw [Sat, 17 Jun 2000 11:29:03 +0000 (11:29 +0000)]
Add the flags word to the generic generator.
mdw [Sat, 17 Jun 2000 11:28:51 +0000 (11:28 +0000)]
Amend the notes slightly.
mdw [Sat, 17 Jun 2000 11:28:22 +0000 (11:28 +0000)]
Use secure memory interface from MP library. `rand_getgood' is
deprecated.
mdw [Sat, 17 Jun 2000 11:27:52 +0000 (11:27 +0000)]
Key size table interpretation.
mdw [Sat, 17 Jun 2000 11:27:43 +0000 (11:27 +0000)]
Add key fetching interface.
mdw [Sat, 17 Jun 2000 11:27:20 +0000 (11:27 +0000)]
Use secure memory interface from MP library.
mdw [Sat, 17 Jun 2000 11:26:35 +0000 (11:26 +0000)]
`rand_getgood' is deprecated.
mdw [Sat, 17 Jun 2000 11:26:18 +0000 (11:26 +0000)]
Add the key packing interface.
mdw [Sat, 17 Jun 2000 11:26:03 +0000 (11:26 +0000)]
key_structfind: track minor data structure change, and cope if the
subkey isn't available.
mdw [Sat, 17 Jun 2000 11:24:08 +0000 (11:24 +0000)]
New key size interface.
mdw [Sat, 17 Jun 2000 11:23:44 +0000 (11:23 +0000)]
Use secure arena for memory allocation. Minor changes in the generic
hash interface.
mdw [Sat, 17 Jun 2000 11:23:27 +0000 (11:23 +0000)]
Portability fix for broken compilers.
mdw [Sat, 17 Jun 2000 11:23:11 +0000 (11:23 +0000)]
Typesetting fix. Add a flags word to the generic generator.
mdw [Sat, 17 Jun 2000 11:22:46 +0000 (11:22 +0000)]
Minor changes in the generic hash and MAC interfaces.
mdw [Sat, 17 Jun 2000 11:22:17 +0000 (11:22 +0000)]
Minor changes in the generic hash interface.
mdw [Sat, 17 Jun 2000 11:05:27 +0000 (11:05 +0000)]
Add a commentary on the system.
mdw [Sat, 17 Jun 2000 10:56:30 +0000 (10:56 +0000)]
Fast but nonstandard secret sharing system.
mdw [Sat, 17 Jun 2000 10:56:13 +0000 (10:56 +0000)]
Be more verbose when working.
mdw [Sat, 17 Jun 2000 10:56:00 +0000 (10:56 +0000)]
New key size interface.
mdw [Sat, 17 Jun 2000 10:55:38 +0000 (10:55 +0000)]
FIPS 140-1 random generator test.
mdw [Sat, 17 Jun 2000 10:55:24 +0000 (10:55 +0000)]
Typesetting fixes. Add flags word to generatic random generator.
mdw [Sat, 17 Jun 2000 10:54:59 +0000 (10:54 +0000)]
Typesetting fixes.