openssl.git
13 years agomanual pages as HTML
Ulf Möller [Tue, 11 Apr 2006 21:09:57 +0000 (21:09 +0000)]
manual pages as HTML
Submitted by: Oliver Tappe <zooey@hirschkaefer.de>

13 years agoUse Dl_info only on systems where it is known to exist. It does not
Ulf Möller [Tue, 11 Apr 2006 21:00:13 +0000 (21:00 +0000)]
Use Dl_info only on systems where it is known to exist. It does not
exist on AIX 4.3.3, AIX 5.1, SCO 5, or Cygwin.

13 years agouncomment; that one slipped through
Ulf Möller [Tue, 11 Apr 2006 20:09:31 +0000 (20:09 +0000)]
uncomment; that one slipped through

13 years agoimprove make dclean to remove files generated during build
Ulf Möller [Tue, 11 Apr 2006 20:05:23 +0000 (20:05 +0000)]
improve make dclean to remove files generated during build

PR: 1308
Submitted by: Oliver Tappe <zooey@hirschkaefer.de>
Reviewed by: Ulf Moeller

13 years agoFix parameter error messages.
Dr. Stephen Henson [Tue, 11 Apr 2006 18:30:25 +0000 (18:30 +0000)]
Fix parameter error messages.

13 years agoWrite parameters if -genparam option include.
Dr. Stephen Henson [Tue, 11 Apr 2006 18:21:40 +0000 (18:21 +0000)]
Write parameters if -genparam option include.

13 years agoAdd parameter generation option to genpkey.
Dr. Stephen Henson [Tue, 11 Apr 2006 18:18:14 +0000 (18:18 +0000)]
Add parameter generation option to genpkey.

13 years agoAdd support for setting keybits and public exponent value for pkey RSA keygen.
Dr. Stephen Henson [Tue, 11 Apr 2006 17:28:37 +0000 (17:28 +0000)]
Add support for setting keybits and public exponent value for pkey RSA keygen.

13 years agoInitial keygen support.
Dr. Stephen Henson [Tue, 11 Apr 2006 13:28:52 +0000 (13:28 +0000)]
Initial keygen support.

13 years agoctrls to set PSS salt length.
Dr. Stephen Henson [Mon, 10 Apr 2006 12:55:04 +0000 (12:55 +0000)]
ctrls to set PSS salt length.

13 years agoPreliminary PSS support.
Dr. Stephen Henson [Mon, 10 Apr 2006 12:41:21 +0000 (12:41 +0000)]
Preliminary PSS support.

13 years agoBeginnings of PSS support.
Dr. Stephen Henson [Mon, 10 Apr 2006 11:48:35 +0000 (11:48 +0000)]
Beginnings of PSS support.

13 years agoSynchronise with the Unix build
Richard Levitte [Mon, 10 Apr 2006 11:39:49 +0000 (11:39 +0000)]
Synchronise with the Unix build

13 years agoChange operation values so they can be used as a mask.
Dr. Stephen Henson [Mon, 10 Apr 2006 11:16:11 +0000 (11:16 +0000)]
Change operation values so they can be used as a mask.

Fix rsa_pkey_method.

13 years agoImplementation of pkey_rsa_verify. Some constification.
Dr. Stephen Henson [Mon, 10 Apr 2006 01:06:17 +0000 (01:06 +0000)]
Implementation of pkey_rsa_verify. Some constification.

13 years agoNew utility function to reverse a buffer, either by copying or in-place.
Dr. Stephen Henson [Mon, 10 Apr 2006 00:11:30 +0000 (00:11 +0000)]
New utility function to reverse a buffer, either by copying or in-place.

13 years agoStore digests as EVP_MD instead of a NID.
Dr. Stephen Henson [Sun, 9 Apr 2006 21:24:48 +0000 (21:24 +0000)]
Store digests as EVP_MD instead of a NID.

Add digest size sanity checks.

13 years agoConstification.
Dr. Stephen Henson [Sun, 9 Apr 2006 20:53:19 +0000 (20:53 +0000)]
Constification.

13 years agoBugfix X9.31 padding.
Dr. Stephen Henson [Sun, 9 Apr 2006 20:44:00 +0000 (20:44 +0000)]
Bugfix X9.31 padding.

13 years agoSupport for digest signing and X931 in rsa_pkey_meth.
Dr. Stephen Henson [Sun, 9 Apr 2006 19:17:25 +0000 (19:17 +0000)]
Support for digest signing and X931 in rsa_pkey_meth.

13 years agoAdd checking to padding ctrl.
Dr. Stephen Henson [Sun, 9 Apr 2006 12:53:55 +0000 (12:53 +0000)]
Add checking to padding ctrl.

13 years agoAdd RSA ctrl for padding mode, add ctrl support in pkeyutl.
Dr. Stephen Henson [Sun, 9 Apr 2006 12:42:09 +0000 (12:42 +0000)]
Add RSA ctrl for padding mode, add ctrl support in pkeyutl.

13 years agoFix typo. Add EVP_PKEY_CTX control function for later use by command line
Dr. Stephen Henson [Sun, 9 Apr 2006 00:34:00 +0000 (00:34 +0000)]
Fix typo. Add EVP_PKEY_CTX control function for later use by command line
utilities.

13 years agoReformat pkeyutl.c, add support for verify operation but nothing actually
Dr. Stephen Henson [Sat, 8 Apr 2006 22:25:47 +0000 (22:25 +0000)]
Reformat pkeyutl.c, add support for verify operation but nothing actually
supports it (yet).

13 years agoUpdate dependencies.
Dr. Stephen Henson [Sat, 8 Apr 2006 13:04:31 +0000 (13:04 +0000)]
Update dependencies.

13 years agoImplement encrypt/decrypt using RSA.
Dr. Stephen Henson [Sat, 8 Apr 2006 13:02:04 +0000 (13:02 +0000)]
Implement encrypt/decrypt using RSA.

13 years agoInitial functions for RSA EVP_PKEY_METHOD.
Dr. Stephen Henson [Sat, 8 Apr 2006 00:15:07 +0000 (00:15 +0000)]
Initial functions for RSA EVP_PKEY_METHOD.

Update dependencies.

13 years agoIf <operatio>_init function is zero interpret as noop.
Dr. Stephen Henson [Fri, 7 Apr 2006 23:11:49 +0000 (23:11 +0000)]
If <operatio>_init function is zero interpret as noop.

13 years agoNew utility 'pkeyutl' a general purpose version of 'rsautl'.
Dr. Stephen Henson [Fri, 7 Apr 2006 19:33:28 +0000 (19:33 +0000)]
New utility 'pkeyutl' a general purpose version of 'rsautl'.

13 years agoInclude EVP_PKEY argument in EVP_PKEY_CTX_new(). This avoids the
Dr. Stephen Henson [Fri, 7 Apr 2006 17:28:56 +0000 (17:28 +0000)]
Include EVP_PKEY argument in EVP_PKEY_CTX_new(). This avoids the
need for a separate EVP_PKEY parameter in the other operation
initialization routines.

13 years agoInitial functions for main EVP_PKEY_METHOD operations.
Dr. Stephen Henson [Fri, 7 Apr 2006 16:42:09 +0000 (16:42 +0000)]
Initial functions for main EVP_PKEY_METHOD operations.
No method implementations yet.

13 years agoUpdated to EVP_PKEY_METHOD code... still doesn't do much.
Dr. Stephen Henson [Thu, 6 Apr 2006 17:32:43 +0000 (17:32 +0000)]
Updated to EVP_PKEY_METHOD code... still doesn't do much.

13 years agoInitial definitions and a few functions for EVP_PKEY_METHOD: an extension
Dr. Stephen Henson [Thu, 6 Apr 2006 13:02:06 +0000 (13:02 +0000)]
Initial definitions and a few functions for EVP_PKEY_METHOD: an extension
of the EVP routines to public key algorithms.

13 years agoRemove ECC extension information from external representation
Bodo Möller [Wed, 5 Apr 2006 17:11:19 +0000 (17:11 +0000)]
Remove ECC extension information from external representation
of the session -- we don't really need it once the handshake
has completed.

13 years agoNew function to add dynamic alias.
Dr. Stephen Henson [Wed, 5 Apr 2006 13:24:19 +0000 (13:24 +0000)]
New function to add dynamic alias.

13 years agoLast arg to EVP_PKEY_assign() should be void *.
Dr. Stephen Henson [Wed, 5 Apr 2006 13:04:02 +0000 (13:04 +0000)]
Last arg to EVP_PKEY_assign() should be void *.

13 years agoRebuild mac table to avoid duplicates.
Dr. Stephen Henson [Wed, 5 Apr 2006 12:09:09 +0000 (12:09 +0000)]
Rebuild mac table to avoid duplicates.

13 years agoTypos in a few OID names.
Dr. Stephen Henson [Wed, 5 Apr 2006 12:06:32 +0000 (12:06 +0000)]
Typos in a few OID names.

13 years agoTypo.
Dr. Stephen Henson [Wed, 5 Apr 2006 12:00:22 +0000 (12:00 +0000)]
Typo.

13 years agoMinor object name edit.
Dr. Stephen Henson [Wed, 5 Apr 2006 11:29:31 +0000 (11:29 +0000)]
Minor object name edit.

13 years agoAdd an explicit load_config() call so any added algorithms are
Dr. Stephen Henson [Tue, 4 Apr 2006 18:47:20 +0000 (18:47 +0000)]
Add an explicit load_config() call so any added algorithms are
visible.

13 years agoFix dynamic public key method lookup.
Dr. Stephen Henson [Tue, 4 Apr 2006 18:32:19 +0000 (18:32 +0000)]
Fix dynamic public key method lookup.

13 years agoNew function to retrieve ASN1 info on public key algorithms. New command
Dr. Stephen Henson [Tue, 4 Apr 2006 18:16:03 +0000 (18:16 +0000)]
New function to retrieve ASN1 info on public key algorithms. New command
line option to print out info.

13 years agoStop warning.
Dr. Stephen Henson [Tue, 4 Apr 2006 18:11:49 +0000 (18:11 +0000)]
Stop warning.

13 years agoUpdate and add last (?) set of GOST OIDs.
Dr. Stephen Henson [Tue, 4 Apr 2006 15:53:21 +0000 (15:53 +0000)]
Update and add last (?) set of GOST OIDs.

13 years agoclarification
Bodo Möller [Mon, 3 Apr 2006 14:11:23 +0000 (14:11 +0000)]
clarification

13 years agocheck length properly
Bodo Möller [Mon, 3 Apr 2006 13:57:56 +0000 (13:57 +0000)]
check length properly

Submitted by: Peter Sylvester

13 years agosimplify: use s2n macro
Bodo Möller [Mon, 3 Apr 2006 13:07:18 +0000 (13:07 +0000)]
simplify: use s2n macro

13 years agoAvoid hard-coded table length where we can use sizeof.
Bodo Möller [Mon, 3 Apr 2006 11:56:30 +0000 (11:56 +0000)]
Avoid hard-coded table length where we can use sizeof.

Submitted by: Peter Sylvester
Reviewed by: Bodo Moeller

13 years agofix memory leak
Bodo Möller [Mon, 3 Apr 2006 11:49:18 +0000 (11:49 +0000)]
fix memory leak

Submitted by: Peter Sylvester

13 years agoChange chop to chomp when reading lines, so CRLF is properly processed on
Richard Levitte [Mon, 3 Apr 2006 09:15:15 +0000 (09:15 +0000)]
Change chop to chomp when reading lines, so CRLF is properly processed on
the operating systems where they are the normal line endings

13 years agoMore GOST OIDs
Dr. Stephen Henson [Sun, 2 Apr 2006 13:22:39 +0000 (13:22 +0000)]
More GOST OIDs

13 years agoAdd GOST parameter set OIDs.
Dr. Stephen Henson [Sun, 2 Apr 2006 03:01:27 +0000 (03:01 +0000)]
Add GOST parameter set OIDs.

13 years agoDon't free up key in priv_decode.
Dr. Stephen Henson [Fri, 31 Mar 2006 18:16:22 +0000 (18:16 +0000)]
Don't free up key in priv_decode.

13 years agoInitialize pval.
Dr. Stephen Henson [Fri, 31 Mar 2006 18:11:54 +0000 (18:11 +0000)]
Initialize pval.

13 years agoIf we declare a function, like d2i_TS_MSG_IMPRINT_bio(), we'd better
Richard Levitte [Fri, 31 Mar 2006 12:25:24 +0000 (12:25 +0000)]
If we declare a function, like d2i_TS_MSG_IMPRINT_bio(), we'd better
*define* it too, or things like shared libraries might be a bit sad.

13 years agoFix gost OIDs.
Dr. Stephen Henson [Fri, 31 Mar 2006 10:57:32 +0000 (10:57 +0000)]
Fix gost OIDs.

13 years agoSynchronise with recent changes
Richard Levitte [Thu, 30 Mar 2006 04:30:45 +0000 (04:30 +0000)]
Synchronise with recent changes

13 years agoThe -config option flag needs to be in the SSLEAY_CONFIG value.
Richard Levitte [Thu, 30 Mar 2006 04:29:38 +0000 (04:29 +0000)]
The -config option flag needs to be in the SSLEAY_CONFIG value.

PR: 1300

13 years agofix for hostname extension
Bodo Möller [Thu, 30 Mar 2006 02:53:30 +0000 (02:53 +0000)]
fix for hostname extension

Submitted by: Kaspar Brand, Peter Sylvester

13 years agoImplement Supported Elliptic Curves Extension.
Bodo Möller [Thu, 30 Mar 2006 02:44:56 +0000 (02:44 +0000)]
Implement Supported Elliptic Curves Extension.

Submitted by: Douglas Stebila

13 years agoChange default curve (for compatibility with a
Bodo Möller [Thu, 30 Mar 2006 02:41:30 +0000 (02:41 +0000)]
Change default curve (for compatibility with a
soon-to-be-widely-deployed implementation that doesn't support the
previous default)

Submitted by: Douglas Stebila

13 years agoImplement cipher-suite selection logic given Supported Point Formats Extension.
Bodo Möller [Thu, 30 Mar 2006 02:35:09 +0000 (02:35 +0000)]
Implement cipher-suite selection logic given Supported Point Formats Extension.

Submitted by: Douglas Stebila

13 years agoFix typo.
Dr. Stephen Henson [Wed, 29 Mar 2006 15:58:55 +0000 (15:58 +0000)]
Fix typo.

13 years agoAdd some GOST OIDs.
Dr. Stephen Henson [Wed, 29 Mar 2006 13:02:21 +0000 (13:02 +0000)]
Add some GOST OIDs.

13 years agoAdd missing function declaration.
Dr. Stephen Henson [Wed, 29 Mar 2006 12:18:26 +0000 (12:18 +0000)]
Add missing function declaration.

13 years agoFix bug where freed OIDs could be accessed in EVP_cleanup() by
Dr. Stephen Henson [Tue, 28 Mar 2006 17:23:48 +0000 (17:23 +0000)]
Fix bug where freed OIDs could be accessed in EVP_cleanup() by
defering freeing in OBJ_cleanup().

13 years agoTypo.
Dr. Stephen Henson [Tue, 28 Mar 2006 14:48:42 +0000 (14:48 +0000)]
Typo.

13 years agoNew utility pkeyparam. Enhance and bugfix algorithm specific parameter
Dr. Stephen Henson [Tue, 28 Mar 2006 14:35:32 +0000 (14:35 +0000)]
New utility pkeyparam. Enhance and bugfix algorithm specific parameter
functions to support it.

13 years agoNew general public key utility 'pkey'.
Dr. Stephen Henson [Tue, 28 Mar 2006 12:34:45 +0000 (12:34 +0000)]
New general public key utility 'pkey'.

13 years agoSmall bug. apps/CA.sh and apps/CA.com look at SSLEAY_CONFIG, not
Richard Levitte [Tue, 28 Mar 2006 10:26:12 +0000 (10:26 +0000)]
Small bug.  apps/CA.sh and apps/CA.com look at SSLEAY_CONFIG, not
OPENSSL_CONF.

13 years agoSince we're moving between directories, let's get an absolute path to
Richard Levitte [Mon, 27 Mar 2006 14:39:06 +0000 (14:39 +0000)]
Since we're moving between directories, let's get an absolute path to
openssl.exe.

13 years agoSimplify ASN.1 for point format list
Bodo Möller [Sun, 26 Mar 2006 10:53:52 +0000 (10:53 +0000)]
Simplify ASN.1 for point format list

Submitted by: Douglas Stebila

13 years agoOnly try to remove the tsa.dir subdirectory if it actually exists.
Richard Levitte [Sat, 25 Mar 2006 10:24:22 +0000 (10:24 +0000)]
Only try to remove the tsa.dir subdirectory if it actually exists.

13 years agoInitial support for generalized public key parameters.
Dr. Stephen Henson [Fri, 24 Mar 2006 13:46:58 +0000 (13:46 +0000)]
Initial support for generalized public key parameters.

13 years agoAdd support for legacy PEM format private keys in EVP_PKEY_ASN1_METHOD.
Dr. Stephen Henson [Thu, 23 Mar 2006 18:02:23 +0000 (18:02 +0000)]
Add support for legacy PEM format private keys in EVP_PKEY_ASN1_METHOD.

13 years agoTypo.
Dr. Stephen Henson [Thu, 23 Mar 2006 14:08:33 +0000 (14:08 +0000)]
Typo.

13 years agoFix bug in DSA, EC methods.
Dr. Stephen Henson [Thu, 23 Mar 2006 14:04:39 +0000 (14:04 +0000)]
Fix bug in DSA, EC methods.

13 years agoAdd information and pem strings. Update dependencies.
Dr. Stephen Henson [Thu, 23 Mar 2006 11:54:51 +0000 (11:54 +0000)]
Add information and pem strings. Update dependencies.

13 years agoMake EVP_PKEY_ASN1_METHOD opaque. Add application level functions to
Dr. Stephen Henson [Wed, 22 Mar 2006 17:59:49 +0000 (17:59 +0000)]
Make EVP_PKEY_ASN1_METHOD opaque. Add application level functions to
initialize it. Initial support for application added public key ASN1.

13 years agoKeep up with the changes in the Unix build system.
Richard Levitte [Wed, 22 Mar 2006 14:31:03 +0000 (14:31 +0000)]
Keep up with the changes in the Unix build system.

13 years agoMove algorithm specific print code from crypto/asn1/t_pkey.c to separate
Dr. Stephen Henson [Wed, 22 Mar 2006 13:34:19 +0000 (13:34 +0000)]
Move algorithm specific print code from crypto/asn1/t_pkey.c to separate
*_prn.c files in each algorithm directory.

13 years agoGather printing routines into EVP_PKEY_ASN1_METHOD.
Dr. Stephen Henson [Wed, 22 Mar 2006 13:09:35 +0000 (13:09 +0000)]
Gather printing routines into EVP_PKEY_ASN1_METHOD.

13 years agoVMS doesn't support includes of paths very well.
Richard Levitte [Wed, 22 Mar 2006 11:26:57 +0000 (11:26 +0000)]
VMS doesn't support includes of paths very well.

13 years agoSynchronise with recent changes
Richard Levitte [Tue, 21 Mar 2006 06:22:36 +0000 (06:22 +0000)]
Synchronise with recent changes

13 years agoDH EVP_PKEY_ASN1_METHOD, doesn't do much (yet?).
Dr. Stephen Henson [Mon, 20 Mar 2006 18:37:40 +0000 (18:37 +0000)]
DH EVP_PKEY_ASN1_METHOD, doesn't do much (yet?).

13 years agoTransfer parameter handling and key comparison to algorithm methods.
Dr. Stephen Henson [Mon, 20 Mar 2006 17:56:05 +0000 (17:56 +0000)]
Transfer parameter handling and key comparison to algorithm methods.

13 years agoInitial support for pluggable public key ASN1 support. Process most public
Dr. Stephen Henson [Mon, 20 Mar 2006 12:22:24 +0000 (12:22 +0000)]
Initial support for pluggable public key ASN1 support. Process most public
key ASN1 handling through a single EVP_PKEY_ASN1_METHOD structure and move
the spaghetti algorithm specific code to a single ASN1 module for each
algorithm.

13 years agoStop compiler warnings.
Dr. Stephen Henson [Mon, 20 Mar 2006 11:44:34 +0000 (11:44 +0000)]
Stop compiler warnings.

13 years agofix last commit: return NULL is TS_RESP_CTX_set_status_info_cond() failed
Nils Larsch [Sun, 19 Mar 2006 21:09:48 +0000 (21:09 +0000)]
fix last commit: return NULL is TS_RESP_CTX_set_status_info_cond() failed

13 years agoensure the pointer is valid before using it
Nils Larsch [Sat, 18 Mar 2006 14:27:41 +0000 (14:27 +0000)]
ensure the pointer is valid before using it

13 years agocheck if con != NULL before using it
Nils Larsch [Sat, 18 Mar 2006 14:24:02 +0000 (14:24 +0000)]
check if con != NULL before using it

13 years agoremove unnecessary code
Nils Larsch [Sat, 18 Mar 2006 14:22:20 +0000 (14:22 +0000)]
remove unnecessary code

13 years agoTypo...
Richard Levitte [Sat, 18 Mar 2006 10:36:15 +0000 (10:36 +0000)]
Typo...

13 years ago*** empty log message ***
Ulf Möller [Fri, 17 Mar 2006 19:29:35 +0000 (19:29 +0000)]
*** empty log message ***

13 years agoClarification for CPU specific config options.
Ulf Möller [Fri, 17 Mar 2006 19:22:35 +0000 (19:22 +0000)]
Clarification for CPU specific config options.

13 years agofix for OPENSSL_NO_EC
Nils Larsch [Wed, 15 Mar 2006 19:17:56 +0000 (19:17 +0000)]
fix for OPENSSL_NO_EC

PR: 1293

13 years agofix problems found by coverity: remove useless code
Nils Larsch [Wed, 15 Mar 2006 17:45:43 +0000 (17:45 +0000)]
fix problems found by coverity: remove useless code

13 years agotlsext_ecpointformatlist_length is unsigned, so check if it's less
Richard Levitte [Wed, 15 Mar 2006 09:57:16 +0000 (09:57 +0000)]
tlsext_ecpointformatlist_length is unsigned, so check if it's less
than zero will only result in pissing of some compilers...

13 years agocreate BN_CTX object
Nils Larsch [Wed, 15 Mar 2006 08:37:35 +0000 (08:37 +0000)]
create BN_CTX object