openssl.git
14 years agoPPC assembler distiller update.
Andy Polyakov [Wed, 3 May 2006 13:39:34 +0000 (13:39 +0000)]
PPC assembler distiller update.

14 years agoTypo in linux-ppc line.
Andy Polyakov [Wed, 3 May 2006 13:38:50 +0000 (13:38 +0000)]
Typo in linux-ppc line.

14 years agoUpdate from stable branch.
Dr. Stephen Henson [Wed, 3 May 2006 13:19:06 +0000 (13:19 +0000)]
Update from stable branch.

14 years agoBug fix.
Ulf Möller [Mon, 1 May 2006 18:49:26 +0000 (18:49 +0000)]
Bug fix.

PR: 1307
Submitted by: Oliver Tappe <zooey@hirschkaefer.de>

14 years agoSHA1 for PowerPC.
Andy Polyakov [Mon, 1 May 2006 13:35:03 +0000 (13:35 +0000)]
SHA1 for PowerPC.

14 years agoYet another "teaser" Montgomery multiplication module, for PowerPC.
Andy Polyakov [Sun, 30 Apr 2006 21:15:29 +0000 (21:15 +0000)]
Yet another "teaser" Montgomery multiplication module, for PowerPC.

14 years agoUpdate EVP_PKEY_cmp() and X509_check_private() to return sensible values and
Dr. Stephen Henson [Fri, 28 Apr 2006 12:27:37 +0000 (12:27 +0000)]
Update EVP_PKEY_cmp() and X509_check_private() to return sensible values and
handle unsupported key types.

14 years agoFix from stable branch.
Dr. Stephen Henson [Fri, 28 Apr 2006 00:30:49 +0000 (00:30 +0000)]
Fix from stable branch.

14 years agoReplace RSA specific PKCS7_RECIP_INFO set up with an public key algorithm
Dr. Stephen Henson [Thu, 27 Apr 2006 18:20:34 +0000 (18:20 +0000)]
Replace RSA specific PKCS7_RECIP_INFO set up with an public key algorithm
ctrl.

14 years agoCode tidy.
Dr. Stephen Henson [Thu, 27 Apr 2006 00:42:51 +0000 (00:42 +0000)]
Code tidy.

14 years agoNew function to extract AlgorithmIdentifier for PKCS7_RECIP_INFO.
Dr. Stephen Henson [Thu, 27 Apr 2006 00:29:50 +0000 (00:29 +0000)]
New function to extract AlgorithmIdentifier for PKCS7_RECIP_INFO.

14 years agoDon't free up parameter. The public key ASN1 method can do that if it needs
Dr. Stephen Henson [Thu, 27 Apr 2006 00:20:43 +0000 (00:20 +0000)]
Don't free up parameter. The public key ASN1 method can do that if it needs
to.

14 years agoFix usage message for pkeyutl.
Dr. Stephen Henson [Wed, 26 Apr 2006 15:42:29 +0000 (15:42 +0000)]
Fix usage message for pkeyutl.

14 years agoAdd prototypes and pkey accessor function for EVP_PKEY_CTX.
Dr. Stephen Henson [Wed, 26 Apr 2006 11:52:36 +0000 (11:52 +0000)]
Add prototypes and pkey accessor function for EVP_PKEY_CTX.

14 years agoCorrect copyright notice... this doesn't contain any SSLeay code.
Dr. Stephen Henson [Mon, 24 Apr 2006 00:07:26 +0000 (00:07 +0000)]
Correct copyright notice... this doesn't contain any SSLeay code.

14 years agoAdd 'flags' parameter to EVP_PKEY_asn1_meth_new() to set algorithm flags.
Dr. Stephen Henson [Fri, 21 Apr 2006 17:38:58 +0000 (17:38 +0000)]
Add 'flags' parameter to EVP_PKEY_asn1_meth_new() to set algorithm flags.

14 years agoundo accidental commit
Nils Larsch [Thu, 20 Apr 2006 13:54:34 +0000 (13:54 +0000)]
undo accidental commit

14 years agoas we encrypt every bit separately we need to loop through the number
Nils Larsch [Thu, 20 Apr 2006 13:11:52 +0000 (13:11 +0000)]
as we encrypt every bit separately we need to loop through the number
of bits; thanks to Michael McDougall <mmcdouga@saul.cis.upenn.edu>

PR: 1318

14 years agomake local function static
Nils Larsch [Thu, 20 Apr 2006 09:53:49 +0000 (09:53 +0000)]
make local function static

14 years agoRemove dss1 hack from S/MIME code.
Dr. Stephen Henson [Wed, 19 Apr 2006 17:47:15 +0000 (17:47 +0000)]
Remove dss1 hack from S/MIME code.

14 years agoRemove link between digests and signature algorithms.
Dr. Stephen Henson [Wed, 19 Apr 2006 17:05:59 +0000 (17:05 +0000)]
Remove link between digests and signature algorithms.

Use cross reference table in ASN1_item_sign(), ASN1_item_verify() to eliminate
the need for algorithm specific code.

14 years agoRemove comment from SSLeay days about EVP_PKEY_METHOD.
Dr. Stephen Henson [Wed, 19 Apr 2006 12:16:58 +0000 (12:16 +0000)]
Remove comment from SSLeay days about EVP_PKEY_METHOD.

14 years agoMake sure obj_xref.h is updated during a "make update"
Richard Levitte [Wed, 19 Apr 2006 06:45:06 +0000 (06:45 +0000)]
Make sure obj_xref.h is updated during a "make update"

14 years agoSynchronise with Unixly build.
Richard Levitte [Wed, 19 Apr 2006 06:44:07 +0000 (06:44 +0000)]
Synchronise with Unixly build.
(Geez, a lot is happening right now, eh? :-))

14 years agoAdd OID cross reference table.
Dr. Stephen Henson [Tue, 18 Apr 2006 23:36:07 +0000 (23:36 +0000)]
Add OID cross reference table.

Fix some typos in GOST OIDs.

Update dependencies.

14 years agoSynchronise
Richard Levitte [Mon, 17 Apr 2006 17:19:59 +0000 (17:19 +0000)]
Synchronise

14 years agoAllow public key ASN1 methods to set PKCS#7 SignerInfo structures.
Dr. Stephen Henson [Mon, 17 Apr 2006 17:12:23 +0000 (17:12 +0000)]
Allow public key ASN1 methods to set PKCS#7 SignerInfo structures.

14 years agoIf we include winsock2.h then FD_SET wants an unsigned type for an fd.
Dr. Stephen Henson [Mon, 17 Apr 2006 12:22:13 +0000 (12:22 +0000)]
If we include winsock2.h then FD_SET wants an unsigned type for an fd.

14 years agoFix (most) WIN32 warnings and errors.
Dr. Stephen Henson [Mon, 17 Apr 2006 12:08:22 +0000 (12:08 +0000)]
Fix (most) WIN32 warnings and errors.

14 years agoProvisional support for EC pkey method, supporting ECDH and ECDSA.
Dr. Stephen Henson [Sun, 16 Apr 2006 16:15:59 +0000 (16:15 +0000)]
Provisional support for EC pkey method, supporting ECDH and ECDSA.

14 years agoSHA-1 for x86_64.
Andy Polyakov [Sun, 16 Apr 2006 14:42:54 +0000 (14:42 +0000)]
SHA-1 for x86_64.

14 years agoUse more flexible method of determining output length, by setting &outlen
Dr. Stephen Henson [Sat, 15 Apr 2006 18:50:56 +0000 (18:50 +0000)]
Use more flexible method of determining output length, by setting &outlen
value of the passed output buffer is NULL.

The old method of using EVP_PKEY_size(pkey) isn't flexible enough to cover all
cases where the output length may depend on the operation or the parameters
associated with it.

14 years agoFix from 0.9.7-stable branch.
Dr. Stephen Henson [Sat, 15 Apr 2006 17:43:43 +0000 (17:43 +0000)]
Fix from 0.9.7-stable branch.

14 years agoRevert to original...
Dr. Stephen Henson [Sat, 15 Apr 2006 13:15:25 +0000 (13:15 +0000)]
Revert to original...

14 years agoOops...
Dr. Stephen Henson [Sat, 15 Apr 2006 13:12:42 +0000 (13:12 +0000)]
Oops...

14 years agoIf cipher list contains a match for an explicit ciphersuite only match that
Dr. Stephen Henson [Sat, 15 Apr 2006 00:22:05 +0000 (00:22 +0000)]
If cipher list contains a match for an explicit ciphersuite only match that
one suite.

14 years agoGot sick and tired of duplicating... Too error-prone (i.e. I forget
Richard Levitte [Fri, 14 Apr 2006 19:56:28 +0000 (19:56 +0000)]
Got sick and tired of duplicating...  Too error-prone (i.e. I forget
to update both...)!

14 years agoUpdate copyright notices on a few files where all original SSLeay code has
Dr. Stephen Henson [Fri, 14 Apr 2006 17:36:18 +0000 (17:36 +0000)]
Update copyright notices on a few files where all original SSLeay code has
been deleted.

14 years agoPrint out zero length string properly.
Dr. Stephen Henson [Fri, 14 Apr 2006 16:47:18 +0000 (16:47 +0000)]
Print out zero length string properly.

14 years agoAdd functions to allow setting and adding external EVP_PKEY_METHOD.
Dr. Stephen Henson [Fri, 14 Apr 2006 12:41:35 +0000 (12:41 +0000)]
Add functions to allow setting and adding external EVP_PKEY_METHOD.

14 years agoComplete key derivation support.
Dr. Stephen Henson [Thu, 13 Apr 2006 20:16:56 +0000 (20:16 +0000)]
Complete key derivation support.

14 years agoUpdate dependencies.
Dr. Stephen Henson [Thu, 13 Apr 2006 13:00:45 +0000 (13:00 +0000)]
Update dependencies.

14 years agoAdd key derivation support.
Dr. Stephen Henson [Thu, 13 Apr 2006 12:56:41 +0000 (12:56 +0000)]
Add key derivation support.

14 years agoChange the option setting command line switch to "-pkeyopt" to avoid confusion
Dr. Stephen Henson [Thu, 13 Apr 2006 12:38:46 +0000 (12:38 +0000)]
Change the option setting command line switch to "-pkeyopt" to avoid confusion
with algorithm parameters.

14 years agoSynchronise what what's happening with the Unix build
Richard Levitte [Thu, 13 Apr 2006 09:59:52 +0000 (09:59 +0000)]
Synchronise what what's happening with the Unix build

14 years agoTypo.
Dr. Stephen Henson [Thu, 13 Apr 2006 00:26:05 +0000 (00:26 +0000)]
Typo.

14 years agoExtend DH ASN1 method, add DH EVP_PKEY_METHOD.
Dr. Stephen Henson [Wed, 12 Apr 2006 23:51:24 +0000 (23:51 +0000)]
Extend DH ASN1 method, add DH EVP_PKEY_METHOD.

14 years agoFix leak.
Dr. Stephen Henson [Wed, 12 Apr 2006 23:38:45 +0000 (23:38 +0000)]
Fix leak.

14 years agoPKCS#3 DH PKCS#8 ASN1 support.
Dr. Stephen Henson [Wed, 12 Apr 2006 23:06:10 +0000 (23:06 +0000)]
PKCS#3 DH PKCS#8 ASN1 support.

14 years agodeclare as in prototype
Ulf Möller [Wed, 12 Apr 2006 19:24:45 +0000 (19:24 +0000)]
declare as in prototype
Submitted by: Gisle Vanem

14 years agoExtend DH ASN1 method to support public key encode/decode and parameter
Dr. Stephen Henson [Wed, 12 Apr 2006 17:14:48 +0000 (17:14 +0000)]
Extend DH ASN1 method to support public key encode/decode and parameter
utilities.

14 years agoCompare parameters when comparing public keys.
Dr. Stephen Henson [Wed, 12 Apr 2006 17:01:19 +0000 (17:01 +0000)]
Compare parameters when comparing public keys.

14 years agoAdd file dso_beos.c missing from original commit.
Dr. Stephen Henson [Wed, 12 Apr 2006 11:46:16 +0000 (11:46 +0000)]
Add file dso_beos.c missing from original commit.

PR: 1312

14 years agoSupport for DSA keygen, fix for genpkey.
Dr. Stephen Henson [Wed, 12 Apr 2006 11:14:11 +0000 (11:14 +0000)]
Support for DSA keygen, fix for genpkey.

14 years agoInitial DSA EVP_PKEY_METHOD. Fixup some error codes.
Dr. Stephen Henson [Wed, 12 Apr 2006 10:20:47 +0000 (10:20 +0000)]
Initial DSA EVP_PKEY_METHOD. Fixup some error codes.

14 years agoAdd BeOS support.
Ulf Möller [Tue, 11 Apr 2006 21:34:21 +0000 (21:34 +0000)]
Add BeOS support.

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

14 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>

14 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.

14 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

14 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

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

14 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.

14 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.

14 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.

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

14 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.

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

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

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

14 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.

14 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.

14 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.

14 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.

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

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

14 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.

14 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.

14 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.

14 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.

14 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).

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

14 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.

14 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.

14 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.

14 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'.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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.

14 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 *.

14 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.

14 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.

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

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

14 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.

14 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.

14 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.

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