Dr. Stephen Henson [Mon, 10 Apr 2006 11:48:35 +0000 (11:48 +0000)]
Beginnings of PSS support.
Richard Levitte [Mon, 10 Apr 2006 11:39:49 +0000 (11:39 +0000)]
Synchronise with the Unix build
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.
Dr. Stephen Henson [Mon, 10 Apr 2006 01:06:17 +0000 (01:06 +0000)]
Implementation of pkey_rsa_verify. Some constification.
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.
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.
Dr. Stephen Henson [Sun, 9 Apr 2006 20:53:19 +0000 (20:53 +0000)]
Constification.
Dr. Stephen Henson [Sun, 9 Apr 2006 20:44:00 +0000 (20:44 +0000)]
Bugfix X9.31 padding.
Dr. Stephen Henson [Sun, 9 Apr 2006 19:17:25 +0000 (19:17 +0000)]
Support for digest signing and X931 in rsa_pkey_meth.
Dr. Stephen Henson [Sun, 9 Apr 2006 12:53:55 +0000 (12:53 +0000)]
Add checking to padding ctrl.
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.
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.
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).
Dr. Stephen Henson [Sat, 8 Apr 2006 13:04:31 +0000 (13:04 +0000)]
Update dependencies.
Dr. Stephen Henson [Sat, 8 Apr 2006 13:02:04 +0000 (13:02 +0000)]
Implement encrypt/decrypt using RSA.
Dr. Stephen Henson [Sat, 8 Apr 2006 00:15:07 +0000 (00:15 +0000)]
Initial functions for RSA EVP_PKEY_METHOD.
Update dependencies.
Dr. Stephen Henson [Fri, 7 Apr 2006 23:11:49 +0000 (23:11 +0000)]
If <operatio>_init function is zero interpret as noop.
Dr. Stephen Henson [Fri, 7 Apr 2006 19:33:28 +0000 (19:33 +0000)]
New utility 'pkeyutl' a general purpose version of 'rsautl'.
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.
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.
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.
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.
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.
Dr. Stephen Henson [Wed, 5 Apr 2006 13:24:19 +0000 (13:24 +0000)]
New function to add dynamic alias.
Dr. Stephen Henson [Wed, 5 Apr 2006 13:04:02 +0000 (13:04 +0000)]
Last arg to EVP_PKEY_assign() should be void *.
Dr. Stephen Henson [Wed, 5 Apr 2006 12:09:09 +0000 (12:09 +0000)]
Rebuild mac table to avoid duplicates.
Dr. Stephen Henson [Wed, 5 Apr 2006 12:06:32 +0000 (12:06 +0000)]
Typos in a few OID names.
Dr. Stephen Henson [Wed, 5 Apr 2006 12:00:22 +0000 (12:00 +0000)]
Typo.
Dr. Stephen Henson [Wed, 5 Apr 2006 11:29:31 +0000 (11:29 +0000)]
Minor object name edit.
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.
Dr. Stephen Henson [Tue, 4 Apr 2006 18:32:19 +0000 (18:32 +0000)]
Fix dynamic public key method lookup.
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.
Dr. Stephen Henson [Tue, 4 Apr 2006 18:11:49 +0000 (18:11 +0000)]
Stop warning.
Dr. Stephen Henson [Tue, 4 Apr 2006 15:53:21 +0000 (15:53 +0000)]
Update and add last (?) set of GOST OIDs.
Bodo Möller [Mon, 3 Apr 2006 14:11:23 +0000 (14:11 +0000)]
clarification
Bodo Möller [Mon, 3 Apr 2006 13:57:56 +0000 (13:57 +0000)]
check length properly
Submitted by: Peter Sylvester
Bodo Möller [Mon, 3 Apr 2006 13:07:18 +0000 (13:07 +0000)]
simplify: use s2n macro
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
Bodo Möller [Mon, 3 Apr 2006 11:49:18 +0000 (11:49 +0000)]
fix memory leak
Submitted by: Peter Sylvester
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
Dr. Stephen Henson [Sun, 2 Apr 2006 13:22:39 +0000 (13:22 +0000)]
More GOST OIDs
Dr. Stephen Henson [Sun, 2 Apr 2006 03:01:27 +0000 (03:01 +0000)]
Add GOST parameter set OIDs.
Dr. Stephen Henson [Fri, 31 Mar 2006 18:16:22 +0000 (18:16 +0000)]
Don't free up key in priv_decode.
Dr. Stephen Henson [Fri, 31 Mar 2006 18:11:54 +0000 (18:11 +0000)]
Initialize pval.
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.
Dr. Stephen Henson [Fri, 31 Mar 2006 10:57:32 +0000 (10:57 +0000)]
Fix gost OIDs.
Richard Levitte [Thu, 30 Mar 2006 04:30:45 +0000 (04:30 +0000)]
Synchronise with recent changes
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
Bodo Möller [Thu, 30 Mar 2006 02:53:30 +0000 (02:53 +0000)]
fix for hostname extension
Submitted by: Kaspar Brand, Peter Sylvester
Bodo Möller [Thu, 30 Mar 2006 02:44:56 +0000 (02:44 +0000)]
Implement Supported Elliptic Curves Extension.
Submitted by: Douglas Stebila
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
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
Dr. Stephen Henson [Wed, 29 Mar 2006 15:58:55 +0000 (15:58 +0000)]
Fix typo.
Dr. Stephen Henson [Wed, 29 Mar 2006 13:02:21 +0000 (13:02 +0000)]
Add some GOST OIDs.
Dr. Stephen Henson [Wed, 29 Mar 2006 12:18:26 +0000 (12:18 +0000)]
Add missing function declaration.
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().
Dr. Stephen Henson [Tue, 28 Mar 2006 14:48:42 +0000 (14:48 +0000)]
Typo.
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.
Dr. Stephen Henson [Tue, 28 Mar 2006 12:34:45 +0000 (12:34 +0000)]
New general public key utility 'pkey'.
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.
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.
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
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.
Dr. Stephen Henson [Fri, 24 Mar 2006 13:46:58 +0000 (13:46 +0000)]
Initial support for generalized public key parameters.
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.
Dr. Stephen Henson [Thu, 23 Mar 2006 14:08:33 +0000 (14:08 +0000)]
Typo.
Dr. Stephen Henson [Thu, 23 Mar 2006 14:04:39 +0000 (14:04 +0000)]
Fix bug in DSA, EC methods.
Dr. Stephen Henson [Thu, 23 Mar 2006 11:54:51 +0000 (11:54 +0000)]
Add information and pem strings. Update dependencies.
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.
Richard Levitte [Wed, 22 Mar 2006 14:31:03 +0000 (14:31 +0000)]
Keep up with the changes in the Unix build system.
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.
Dr. Stephen Henson [Wed, 22 Mar 2006 13:09:35 +0000 (13:09 +0000)]
Gather printing routines into EVP_PKEY_ASN1_METHOD.
Richard Levitte [Wed, 22 Mar 2006 11:26:57 +0000 (11:26 +0000)]
VMS doesn't support includes of paths very well.
Richard Levitte [Tue, 21 Mar 2006 06:22:36 +0000 (06:22 +0000)]
Synchronise with recent changes
Dr. Stephen Henson [Mon, 20 Mar 2006 18:37:40 +0000 (18:37 +0000)]
DH EVP_PKEY_ASN1_METHOD, doesn't do much (yet?).
Dr. Stephen Henson [Mon, 20 Mar 2006 17:56:05 +0000 (17:56 +0000)]
Transfer parameter handling and key comparison to algorithm methods.
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.
Dr. Stephen Henson [Mon, 20 Mar 2006 11:44:34 +0000 (11:44 +0000)]
Stop compiler warnings.
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
Nils Larsch [Sat, 18 Mar 2006 14:27:41 +0000 (14:27 +0000)]
ensure the pointer is valid before using it
Nils Larsch [Sat, 18 Mar 2006 14:24:02 +0000 (14:24 +0000)]
check if con != NULL before using it
Nils Larsch [Sat, 18 Mar 2006 14:22:20 +0000 (14:22 +0000)]
remove unnecessary code
Richard Levitte [Sat, 18 Mar 2006 10:36:15 +0000 (10:36 +0000)]
Typo...
Ulf Möller [Fri, 17 Mar 2006 19:29:35 +0000 (19:29 +0000)]
*** empty log message ***
Ulf Möller [Fri, 17 Mar 2006 19:22:35 +0000 (19:22 +0000)]
Clarification for CPU specific config options.
Nils Larsch [Wed, 15 Mar 2006 19:17:56 +0000 (19:17 +0000)]
fix for OPENSSL_NO_EC
PR: 1293
Nils Larsch [Wed, 15 Mar 2006 17:45:43 +0000 (17:45 +0000)]
fix problems found by coverity: remove useless code
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...
Nils Larsch [Wed, 15 Mar 2006 08:37:35 +0000 (08:37 +0000)]
create BN_CTX object
Nils Larsch [Tue, 14 Mar 2006 22:48:41 +0000 (22:48 +0000)]
fix error found by coverity: check if ctx is != NULL before calling BN_CTX_end()
Nils Larsch [Mon, 13 Mar 2006 23:14:57 +0000 (23:14 +0000)]
fix error found by coverity: check if ctx is != NULL before calling BN_CTX_end()
Nils Larsch [Mon, 13 Mar 2006 22:07:05 +0000 (22:07 +0000)]
signed vs. unsigned
Richard Levitte [Mon, 13 Mar 2006 12:37:19 +0000 (12:37 +0000)]
Oh, now I noticed Bodo's change that made tlsext_ecpointformatlist
unsigned...
Richard Levitte [Mon, 13 Mar 2006 12:32:51 +0000 (12:32 +0000)]
Resolve signed vs. unsigned issues
Bodo Möller [Mon, 13 Mar 2006 09:55:06 +0000 (09:55 +0000)]
fix sign problems
Nils Larsch [Mon, 13 Mar 2006 07:21:39 +0000 (07:21 +0000)]
remove unused variables
Bodo Möller [Mon, 13 Mar 2006 01:24:38 +0000 (01:24 +0000)]
udpate Supported Point Formats Extension code
Submitted by: Douglas Stebila
Nils Larsch [Sun, 12 Mar 2006 23:00:32 +0000 (23:00 +0000)]
fix comment
Submitted by: Peter Sylvester
Nils Larsch [Sun, 12 Mar 2006 22:16:57 +0000 (22:16 +0000)]
use BIO_snprintf() instead of snprintf + use BIO_FP_TEXT for text output
Submitted by: Gisle Vanem
Nils Larsch [Sun, 12 Mar 2006 00:37:55 +0000 (00:37 +0000)]
note that SSL_library_init() is not reentrant