u/mdw/catacomb
20 years agoMajor memory management overhaul. Added arena support. Use the secure
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).

20 years agoMoved the Karatsuba macros into a separate file for better sharing.
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.

20 years agoMoved the Karatsuba macros into a separate file for better sharing.
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.

20 years agoOverhaul to use mLib's arena system underneath.
mdw [Sat, 17 Jun 2000 11:35:48 +0000 (11:35 +0000)]
Overhaul to use mLib's arena system underneath.

20 years agoMore hacking for the signs of the outputs.
mdw [Sat, 17 Jun 2000 11:34:46 +0000 (11:34 +0000)]
More hacking for the signs of the outputs.

20 years agoMGF-1 support, as defined in PKCS#1.
mdw [Sat, 17 Jun 2000 11:33:11 +0000 (11:33 +0000)]
MGF-1 support, as defined in PKCS#1.

20 years agoChange buffer offset to be unsigned.
mdw [Sat, 17 Jun 2000 11:32:52 +0000 (11:32 +0000)]
Change buffer offset to be unsigned.

20 years agoPortability fix for broken compilers.
mdw [Sat, 17 Jun 2000 11:31:43 +0000 (11:31 +0000)]
Portability fix for broken compilers.

20 years agoMaurer's universal statistical test.
mdw [Sat, 17 Jun 2000 11:29:49 +0000 (11:29 +0000)]
Maurer's universal statistical test.

20 years agoAdd arena support.
mdw [Sat, 17 Jun 2000 11:29:38 +0000 (11:29 +0000)]
Add arena support.

20 years agoAdd the flags word to the generic generator.
mdw [Sat, 17 Jun 2000 11:29:03 +0000 (11:29 +0000)]
Add the flags word to the generic generator.

20 years agoAmend the notes slightly.
mdw [Sat, 17 Jun 2000 11:28:51 +0000 (11:28 +0000)]
Amend the notes slightly.

20 years agoUse secure memory interface from MP library. `rand_getgood' is
mdw [Sat, 17 Jun 2000 11:28:22 +0000 (11:28 +0000)]
Use secure memory interface from MP library.  `rand_getgood' is
deprecated.

20 years agoKey size table interpretation.
mdw [Sat, 17 Jun 2000 11:27:52 +0000 (11:27 +0000)]
Key size table interpretation.

20 years agoAdd key fetching interface.
mdw [Sat, 17 Jun 2000 11:27:43 +0000 (11:27 +0000)]
Add key fetching interface.

20 years agoUse secure memory interface from MP library.
mdw [Sat, 17 Jun 2000 11:27:20 +0000 (11:27 +0000)]
Use secure memory interface from MP library.

20 years ago`rand_getgood' is deprecated.
mdw [Sat, 17 Jun 2000 11:26:35 +0000 (11:26 +0000)]
`rand_getgood' is deprecated.

20 years agoAdd the key packing interface.
mdw [Sat, 17 Jun 2000 11:26:18 +0000 (11:26 +0000)]
Add the key packing interface.

20 years agokey_structfind: track minor data structure change, and cope if the
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.

20 years agoNew key size interface.
mdw [Sat, 17 Jun 2000 11:24:08 +0000 (11:24 +0000)]
New key size interface.

20 years agoUse secure arena for memory allocation. Minor changes in the generic
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.

20 years agoPortability fix for broken compilers.
mdw [Sat, 17 Jun 2000 11:23:27 +0000 (11:23 +0000)]
Portability fix for broken compilers.

20 years agoTypesetting fix. Add a flags word to the generic generator.
mdw [Sat, 17 Jun 2000 11:23:11 +0000 (11:23 +0000)]
Typesetting fix.  Add a flags word to the generic generator.

20 years agoMinor changes in the generic hash and MAC interfaces.
mdw [Sat, 17 Jun 2000 11:22:46 +0000 (11:22 +0000)]
Minor changes in the generic hash and MAC interfaces.

20 years agoMinor changes in the generic hash interface.
mdw [Sat, 17 Jun 2000 11:22:17 +0000 (11:22 +0000)]
Minor changes in the generic hash interface.

20 years agoAdd a commentary on the system.
mdw [Sat, 17 Jun 2000 11:05:27 +0000 (11:05 +0000)]
Add a commentary on the system.

20 years agoFast but nonstandard secret sharing system.
mdw [Sat, 17 Jun 2000 10:56:30 +0000 (10:56 +0000)]
Fast but nonstandard secret sharing system.

20 years agoBe more verbose when working.
mdw [Sat, 17 Jun 2000 10:56:13 +0000 (10:56 +0000)]
Be more verbose when working.

20 years agoNew key size interface.
mdw [Sat, 17 Jun 2000 10:56:00 +0000 (10:56 +0000)]
New key size interface.

20 years agoFIPS 140-1 random generator test.
mdw [Sat, 17 Jun 2000 10:55:38 +0000 (10:55 +0000)]
FIPS 140-1 random generator test.

20 years agoTypesetting fixes. Add flags word to generatic random generator.
mdw [Sat, 17 Jun 2000 10:55:24 +0000 (10:55 +0000)]
Typesetting fixes.  Add flags word to generatic random generator.

20 years agoTypesetting fixes.
mdw [Sat, 17 Jun 2000 10:54:59 +0000 (10:54 +0000)]
Typesetting fixes.

20 years agoUse secure arena for memory allocation.
mdw [Sat, 17 Jun 2000 10:54:43 +0000 (10:54 +0000)]
Use secure arena for memory allocation.

20 years agoProgram to generate and verify signatures on multiple files.
mdw [Sat, 17 Jun 2000 10:54:29 +0000 (10:54 +0000)]
Program to generate and verify signatures on multiple files.

20 years agoTypesetting fixes. Arena support.
mdw [Sat, 17 Jun 2000 10:54:00 +0000 (10:54 +0000)]
Typesetting fixes.  Arena support.

20 years agoMinor changes for key fetching. Typesetting fixes.
mdw [Sat, 17 Jun 2000 10:53:42 +0000 (10:53 +0000)]
Minor changes for key fetching.  Typesetting fixes.

20 years agoMinor changes for key fetching.
mdw [Sat, 17 Jun 2000 10:52:47 +0000 (10:52 +0000)]
Minor changes for key fetching.

20 years agoSupport new key size interface.
mdw [Sat, 17 Jun 2000 10:52:32 +0000 (10:52 +0000)]
Support new key size interface.

20 years agoChange name for S-box header file.
mdw [Sat, 17 Jun 2000 10:52:14 +0000 (10:52 +0000)]
Change name for S-box header file.

20 years agoCounter mode ciphers and pseudo-random generator.
mdw [Sat, 17 Jun 2000 10:51:42 +0000 (10:51 +0000)]
Counter mode ciphers and pseudo-random generator.

20 years agoVersion number changes. Find maths library for Maurer's test.
mdw [Sat, 17 Jun 2000 10:51:23 +0000 (10:51 +0000)]
Version number changes.  Find maths library for Maurer's test.

20 years agoChange buffer offset to be unsigned.
mdw [Sat, 17 Jun 2000 10:50:55 +0000 (10:50 +0000)]
Change buffer offset to be unsigned.

20 years agoUse secure arena for memory allocation. Rearrange setiv slightly.
mdw [Sat, 17 Jun 2000 10:50:39 +0000 (10:50 +0000)]
Use secure arena for memory allocation.  Rearrange setiv slightly.

20 years agoNew cipher.
mdw [Sat, 17 Jun 2000 10:49:14 +0000 (10:49 +0000)]
New cipher.

20 years agoCAST S-box contents.
mdw [Sat, 17 Jun 2000 10:49:05 +0000 (10:49 +0000)]
CAST S-box contents.

20 years agoCAST S-boxes.
mdw [Sat, 17 Jun 2000 10:48:52 +0000 (10:48 +0000)]
CAST S-boxes.

20 years agoCAST round function macros.
mdw [Sat, 17 Jun 2000 10:48:29 +0000 (10:48 +0000)]
CAST round function macros.

20 years agoTidy round function a little. Support new key size interface.
mdw [Sat, 17 Jun 2000 10:47:56 +0000 (10:47 +0000)]
Tidy round function a little.  Support new key size interface.

20 years agoEmits Blowfish initial key data, derived from the digits of pi.
mdw [Sat, 17 Jun 2000 10:47:28 +0000 (10:47 +0000)]
Emits Blowfish initial key data, derived from the digits of pi.

20 years agoSlight support for 96-bit ciphers. Support for counter-mode ciphers.
mdw [Sat, 17 Jun 2000 10:47:06 +0000 (10:47 +0000)]
Slight support for 96-bit ciphers.  Support for counter-mode ciphers.

20 years agoNow generated automatically.
mdw [Sat, 17 Jun 2000 10:46:00 +0000 (10:46 +0000)]
Now generated automatically.

20 years agoMinor changes for key fetching. Typesetting fixes.
mdw [Sat, 17 Jun 2000 10:45:48 +0000 (10:45 +0000)]
Minor changes for key fetching.  Typesetting fixes.

20 years agoTypesetting fixes. Advertise random number generator strength. Use
mdw [Sat, 17 Jun 2000 10:45:21 +0000 (10:45 +0000)]
Typesetting fixes.  Advertise random number generator strength.  Use
secure arena for memory allocation.

20 years agoTypesetting fix.
mdw [Sat, 17 Jun 2000 10:44:17 +0000 (10:44 +0000)]
Typesetting fix.

20 years agoMove GCD filter to separate file. Handle failures from pgen_jump.
mdw [Sat, 17 Jun 2000 10:43:57 +0000 (10:43 +0000)]
Move GCD filter to separate file.  Handle failures from pgen_jump.

20 years agoConvenient table-driven extraction of structured keys.
mdw [Sat, 17 Jun 2000 10:42:54 +0000 (10:42 +0000)]
Convenient table-driven extraction of structured keys.

20 years agoPacking and unpacking structured keys.
mdw [Sat, 17 Jun 2000 10:42:41 +0000 (10:42 +0000)]
Packing and unpacking structured keys.

20 years agoTable for driving key data extraction.
mdw [Sat, 17 Jun 2000 10:41:45 +0000 (10:41 +0000)]
Table for driving key data extraction.

20 years agoSupport for secure memory arenas.
mdw [Sat, 17 Jun 2000 10:40:10 +0000 (10:40 +0000)]
Support for secure memory arenas.

20 years agoLots of new ciphers and other files.
mdw [Sat, 17 Jun 2000 10:33:43 +0000 (10:33 +0000)]
Lots of new ciphers and other files.

20 years agoDescribe interface changes and new ciphers.
mdw [Sat, 17 Jun 2000 10:33:26 +0000 (10:33 +0000)]
Describe interface changes and new ciphers.

20 years agoMiscellaneous fixes.
mdw [Sat, 17 Jun 2000 10:33:10 +0000 (10:33 +0000)]
Miscellaneous fixes.

20 years agoIgnore lots of new generated files.
mdw [Sat, 17 Jun 2000 10:17:25 +0000 (10:17 +0000)]
Ignore lots of new generated files.

20 years agoMake it all compile properly.
mdw [Sat, 12 Feb 2000 18:55:40 +0000 (18:55 +0000)]
Make it all compile properly.

20 years agoMissed a file. Whoops.
mdw [Sat, 12 Feb 2000 18:22:26 +0000 (18:22 +0000)]
Missed a file.  Whoops.

20 years agoOverhaul of key management (again).
mdw [Sat, 12 Feb 2000 18:21:23 +0000 (18:21 +0000)]
Overhaul of key management (again).

20 years agoOnly produce initialization message if verbose.
mdw [Wed, 22 Dec 1999 22:14:40 +0000 (22:14 +0000)]
Only produce initialization message if verbose.

20 years agoFix bug in passphrase flushing loop.
mdw [Wed, 22 Dec 1999 22:13:42 +0000 (22:13 +0000)]
Fix bug in passphrase flushing loop.

20 years agoLots of new files.
mdw [Wed, 22 Dec 1999 16:04:06 +0000 (16:04 +0000)]
Lots of new files.

20 years agoAdd brief section on RSA. Describe new prime-search system.
mdw [Wed, 22 Dec 1999 16:03:54 +0000 (16:03 +0000)]
Add brief section on RSA.  Describe new prime-search system.

20 years agoNew mLib version. Find socket functions for pixie.
mdw [Wed, 22 Dec 1999 16:03:31 +0000 (16:03 +0000)]
New mLib version.  Find socket functions for pixie.

20 years agoInterface to allocating `locked' memory (which isn't paged out).
mdw [Wed, 22 Dec 1999 16:02:52 +0000 (16:02 +0000)]
Interface to allocating `locked' memory (which isn't paged out).

20 years agoOutput the table with the correct new header guard names.
mdw [Wed, 22 Dec 1999 16:02:30 +0000 (16:02 +0000)]
Output the table with the correct new header guard names.

20 years agoSimple shell script to start a passphrase pixie.
mdw [Wed, 22 Dec 1999 16:02:11 +0000 (16:02 +0000)]
Simple shell script to start a passphrase pixie.

20 years agoStandard progress-reporting functions.
mdw [Wed, 22 Dec 1999 16:01:57 +0000 (16:01 +0000)]
Standard progress-reporting functions.

20 years agoFind `safe' primes (i.e., %$p = 2q + 1$%).
mdw [Wed, 22 Dec 1999 16:01:34 +0000 (16:01 +0000)]
Find `safe' primes (i.e., %$p = 2q + 1$%).

20 years agoSame file, completely different code. Main interface for new prime-
mdw [Wed, 22 Dec 1999 16:01:11 +0000 (16:01 +0000)]
Same file, completely different code.  Main interface for new prime-
search system.

20 years agoNew prime-search system. Read BBS keys from key files.
mdw [Wed, 22 Dec 1999 15:59:51 +0000 (15:59 +0000)]
New prime-search system.  Read BBS keys from key files.

20 years agoSearch for primitive elements using prime-search equipment.
mdw [Wed, 22 Dec 1999 15:58:59 +0000 (15:58 +0000)]
Search for primitive elements using prime-search equipment.

20 years agoPassphrase pixie support.
mdw [Wed, 22 Dec 1999 15:58:41 +0000 (15:58 +0000)]
Passphrase pixie support.

20 years agoPortable interface to reading passphrases.
mdw [Wed, 22 Dec 1999 15:58:20 +0000 (15:58 +0000)]
Portable interface to reading passphrases.

20 years agoLabel system-specific parts more clearly.
mdw [Wed, 22 Dec 1999 15:57:55 +0000 (15:57 +0000)]
Label system-specific parts more clearly.

20 years agoUse clever recursive algorithm for writing numbers out.
mdw [Wed, 22 Dec 1999 15:56:56 +0000 (15:56 +0000)]
Use clever recursive algorithm for writing numbers out.

20 years agoMake the buffer passed to `put' op constant.
mdw [Wed, 22 Dec 1999 15:56:30 +0000 (15:56 +0000)]
Make the buffer passed to `put' op constant.

20 years agoAdd `mprand_range'.
mdw [Wed, 22 Dec 1999 15:55:43 +0000 (15:55 +0000)]
Add `mprand_range'.

20 years agoModify `mprand' slightly. Add `mprand_range'.
mdw [Wed, 22 Dec 1999 15:55:33 +0000 (15:55 +0000)]
Modify `mprand' slightly.  Add `mprand_range'.

20 years agoAdjust Karatsuba parameters.
mdw [Wed, 22 Dec 1999 15:55:00 +0000 (15:55 +0000)]
Adjust Karatsuba parameters.

20 years agoAdjust Karatsuba parameters. Calculate destination size better.
mdw [Wed, 22 Dec 1999 15:54:41 +0000 (15:54 +0000)]
Adjust Karatsuba parameters.  Calculate destination size better.

20 years agoRandom number generator for finding DSA parameters.
mdw [Wed, 22 Dec 1999 15:53:12 +0000 (15:53 +0000)]
Random number generator for finding DSA parameters.

20 years agoReworking for new prime-search system.
mdw [Wed, 22 Dec 1999 15:52:44 +0000 (15:52 +0000)]
Reworking for new prime-search system.

20 years agoRename `bbs_params' to `bbs_param' for consistency.
mdw [Wed, 22 Dec 1999 15:52:08 +0000 (15:52 +0000)]
Rename `bbs_params' to `bbs_param' for consistency.

20 years agoFind `strong' RSA primes using Gordon's algorithm.
mdw [Wed, 22 Dec 1999 15:51:22 +0000 (15:51 +0000)]
Find `strong' RSA primes using Gordon's algorithm.

20 years agoCalculate product of small primes for DSA prime search.
mdw [Wed, 22 Dec 1999 15:51:02 +0000 (15:51 +0000)]
Calculate product of small primes for DSA prime search.

20 years agoInitial RSA support.
mdw [Wed, 22 Dec 1999 15:50:45 +0000 (15:50 +0000)]
Initial RSA support.

20 years agoReworking for new prime-search system. Add function for working out how
mdw [Wed, 22 Dec 1999 15:50:29 +0000 (15:50 +0000)]
Reworking for new prime-search system.  Add function for working out how
many iterations to use for a particular number.

20 years agoRenamed from `pgen'. Reworking for new prime-search system.
mdw [Wed, 22 Dec 1999 15:49:39 +0000 (15:49 +0000)]
Renamed from `pgen'.  Reworking for new prime-search system.

20 years agoNew function for division by a small integer.
mdw [Wed, 22 Dec 1999 15:49:07 +0000 (15:49 +0000)]
New function for division by a small integer.

20 years agoRename output file. Make output constants unsigned.
mdw [Wed, 22 Dec 1999 15:48:39 +0000 (15:48 +0000)]
Rename output file.  Make output constants unsigned.

20 years agoTrack new key-management changes. Support new key generation
mdw [Wed, 22 Dec 1999 15:48:10 +0000 (15:48 +0000)]
Track new key-management changes.  Support new key generation
algorithms.

20 years agoMajor key-management revision.
mdw [Wed, 22 Dec 1999 15:47:48 +0000 (15:47 +0000)]
Major key-management revision.