oweals/openssl.git
24 years agoCommit patch to bn.h that CVS decided to throw away during 'cvs update',
Bodo Möller [Sat, 5 Feb 2000 20:39:26 +0000 (20:39 +0000)]
Commit patch to bn.h that CVS decided to throw away during 'cvs update',
and initialize too_many because memset(..., 0, ...) is not used here.

24 years agoGenerate just one error code if iterated SSL_CTX_get() fails.
Bodo Möller [Sat, 5 Feb 2000 19:29:00 +0000 (19:29 +0000)]
Generate just one error code if iterated SSL_CTX_get() fails.
Avoid enabled 'assert()' in production library.

24 years agoUse MONT_WORD macro to control if the word-based or the bignum
Ulf Möller [Sat, 5 Feb 2000 18:23:05 +0000 (18:23 +0000)]
Use MONT_WORD macro to control if the word-based or the bignum
algorithm is used.

24 years agoNew functions BN_CTX_start(), BN_CTX_get(), BN_CTX_end() to access
Ulf Möller [Sat, 5 Feb 2000 14:17:32 +0000 (14:17 +0000)]
New functions BN_CTX_start(), BN_CTX_get(), BN_CTX_end() to access
temporary BIGNUMs. BN_CTX still uses a fixed number of BIGNUMs, but
the BN_CTX implementation could now easily be changed.

24 years agomd2 is documented in the md5 page. lets see if this works...
Ulf Möller [Sat, 5 Feb 2000 10:43:03 +0000 (10:43 +0000)]
md2 is documented in the md5 page. lets see if this works...

24 years agoDocument RC4.
Ulf Möller [Sat, 5 Feb 2000 10:41:05 +0000 (10:41 +0000)]
Document RC4.

24 years agoReplace ridiculous libdes PRNG with RAND_bytes. These functions are not
Ulf Möller [Sat, 5 Feb 2000 10:39:54 +0000 (10:39 +0000)]
Replace ridiculous libdes PRNG with RAND_bytes. These functions are not
used anywhere in OpenSSL, but might be used by libdes applications.

24 years agoNew xcbc_ok test vector is required after the parity bits in cbc2_key
Andy Polyakov [Fri, 4 Feb 2000 15:16:22 +0000 (15:16 +0000)]
New xcbc_ok test vector is required after the parity bits in cbc2_key
were fixed up. The catch is that in the DESX test the cbc2_key is used
as whitening key where *all* 64 bits are significant.

24 years agoRename SSLeay_add_all_algorithms() et al to
Dr. Stephen Henson [Fri, 4 Feb 2000 14:01:38 +0000 (14:01 +0000)]
Rename SSLeay_add_all_algorithms() et al to
OpenSSL_add_all_algorithms(). Move these into
separate files so they work properly.

24 years agoReport progress as in dsatest.c when creating a DHE key.
Bodo Möller [Fri, 4 Feb 2000 11:21:18 +0000 (11:21 +0000)]
Report progress as in dsatest.c when creating a DHE key.

24 years agoUse correct, not American spelling.
Bodo Möller [Fri, 4 Feb 2000 00:56:09 +0000 (00:56 +0000)]
Use correct, not American spelling.

24 years agoCorrect spelling as it was done in the source.
Bodo Möller [Fri, 4 Feb 2000 00:42:21 +0000 (00:42 +0000)]
Correct spelling as it was done in the source.

24 years ago*** empty log message ***
Ulf Möller [Thu, 3 Feb 2000 23:38:55 +0000 (23:38 +0000)]
*** empty log message ***

24 years agoa short page for "speed"
Ulf Möller [Thu, 3 Feb 2000 23:23:57 +0000 (23:23 +0000)]
a short page for "speed"

24 years agoispell (and minor modifications)
Ulf Möller [Thu, 3 Feb 2000 23:23:24 +0000 (23:23 +0000)]
ispell (and minor modifications)

24 years agoDocument hash functions.
Ulf Möller [Thu, 3 Feb 2000 18:22:01 +0000 (18:22 +0000)]
Document hash functions.

24 years agoAdd new -notext option to 'ca', -pubkey option to spkac.
Dr. Stephen Henson [Thu, 3 Feb 2000 02:56:48 +0000 (02:56 +0000)]
Add new -notext option to 'ca', -pubkey option to spkac.

Remove some "WTF??" casts from applications.

Fixes to keep VC++ happy and avoid warnings.

Docs tidy.

24 years agoSome 'const's for BNs.
Bodo Möller [Thu, 3 Feb 2000 01:26:07 +0000 (01:26 +0000)]
Some 'const's for BNs.

24 years agoInclude OpenSSL license.
Bodo Möller [Wed, 2 Feb 2000 23:30:32 +0000 (23:30 +0000)]
Include OpenSSL license.

24 years agoTolerate negative numbers in BN_is_prime.
Bodo Möller [Wed, 2 Feb 2000 22:18:01 +0000 (22:18 +0000)]
Tolerate negative numbers in BN_is_prime.

24 years agorndsort{Miller, Rabin} primality test.
Bodo Möller [Wed, 2 Feb 2000 21:20:44 +0000 (21:20 +0000)]
rndsort{Miller, Rabin} primality test.

24 years agoSupport for "multiply high" instruction, see BN_UMULT_HIGH comment in
Andy Polyakov [Wed, 2 Feb 2000 16:18:12 +0000 (16:18 +0000)]
Support for "multiply high" instruction, see BN_UMULT_HIGH comment in
crypto/bn/bn_lcl.h for further details. It should be noted that for
the moment of this writing the code was tested only on Alpha. If
compiled with DEC C the C implementation exhibits 12% performance
improvement over the crypto/bn/asm/alpha.s (on EV56 box running
AlphaLinux). GNU C is (unfortunately) 8% behind the assembler
implementation. But it's OpenVMS Alpha users who *may* benefit most
as 'apps/openssl speed rsa' exhibits 6 (six) times performance
improvement over the original VMS bignum implementation. Where "*may*"
means "as soon as code is enabled though #define SIXTY_FOUR_BIT and
crypto/bn/asm/vms.mar is skipped."

24 years agoUpdate docs.
Dr. Stephen Henson [Wed, 2 Feb 2000 01:33:28 +0000 (01:33 +0000)]
Update docs.

24 years agoBug fix: BN_is_prime() would fail with a high probability for small
Ulf Möller [Tue, 1 Feb 2000 23:48:55 +0000 (23:48 +0000)]
Bug fix: BN_is_prime() would fail with a high probability for small
primes (negligible for larger ones).

24 years agomatch the prototype
Ulf Möller [Tue, 1 Feb 2000 23:47:24 +0000 (23:47 +0000)]
match the prototype

24 years agoRemove an =over that never ends
Ulf Möller [Tue, 1 Feb 2000 15:33:15 +0000 (15:33 +0000)]
Remove an =over that never ends

24 years agolink to SSL_get_error(3)
Ulf Möller [Tue, 1 Feb 2000 15:05:11 +0000 (15:05 +0000)]
link to SSL_get_error(3)

24 years agodhgen is gone.
Ulf Möller [Tue, 1 Feb 2000 15:00:37 +0000 (15:00 +0000)]
dhgen is gone.

24 years agoCorrect one link.
Richard Levitte [Tue, 1 Feb 2000 12:03:47 +0000 (12:03 +0000)]
Correct one link.

24 years agoIf n0 == d0, we must alway compute 'rem' "by hand"
Bodo Möller [Tue, 1 Feb 2000 11:10:54 +0000 (11:10 +0000)]
If n0 == d0, we must alway compute 'rem' "by hand"

24 years agoTypo in preprocessor symbol.
Bodo Möller [Tue, 1 Feb 2000 08:48:30 +0000 (08:48 +0000)]
Typo in preprocessor symbol.

24 years agoPointer to important manual page that should be written.
Bodo Möller [Tue, 1 Feb 2000 08:48:05 +0000 (08:48 +0000)]
Pointer to important manual page that should be written.

24 years agoChange log entry completed.
Bodo Möller [Tue, 1 Feb 2000 07:50:42 +0000 (07:50 +0000)]
Change log entry completed.

24 years agoundo. I keep confusing my directories. :(
Ulf Möller [Tue, 1 Feb 2000 02:24:10 +0000 (02:24 +0000)]
undo. I keep confusing my directories. :(

24 years agoEBCDIC support.
Ulf Möller [Tue, 1 Feb 2000 02:21:16 +0000 (02:21 +0000)]
EBCDIC support.

Submitted by: Martin Kraemer <martin.kraemer@mch.sni.de>

24 years agoDocument ERR library.
Ulf Möller [Tue, 1 Feb 2000 01:37:00 +0000 (01:37 +0000)]
Document ERR library.

24 years agospelling
Ulf Möller [Tue, 1 Feb 2000 01:35:52 +0000 (01:35 +0000)]
spelling

24 years agoPrint a reassuring message when Configure is done.
Ulf Möller [Tue, 1 Feb 2000 01:35:29 +0000 (01:35 +0000)]
Print a reassuring message when Configure is done.

24 years agoReference for SHA-1.
Bodo Möller [Mon, 31 Jan 2000 09:02:30 +0000 (09:02 +0000)]
Reference for SHA-1.

24 years agoChecked in some junk. Sorry.
Ulf Möller [Sun, 30 Jan 2000 23:46:18 +0000 (23:46 +0000)]
Checked in some junk. Sorry.

24 years agoNote changes.
Ulf Möller [Sun, 30 Jan 2000 23:34:33 +0000 (23:34 +0000)]
Note changes.

24 years agoSeek out and destroy another evil cast.
Ulf Möller [Sun, 30 Jan 2000 23:33:40 +0000 (23:33 +0000)]
Seek out and destroy another evil cast.

24 years agoTypos.
Ulf Möller [Sun, 30 Jan 2000 23:31:01 +0000 (23:31 +0000)]
Typos.

24 years agoSource code cleanups: Use void * rather than char * in lhash,
Ulf Möller [Sun, 30 Jan 2000 22:20:28 +0000 (22:20 +0000)]
Source code cleanups: Use void * rather than char * in lhash,
eliminate some of the -Wcast-qual warnings (debug-ben-strict target)

24 years agoUpdate docs: corrections, turn buffer docs into manpage, fold SHA1
Ulf Möller [Sun, 30 Jan 2000 22:16:47 +0000 (22:16 +0000)]
Update docs: corrections, turn buffer docs into manpage, fold SHA1
pages into one for improved readability, add lhash manpage

24 years agoSynchronise
Richard Levitte [Sun, 30 Jan 2000 13:44:08 +0000 (13:44 +0000)]
Synchronise

24 years agoDocumentation for BN_is_prime_fasttest.
Bodo Möller [Sun, 30 Jan 2000 11:05:39 +0000 (11:05 +0000)]
Documentation for BN_is_prime_fasttest.

24 years agoMake output of "openssl dsaparam 1024" more interesting :-)
Bodo Möller [Sun, 30 Jan 2000 03:32:28 +0000 (03:32 +0000)]
Make output of "openssl dsaparam 1024" more interesting :-)

24 years agoTiny changes to previous patch (the log message was meant to be
Bodo Möller [Sun, 30 Jan 2000 02:40:38 +0000 (02:40 +0000)]
Tiny changes to previous patch (the log message was meant to be
"Make DSA_generate_parameters faster").

24 years agoMake DSA_generate_parameters, and fix a couple of bug
Bodo Möller [Sun, 30 Jan 2000 02:23:03 +0000 (02:23 +0000)]
Make DSA_generate_parameters, and fix a couple of bug
(including another problem in the s3_srvr.c state machine).

24 years agoUpdate docs.
Dr. Stephen Henson [Sun, 30 Jan 2000 01:39:40 +0000 (01:39 +0000)]
Update docs.

24 years agoReimplement so only one synchronous stack is used. The benefit is
Richard Levitte [Sat, 29 Jan 2000 01:22:03 +0000 (01:22 +0000)]
Reimplement so only one synchronous stack is used.  The benefit is
that function pointers are nicely tucker in their structure.

24 years agoFinally found a form that I like...
Richard Levitte [Sat, 29 Jan 2000 01:12:50 +0000 (01:12 +0000)]
Finally found a form that I like...

24 years agoFix CRL encoding bug.
Dr. Stephen Henson [Sat, 29 Jan 2000 00:00:26 +0000 (00:00 +0000)]
Fix CRL encoding bug.

24 years agomore information on 0.9.5
Bodo Möller [Fri, 28 Jan 2000 21:26:30 +0000 (21:26 +0000)]
more information on 0.9.5

24 years agoSynchronise with Unix code
Richard Levitte [Fri, 28 Jan 2000 12:15:20 +0000 (12:15 +0000)]
Synchronise with Unix code

24 years agoPut config in section 5, where it belongs.
Richard Levitte [Fri, 28 Jan 2000 11:35:44 +0000 (11:35 +0000)]
Put config in section 5, where it belongs.

24 years agoAdd CA.pl man page this time...
Dr. Stephen Henson [Fri, 28 Jan 2000 01:37:08 +0000 (01:37 +0000)]
Add CA.pl man page this time...

24 years agoNew -pkcs12 option to CA.pl.
Dr. Stephen Henson [Fri, 28 Jan 2000 01:35:31 +0000 (01:35 +0000)]
New -pkcs12 option to CA.pl.
Document CA.pl script.
Initialise and free up the extra DH fields
(nothing uses them yet though).

24 years agofix link
Ulf Möller [Thu, 27 Jan 2000 23:07:50 +0000 (23:07 +0000)]
fix link

24 years agoDeclare BN_pseudo_rand().
Richard Levitte [Thu, 27 Jan 2000 22:07:42 +0000 (22:07 +0000)]
Declare BN_pseudo_rand().

24 years agoIt works much better when you don't press shift at the wrong moment...
Richard Levitte [Thu, 27 Jan 2000 21:11:51 +0000 (21:11 +0000)]
It works much better when you don't press shift at the wrong moment...

24 years agoA couple of things were reversed for BN_pseudo_rand ...
Bodo Möller [Thu, 27 Jan 2000 21:09:25 +0000 (21:09 +0000)]
A couple of things were reversed for BN_pseudo_rand ...

24 years agoAdded a configuration for myself...
Richard Levitte [Thu, 27 Jan 2000 21:09:15 +0000 (21:09 +0000)]
Added a configuration for myself...

24 years agoUse the pod2man that comes with OpenSSL. Make it so config(5) really
Richard Levitte [Thu, 27 Jan 2000 20:34:03 +0000 (20:34 +0000)]
Use the pod2man that comes with OpenSSL.  Make it so config(5) really
ends up in section 5.

24 years agoSince pod2man is still evolving, and some sites (among others dev.openssl.org)
Richard Levitte [Thu, 27 Jan 2000 20:23:29 +0000 (20:23 +0000)]
Since pod2man is still evolving, and some sites (among others dev.openssl.org)
don't have a version that will handle the L<foo(1)|foo(1)> construct yet, here
is a copy from my laptop (slightly modifed to work independently of the place
where perl itself resides).

24 years agoUpdate all links so they will be rendered better.
Richard Levitte [Thu, 27 Jan 2000 20:11:26 +0000 (20:11 +0000)]
Update all links so they will be rendered better.

24 years agocomment was wrong.
Ulf Möller [Thu, 27 Jan 2000 19:52:58 +0000 (19:52 +0000)]
comment was wrong.

24 years agoUpdate comment from bn.h
Ulf Möller [Thu, 27 Jan 2000 19:36:52 +0000 (19:36 +0000)]
Update comment from bn.h

24 years agoDocument DSA and SHA.
Ulf Möller [Thu, 27 Jan 2000 19:31:26 +0000 (19:31 +0000)]
Document DSA and SHA.
New function BN_pseudo_rand().
Use BN_prime_checks_size(BN_num_bits(w)) rounds of Miller-Rabin when
generating DSA primes (why not use BN_is_prime()?)

24 years agoNew news.
Ulf Möller [Thu, 27 Jan 2000 19:29:23 +0000 (19:29 +0000)]
New news.

24 years agoIncrease the year by one.
Ulf Möller [Thu, 27 Jan 2000 19:28:49 +0000 (19:28 +0000)]
Increase the year by one.

24 years agotypo in a comment
Bodo Möller [Thu, 27 Jan 2000 14:31:31 +0000 (14:31 +0000)]
typo in a comment

24 years agoUpdate comments to provide a better approximation of reality.
Bodo Möller [Thu, 27 Jan 2000 13:00:10 +0000 (13:00 +0000)]
Update comments to provide a better approximation of reality.

24 years agoAdd a pointer to a paper (is the algorithm in section 4.2 the
Bodo Möller [Thu, 27 Jan 2000 12:52:41 +0000 (12:52 +0000)]
Add a pointer to a paper (is the algorithm in section 4.2 the
word-based algorithm we are using?)

24 years agoenable Montgomery test
Bodo Möller [Thu, 27 Jan 2000 11:26:28 +0000 (11:26 +0000)]
enable Montgomery test

24 years agoUpdate references.
Bodo Möller [Thu, 27 Jan 2000 09:15:49 +0000 (09:15 +0000)]
Update references.

24 years agoSmall correction.
Bodo Möller [Thu, 27 Jan 2000 09:03:49 +0000 (09:03 +0000)]
Small correction.

24 years agoCorrect typos that ispell did not find.
Bodo Möller [Thu, 27 Jan 2000 08:57:57 +0000 (08:57 +0000)]
Correct typos that ispell did not find.

24 years agoMade link of reference
Richard Levitte [Thu, 27 Jan 2000 02:29:19 +0000 (02:29 +0000)]
Made link of reference

24 years agoNew manpage.
Ulf Möller [Thu, 27 Jan 2000 01:54:05 +0000 (01:54 +0000)]
New manpage.

24 years agoRun ispell.
Ulf Möller [Thu, 27 Jan 2000 01:50:42 +0000 (01:50 +0000)]
Run ispell.
Clean up bn_mont.c.

24 years agoUpdate all links so they will be rendered better.
Richard Levitte [Thu, 27 Jan 2000 01:25:31 +0000 (01:25 +0000)]
Update all links so they will be rendered better.

24 years agoSome comments added, and slight code clean-ups.
Bodo Möller [Wed, 26 Jan 2000 22:36:55 +0000 (22:36 +0000)]
Some comments added, and slight code clean-ups.

24 years agoClarification.
Bodo Möller [Wed, 26 Jan 2000 08:59:26 +0000 (08:59 +0000)]
Clarification.

24 years agoNew manual page.
Bodo Möller [Tue, 25 Jan 2000 22:35:20 +0000 (22:35 +0000)]
New manual page.

24 years agoAvoid a race condition.
Bodo Möller [Mon, 24 Jan 2000 17:57:56 +0000 (17:57 +0000)]
Avoid a race condition.

24 years agoImprove clarity.
Bodo Möller [Mon, 24 Jan 2000 16:02:29 +0000 (16:02 +0000)]
Improve clarity.

24 years agoDocument RAND_load_file change.
Bodo Möller [Mon, 24 Jan 2000 14:42:26 +0000 (14:42 +0000)]
Document RAND_load_file change.

24 years agoMan page section forgotten...
Richard Levitte [Mon, 24 Jan 2000 14:19:00 +0000 (14:19 +0000)]
Man page section forgotten...

24 years agoGive the correct e-mail address even though the message is not quite serious
Bodo Möller [Mon, 24 Jan 2000 10:20:45 +0000 (10:20 +0000)]
Give the correct e-mail address even though the message is not quite serious

24 years agoRAND_load_file(..., -1) now means "read the complete file";
Bodo Möller [Mon, 24 Jan 2000 10:03:24 +0000 (10:03 +0000)]
RAND_load_file(..., -1) now means "read the complete file";
this is what we now use to read $RANDFILE / $HOME/.rnd.
(Previously, after 'cat'ting lots of stuff into .rnd
only the first MB would be looked at.)

Bugfix for apps/enc.c: Continue if RAND_pseudo_bytes returns 0
(only -1 is an error).

24 years agoRAND_pseudo_bytes is good enough for encryption IVs,
Bodo Möller [Mon, 24 Jan 2000 09:32:20 +0000 (09:32 +0000)]
RAND_pseudo_bytes is good enough for encryption IVs,
we should not need RAND_bytes (and we cannot use the latter
unless we load a seed file)

24 years agoThe des_xcbc_encrypt apparently always fails.
Bodo Möller [Mon, 24 Jan 2000 09:24:28 +0000 (09:24 +0000)]
The des_xcbc_encrypt apparently always fails.
Workaround so that "make test" continues anyway.

24 years agoAdd the PID to the output on Win32.
Richard Levitte [Mon, 24 Jan 2000 04:05:00 +0000 (04:05 +0000)]
Add the PID to the output on Win32.

24 years agoLet's make all the example formated the same, shall we?
Richard Levitte [Mon, 24 Jan 2000 02:24:37 +0000 (02:24 +0000)]
Let's make all the example formated the same, shall we?

24 years agoCorrect indentation
Richard Levitte [Mon, 24 Jan 2000 02:15:59 +0000 (02:15 +0000)]
Correct indentation

24 years agoDocument how CRYPTO_EX_DATA stuff works for
Dr. Stephen Henson [Mon, 24 Jan 2000 01:50:17 +0000 (01:50 +0000)]
Document how CRYPTO_EX_DATA stuff works for
RSA structures. Other structures behave in
a similar way.

24 years agoDocumented in the RSA_print page
Ulf Möller [Mon, 24 Jan 2000 01:21:22 +0000 (01:21 +0000)]
Documented in the RSA_print page

24 years agoRSA_print etc
Ulf Möller [Mon, 24 Jan 2000 01:20:39 +0000 (01:20 +0000)]
RSA_print etc