openssl.git
17 years agoDo not include openssl/ripemd.h when the RIPEMD algorithm has been deselected.
Richard Levitte [Mon, 12 Aug 2002 21:22:00 +0000 (21:22 +0000)]
Do not include openssl/ripemd.h when the RIPEMD algorithm has been deselected.
PR: 216, point 1

17 years agoDo not use the word 'modulus', which is a class template name in VC++ 6.0/SP5.
Richard Levitte [Mon, 12 Aug 2002 21:20:25 +0000 (21:20 +0000)]
Do not use the word 'modulus', which is a class template name in VC++ 6.0/SP5.
PR: 216, point 3

17 years agoScripts for testing ECC ciphersuites.
Bodo Möller [Mon, 12 Aug 2002 15:18:48 +0000 (15:18 +0000)]
Scripts for testing ECC ciphersuites.

Submitted by: Sun Microsystems Labs

17 years agoA few files in the ENGINE and EVP sections forgotten.
Richard Levitte [Mon, 12 Aug 2002 13:31:57 +0000 (13:31 +0000)]
A few files in the ENGINE and EVP sections forgotten.

17 years agofix previous commit (there's no SSLEAY_VERSION_TEXT)
Bodo Möller [Mon, 12 Aug 2002 11:21:02 +0000 (11:21 +0000)]
fix previous commit (there's no SSLEAY_VERSION_TEXT)

17 years agoremove comment
Bodo Möller [Mon, 12 Aug 2002 08:54:40 +0000 (08:54 +0000)]
remove comment

Submitted by: Douglas Stebila

17 years agoremove debug messages
Bodo Möller [Mon, 12 Aug 2002 08:52:23 +0000 (08:52 +0000)]
remove debug messages

Submitted by: Douglas Stebila

17 years agofix comment
Bodo Möller [Mon, 12 Aug 2002 08:51:30 +0000 (08:51 +0000)]
fix comment

Submitted by: Douglas Stebila

17 years agoget rid of EVP_PKEY_ECDSA (now we have EVP_PKEY_EC instead)
Bodo Möller [Mon, 12 Aug 2002 08:47:41 +0000 (08:47 +0000)]
get rid of EVP_PKEY_ECDSA (now we have EVP_PKEY_EC instead)

Submitted by: Nils Larsch

17 years agoadd 0.9.6g information
Bodo Möller [Mon, 12 Aug 2002 08:45:00 +0000 (08:45 +0000)]
add 0.9.6g information

17 years agoUpdate with the status for 0.9.6g.
Richard Levitte [Mon, 12 Aug 2002 06:54:54 +0000 (06:54 +0000)]
Update with the status for 0.9.6g.

17 years agoIn case of shared libraries, we might run one version of the
Richard Levitte [Sun, 11 Aug 2002 21:48:44 +0000 (21:48 +0000)]
In case of shared libraries, we might run one version of the
application with a different version of the library.  Detect if there
is a difference of versions, and print both versions in that case.
This might prove to be a good enough debugging tool in case of doubt.

17 years agoOne more file to compile on VMS as well.
Richard Levitte [Sun, 11 Aug 2002 12:27:28 +0000 (12:27 +0000)]
One more file to compile on VMS as well.

17 years agoRemove clashes between symbols that have the same name except for
Richard Levitte [Sun, 11 Aug 2002 12:23:08 +0000 (12:23 +0000)]
Remove clashes between symbols that have the same name except for
casing.

17 years agoMore long symbols to shorten.
Richard Levitte [Sun, 11 Aug 2002 11:50:32 +0000 (11:50 +0000)]
More long symbols to shorten.

17 years agomem* functions are declared in string.h.
Richard Levitte [Sat, 10 Aug 2002 01:36:14 +0000 (01:36 +0000)]
mem* functions are declared in string.h.

17 years agoSynchronise tests with Unix.
Richard Levitte [Sat, 10 Aug 2002 01:35:10 +0000 (01:35 +0000)]
Synchronise tests with Unix.

17 years agoA new header.
Richard Levitte [Fri, 9 Aug 2002 22:34:57 +0000 (22:34 +0000)]
A new header.

17 years agoSynchronise with Unix.
Richard Levitte [Fri, 9 Aug 2002 22:32:32 +0000 (22:32 +0000)]
Synchronise with Unix.
(I expect the next run will generate lots of errors on VMS :-)).

17 years agoMore long names to shorten.
Richard Levitte [Fri, 9 Aug 2002 22:23:33 +0000 (22:23 +0000)]
More long names to shorten.

17 years ago.cvsignore for crypto/ecdh
Bodo Möller [Fri, 9 Aug 2002 12:17:03 +0000 (12:17 +0000)]
.cvsignore for crypto/ecdh

17 years agomake update
Bodo Möller [Fri, 9 Aug 2002 12:16:15 +0000 (12:16 +0000)]
make update

17 years agofix warnings
Bodo Möller [Fri, 9 Aug 2002 11:58:28 +0000 (11:58 +0000)]
fix warnings

17 years agoadd field type to text output
Bodo Möller [Fri, 9 Aug 2002 10:44:44 +0000 (10:44 +0000)]
add field type to text output
don't print seed value as a number (leading zeros must not be removed)

Submitted by: Nils Larsch

17 years agouse 0, not NULL
Bodo Möller [Fri, 9 Aug 2002 09:39:53 +0000 (09:39 +0000)]
use 0, not NULL

Submitted by: Nils Larsch

17 years agoECDH engine support
Bodo Möller [Fri, 9 Aug 2002 09:39:11 +0000 (09:39 +0000)]
ECDH engine support

Submitted by: Douglas Stebila

17 years agoECC ciphersuite support
Bodo Möller [Fri, 9 Aug 2002 08:56:08 +0000 (08:56 +0000)]
ECC ciphersuite support

Submitted by: Douglas Stebila <douglas.stebila@sun.com>
(Authors: Vipul Gupta and Sumit Gupta, Sun Microsystems Laboratories)

17 years agoWhen we want to give a -f argument to $(MAKE), we'd better make sure the
Richard Levitte [Fri, 9 Aug 2002 08:50:30 +0000 (08:50 +0000)]
When we want to give a -f argument to $(MAKE), we'd better make sure the
variable doesn't already contain a -f argument.
PR: 203, part 4

17 years agoAdd ECDH support.
Bodo Möller [Fri, 9 Aug 2002 08:43:04 +0000 (08:43 +0000)]
Add ECDH support.

Additional changes:
 - use EC_GROUP_get_degree() in apps/req.c
 - add ECDSA and ECDH to apps/speed.c
 - adds support for EC curves over binary fields to ECDSA
 - new function EC_KEY_up_ref() in crypto/ec/ec_key.c
 - reorganize crypto/ecdsa/ecdsatest.c
 - add engine support for ECDH
 - fix a few bugs in ECDSA engine support

Submitted by: Douglas Stebila <douglas.stebila@sun.com>

17 years agoParse version numbers prefixed with text (egcs does that, even with
Richard Levitte [Fri, 9 Aug 2002 07:32:24 +0000 (07:32 +0000)]
Parse version numbers prefixed with text (egcs does that, even with
-dumpversion).
PR: 203, part 1

17 years ago0.9.6f is released
Richard Levitte [Thu, 8 Aug 2002 22:55:28 +0000 (22:55 +0000)]
0.9.6f is released

17 years agouse a generic EC_KEY structure (EC keys are not ECDSA specific)
Bodo Möller [Wed, 7 Aug 2002 10:49:54 +0000 (10:49 +0000)]
use a generic EC_KEY structure (EC keys are not ECDSA specific)

Submitted by: Nils Larsch

17 years agoavoid SIGSEGV
Bodo Möller [Wed, 7 Aug 2002 07:53:47 +0000 (07:53 +0000)]
avoid SIGSEGV

Submitted by: Nils Larsch, Douglas Stebila

17 years agoThese are updates/fixes to DH/DSA/RAND docs based on the fixes to the RSA
Geoff Thorpe [Mon, 5 Aug 2002 16:27:01 +0000 (16:27 +0000)]
These are updates/fixes to DH/DSA/RAND docs based on the fixes to the RSA
docs. There were a couple of other places (including RSA) where the docs
were not quite synchronised with the API that are now fixed. One or two
still remain to be fixed though ...

17 years agotypo fix
Geoff Thorpe [Mon, 5 Aug 2002 02:54:57 +0000 (02:54 +0000)]
typo fix

17 years agoVarious parts of the RSA documentation were inaccurate and out of date and
Geoff Thorpe [Sun, 4 Aug 2002 21:08:36 +0000 (21:08 +0000)]
Various parts of the RSA documentation were inaccurate and out of date and
this fixes those that I'm currently aware of. In particular, the ENGINE
interference in the RSA API has hopefully been clarified. This still needs
to be done for other areas of the API ...

17 years agoA single monolithic man page for the ENGINE stuff. This is a rough
Geoff Thorpe [Sun, 4 Aug 2002 20:57:19 +0000 (20:57 +0000)]
A single monolithic man page for the ENGINE stuff. This is a rough
first-cut but provides better documentation than having nothing on the
ENGINE API.

17 years agoFix "make install_docs" (and thus "make install").
Geoff Thorpe [Sun, 4 Aug 2002 20:40:23 +0000 (20:40 +0000)]
Fix "make install_docs" (and thus "make install").

17 years agooops -- must use EVP_MD_size, not EVP_MD_block_size
Bodo Möller [Sat, 3 Aug 2002 18:49:39 +0000 (18:49 +0000)]
oops -- must use EVP_MD_size, not EVP_MD_block_size

17 years agooops, undo previous change (was just for testing)
Bodo Möller [Sat, 3 Aug 2002 18:28:34 +0000 (18:28 +0000)]
oops, undo previous change (was just for testing)

17 years agofix bn_expand2
Bodo Möller [Sat, 3 Aug 2002 18:27:47 +0000 (18:27 +0000)]
fix bn_expand2

17 years agouse bn_wexpand instead of bn_expand2 (the latter is not needed here,
Bodo Möller [Sat, 3 Aug 2002 17:51:29 +0000 (17:51 +0000)]
use bn_wexpand instead of bn_expand2 (the latter is not needed here,
and it does not yet work correctly)

Submitted by: Douglas Stebila

17 years agoFix typo
Dr. Stephen Henson [Fri, 2 Aug 2002 18:58:33 +0000 (18:58 +0000)]
Fix typo

17 years agoFix the ASN1 sanity check: correct header length
Dr. Stephen Henson [Fri, 2 Aug 2002 18:48:55 +0000 (18:48 +0000)]
Fix the ASN1 sanity check: correct header length
calculation and check overflow against LONG_MAX.

17 years agodisable Sun divison algorithm by default
Bodo Möller [Fri, 2 Aug 2002 18:26:02 +0000 (18:26 +0000)]
disable Sun divison algorithm by default

17 years agofix bn_expand2
Bodo Möller [Fri, 2 Aug 2002 18:23:55 +0000 (18:23 +0000)]
fix bn_expand2

17 years agooptical changes
Bodo Möller [Fri, 2 Aug 2002 17:25:05 +0000 (17:25 +0000)]
optical changes

17 years agotypo
Bodo Möller [Fri, 2 Aug 2002 15:28:31 +0000 (15:28 +0000)]
typo

17 years agoremove obsolete part of comment
Bodo Möller [Fri, 2 Aug 2002 15:13:10 +0000 (15:13 +0000)]
remove obsolete part of comment

17 years agoremove obsoleted disabled code
Bodo Möller [Fri, 2 Aug 2002 15:07:08 +0000 (15:07 +0000)]
remove obsoleted disabled code

17 years agoLet BN_rand_range() abort with an error after 100 iterations
Bodo Möller [Fri, 2 Aug 2002 15:02:03 +0000 (15:02 +0000)]
Let BN_rand_range() abort with an error after 100 iterations
without success.

17 years agoupdate
Bodo Möller [Fri, 2 Aug 2002 14:58:09 +0000 (14:58 +0000)]
update

17 years agoChange BN_mod_sqrt() so that it verifies that the input value is
Bodo Möller [Fri, 2 Aug 2002 14:57:53 +0000 (14:57 +0000)]
Change BN_mod_sqrt() so that it verifies that the input value is
really the square of the return value.

17 years agomove GF2m tests to the end
Bodo Möller [Fri, 2 Aug 2002 14:49:59 +0000 (14:49 +0000)]
move GF2m tests to the end

17 years agoRename implementations of method functions so that they match
Bodo Möller [Fri, 2 Aug 2002 14:28:37 +0000 (14:28 +0000)]
Rename implementations of method functions so that they match
the new method names where _GF... suffixes have been removed.

Revert changes to ..._{get/set}_Jprojective_coordinates_...:
The current implementation for ECC over binary fields does not use
projective coordinates, and if it did, it would not use Jacobian
projective coordinates; so it's OK to use the ..._GFp prefix for all
this.

Add author attributions to some files so that it doesn't look
as if Sun wrote all of this :-)

17 years agotypos
Bodo Möller [Fri, 2 Aug 2002 13:52:19 +0000 (13:52 +0000)]
typos

17 years agoec2_smpt.c must be listed in LIBSRC
Bodo Möller [Fri, 2 Aug 2002 13:50:12 +0000 (13:50 +0000)]
ec2_smpt.c must be listed in LIBSRC

17 years agothere is no alternative EC_METHOD for curves over GF(2^m) (yet)
Bodo Möller [Fri, 2 Aug 2002 13:43:26 +0000 (13:43 +0000)]
there is no alternative EC_METHOD for curves over GF(2^m) (yet)

17 years agoadd support for elliptic curves over binary fields
Bodo Möller [Fri, 2 Aug 2002 13:42:24 +0000 (13:42 +0000)]
add support for elliptic curves over binary fields

Submitted by: Duglas Stebila <douglas.stebila@sun.com>,
              Sheueling Chang <sheueling.chang@sun.com>

(CHANGES entries by Bodo Moeller)

17 years agoextend curve list (additional curves over binary fields)
Bodo Möller [Fri, 2 Aug 2002 13:06:17 +0000 (13:06 +0000)]
extend curve list (additional curves over binary fields)

Submitted by: Sheueling Chang Shantz and Douglas Stebila (Sun Microsystems Laboratories)

17 years agoBinary field arithmetic contributed by Sun Microsystems.
Bodo Möller [Fri, 2 Aug 2002 13:03:55 +0000 (13:03 +0000)]
Binary field arithmetic contributed by Sun Microsystems.
The 'OPENSSL_NO_SUN_DIV' default is still subject to change,
so I didn't bother to finish the CHANGES entry yet.

Submitted by: Douglas Stebila <douglas.stebila@sun.com>, Sheueling Chang <sheueling.chang@sun.com>
(CHANGES entry by Bodo Moeller)

17 years agoAdd more WAP/WTLS elliptic curve OIDs.
Bodo Möller [Fri, 2 Aug 2002 12:28:34 +0000 (12:28 +0000)]
Add more WAP/WTLS elliptic curve OIDs.

Submitted by: Douglas Stebila <douglas.stebila@sun.com>

17 years agoNew error code ERR_R_DISABLED
Bodo Möller [Fri, 2 Aug 2002 12:27:21 +0000 (12:27 +0000)]
New error code ERR_R_DISABLED

Submitted by: Douglas Stebila <douglas.stebila@sun.com>

17 years agoget rid of OpenSSLDie
Bodo Möller [Fri, 2 Aug 2002 11:48:15 +0000 (11:48 +0000)]
get rid of OpenSSLDie

17 years agomake update
Richard Levitte [Fri, 2 Aug 2002 11:23:12 +0000 (11:23 +0000)]
make update

17 years agoCertain flag macros were tested with #if instead if #ifdef...
Richard Levitte [Fri, 2 Aug 2002 11:13:37 +0000 (11:13 +0000)]
Certain flag macros were tested with #if instead if #ifdef...

17 years agoWe don't need to find out which pod2man to use more than once
Richard Levitte [Thu, 1 Aug 2002 21:52:56 +0000 (21:52 +0000)]
We don't need to find out which pod2man to use more than once

17 years agoDon't try testing with parallell make, that will just fail.
Richard Levitte [Thu, 1 Aug 2002 21:34:24 +0000 (21:34 +0000)]
Don't try testing with parallell make, that will just fail.
PR: 175

17 years agoAdd aix64-cc, and make sure that ar gets proper flags for 64-bit libraries
Richard Levitte [Thu, 1 Aug 2002 20:28:16 +0000 (20:28 +0000)]
Add aix64-cc, and make sure that ar gets proper flags for 64-bit libraries

17 years agomake update
Richard Levitte [Thu, 1 Aug 2002 19:45:54 +0000 (19:45 +0000)]
make update

17 years agoAdd the CBC flag for cbc ciphers
Richard Levitte [Thu, 1 Aug 2002 19:32:48 +0000 (19:32 +0000)]
Add the CBC flag for cbc ciphers

17 years agoAvoid yet another name clash with libdes, and make the declaration consistent
Richard Levitte [Thu, 1 Aug 2002 19:30:58 +0000 (19:30 +0000)]
Avoid yet another name clash with libdes, and make the declaration consistent
with the definition.

17 years agoMake it possible to load keys from stdin, and restore that
Richard Levitte [Thu, 1 Aug 2002 16:28:40 +0000 (16:28 +0000)]
Make it possible to load keys from stdin, and restore that
functionality in the programs that had that before.
Part fo PR 164

17 years agoOCSP and KRB5 Makefil.ssl should be consistent with all the others
Richard Levitte [Thu, 1 Aug 2002 14:18:52 +0000 (14:18 +0000)]
OCSP and KRB5 Makefil.ssl should be consistent with all the others

17 years agoLinux on s390 really knows about loading dynamically.
Richard Levitte [Thu, 1 Aug 2002 13:50:08 +0000 (13:50 +0000)]
Linux on s390 really knows about loading dynamically.
PR: 183

17 years agoCut'n'paste error with other reposnder certificates cleared.
Richard Levitte [Thu, 1 Aug 2002 13:39:39 +0000 (13:39 +0000)]
Cut'n'paste error with other reposnder certificates cleared.
PR: 190

17 years agoIf CRYPTO_realloc() is called with a NULL pointer, have it call
Richard Levitte [Thu, 1 Aug 2002 10:08:37 +0000 (10:08 +0000)]
If CRYPTO_realloc() is called with a NULL pointer, have it call
OPENSSL_malloc().
PR: 187

17 years agoIf the email address is moved from the subject to the subject alternate name,
Richard Levitte [Wed, 31 Jul 2002 14:05:57 +0000 (14:05 +0000)]
If the email address is moved from the subject to the subject alternate name,
the subject in the certificate would differ from the subject in the index file,
which has quite bad concequences.
PR: 180

17 years agoMake sure to use $(MAKE) everywhere instead of make.
Richard Levitte [Wed, 31 Jul 2002 13:49:06 +0000 (13:49 +0000)]
Make sure to use $(MAKE) everywhere instead of make.
Part of PR 181

17 years agoln -f -s doesn't always work, so do a rm -f followed by a ln -s.
Richard Levitte [Wed, 31 Jul 2002 13:38:32 +0000 (13:38 +0000)]
ln -f -s doesn't always work, so do a rm -f followed by a ln -s.
Part of PR 181

17 years agoThe version of the shared library should, for now, reflect the version
Richard Levitte [Wed, 31 Jul 2002 13:24:26 +0000 (13:24 +0000)]
The version of the shared library should, for now, reflect the version
of OpenSSL.
Part of PR 181.

17 years agoTypo.
Lutz Jänicke [Tue, 30 Jul 2002 13:36:31 +0000 (13:36 +0000)]
Typo.
Submitted by: Jeffrey Altman <jaltman@columbia.edu>
Reviewed by:
PR: 169

17 years agoOpenSSL Security Advisory [30 July 2002]
Lutz Jänicke [Tue, 30 Jul 2002 13:04:04 +0000 (13:04 +0000)]
OpenSSL Security Advisory [30 July 2002]

Changes marked "(CHATS)" were sponsored by the Defense Advanced
Research Projects Agency (DARPA) and Air Force Research Laboratory,
Air Force Materiel Command, USAF, under agreement number
F30602-01-2-0537.

17 years ago"make update"
Lutz Jänicke [Tue, 30 Jul 2002 12:44:33 +0000 (12:44 +0000)]
"make update"

17 years ago0.9.6e and 0.9.7-beta3 are out.
Lutz Jänicke [Tue, 30 Jul 2002 11:32:47 +0000 (11:32 +0000)]
0.9.6e and 0.9.7-beta3 are out.

17 years agoOnly use DSA-functions if available.
Lutz Jänicke [Mon, 29 Jul 2002 13:31:44 +0000 (13:31 +0000)]
Only use DSA-functions if available.
Submitted by: "Hellan,Kim KHE" <KHE@kmd.dk>
Reviewed by:
PR: 167

17 years agomention SSL_do_handshake()
Bodo Möller [Mon, 29 Jul 2002 12:35:19 +0000 (12:35 +0000)]
mention SSL_do_handshake()

17 years agoUse SEC1 format for EC private keys.
Bodo Möller [Fri, 26 Jul 2002 08:41:04 +0000 (08:41 +0000)]
Use SEC1 format for EC private keys.
This is not ECDSA specific, so it's now PEM_STRING_ECPRIVATEKEY etc.

Submitted by: Nils Larsch <nlarsch@compuserve.de>

17 years agoMove zeroing from bn_expand_internal() to bn_expand2() so that it
Bodo Möller [Thu, 25 Jul 2002 12:12:39 +0000 (12:12 +0000)]
Move zeroing from bn_expand_internal() to bn_expand2() so that it
happens reliably, even if the BIGNUM is already sufficiently large.

[Note that the bn_expand()/bn_wexpand() macros call bn_expand2() only
if the BIGNUM actually has to grow, so this change does not add any
new overhead as currently bn_expand2() is never called directly.]

17 years agomore detailed instructions for export from US
Bodo Möller [Thu, 25 Jul 2002 11:19:58 +0000 (11:19 +0000)]
more detailed instructions for export from US

17 years agoDon't clobber loop variable.
Richard Levitte [Wed, 24 Jul 2002 14:43:00 +0000 (14:43 +0000)]
Don't clobber loop variable.
PR: 159

17 years agoDocument the recent DJGPP-related changes
Richard Levitte [Tue, 23 Jul 2002 13:45:38 +0000 (13:45 +0000)]
Document the recent DJGPP-related changes

17 years agoMake dummy tests to make it easier to physically remove unwanted algorithms.
Richard Levitte [Tue, 23 Jul 2002 13:31:04 +0000 (13:31 +0000)]
Make dummy tests to make it easier to physically remove unwanted algorithms.
This should complete PR 75

17 years agoharmonize options with those for 'ecparam',
Bodo Möller [Tue, 23 Jul 2002 09:51:57 +0000 (09:51 +0000)]
harmonize options with those for 'ecparam',
remove redudant option '-pub'

Submitted by: Nils Larsch

17 years agoIf DH is disabled, don't define the DH functions.
Richard Levitte [Mon, 22 Jul 2002 14:18:11 +0000 (14:18 +0000)]
If DH is disabled, don't define the DH functions.
Notified by Kim Hellan <KHE@kmd.dk>

17 years agofix a typo and clarify
Bodo Möller [Mon, 22 Jul 2002 09:04:36 +0000 (09:04 +0000)]
fix a typo and clarify

17 years agoadd an explanation and fix a typo
Bodo Möller [Mon, 22 Jul 2002 08:39:44 +0000 (08:39 +0000)]
add an explanation and fix a typo

17 years agoNew cipher selection options COMPLEMENTOFALL and COMPLEMENTOFDEFAULT.
Lutz Jänicke [Fri, 19 Jul 2002 19:55:34 +0000 (19:55 +0000)]
New cipher selection options COMPLEMENTOFALL and COMPLEMENTOFDEFAULT.
Submitted by:
Reviewed by:
PR: 127

17 years agoHP-UX shared libraries must be +x and should be -w. It doesn't hurt on
Lutz Jänicke [Fri, 19 Jul 2002 16:32:40 +0000 (16:32 +0000)]
HP-UX shared libraries must be +x and should be -w. It doesn't hurt on
other platforms.
Submitted by:
Reviewed by:
PR: 134

17 years agoupdate
Bodo Möller [Fri, 19 Jul 2002 12:32:42 +0000 (12:32 +0000)]
update