Richard Levitte [Mon, 26 Mar 2001 17:09:15 +0000 (17:09 +0000)]
Merge in recent changes from OpenSSL_0_9_6-stable.
Richard Levitte [Wed, 21 Mar 2001 22:00:35 +0000 (22:00 +0000)]
Tagging has been done, time to move on.
Richard Levitte [Wed, 21 Mar 2001 21:26:59 +0000 (21:26 +0000)]
Release OpenSSL 0.9.6a beta2 [engine].
The tag will be OpenSSL-engine-0_9_6a-beta2.
Richard Levitte [Wed, 21 Mar 2001 20:12:35 +0000 (20:12 +0000)]
Changes from the 0.9.6-stable branch and a make update.
Richard Levitte [Wed, 21 Mar 2001 18:18:58 +0000 (18:18 +0000)]
Changes from the 0.9.6-stable branch.
cvs2svn [Thu, 15 Mar 2001 12:42:05 +0000 (12:42 +0000)]
This commit was manufactured by cvs2svn to create branch 'OpenSSL-engine-
0_9_6-stable'.
Lutz Jänicke [Thu, 15 Mar 2001 12:42:04 +0000 (12:42 +0000)]
Forgot "cvs add", so only the surrounding changes made it... sigh.
Bodo Möller [Thu, 15 Mar 2001 11:31:37 +0000 (11:31 +0000)]
avoid infinite loop
Bodo Möller [Thu, 15 Mar 2001 11:30:55 +0000 (11:30 +0000)]
error codes are longs, not ints
Bodo Möller [Thu, 15 Mar 2001 11:30:10 +0000 (11:30 +0000)]
More error_data memory leaks
Richard Levitte [Thu, 15 Mar 2001 06:51:32 +0000 (06:51 +0000)]
It is a good thing to prepare the .def files.
Dr. Stephen Henson [Thu, 15 Mar 2001 01:15:54 +0000 (01:15 +0000)]
Document the -certopt option to the x509 utility.
Add no_issuer option.
Fix X509_print_ex() so it prints out newlines when
certain fields are omitted.
Bodo Möller [Wed, 14 Mar 2001 14:02:10 +0000 (14:02 +0000)]
The former ULTRASPARC preprocessor symbol is now called
OPENSSL_SYSNAME_ULTRASPARC, so we'd better check for that one
Richard Levitte [Wed, 14 Mar 2001 11:38:40 +0000 (11:38 +0000)]
Merge in recent changes from OpenSSL-0_9_6-stable
Bodo Möller [Tue, 13 Mar 2001 22:17:10 +0000 (22:17 +0000)]
Fix: return 0 if no error occured.
Richard Levitte [Tue, 13 Mar 2001 21:47:23 +0000 (21:47 +0000)]
make update.
Richard Levitte [Tue, 13 Mar 2001 21:38:53 +0000 (21:38 +0000)]
We need to build MINFO.
Richard Levitte [Tue, 13 Mar 2001 16:39:22 +0000 (16:39 +0000)]
Release Beta 1 of OpenSSL 0.9.6a [engine].
Bodo Möller [Tue, 13 Mar 2001 16:30:09 +0000 (16:30 +0000)]
typo
Richard Levitte [Tue, 13 Mar 2001 15:51:51 +0000 (15:51 +0000)]
Merge in recent changes from OpenSSL-0_9_6-stable
Richard Levitte [Tue, 13 Mar 2001 14:06:59 +0000 (14:06 +0000)]
Merge in recent changes from OpenSSL-0_9_6-stable
Richard Levitte [Tue, 13 Mar 2001 12:28:00 +0000 (12:28 +0000)]
Merge in recent changes from OpenSSL-0_9_6-stable
Bodo Möller [Tue, 13 Mar 2001 07:02:59 +0000 (07:02 +0000)]
Use err_clear_data macro
Richard Levitte [Tue, 13 Mar 2001 06:58:57 +0000 (06:58 +0000)]
Merge ... the 0.9.6-stable branch (continued after network interrupt).
Richard Levitte [Tue, 13 Mar 2001 06:49:18 +0000 (06:49 +0000)]
Merge in the 0.9.6-stable branch once more and hope for better
results.
Bodo Möller [Mon, 12 Mar 2001 18:07:20 +0000 (18:07 +0000)]
fix memory leak in err.c
Bodo Möller [Mon, 12 Mar 2001 07:26:23 +0000 (07:26 +0000)]
Rename function EC_GROUP_precompute to EC_GROUP_precompute_mult,
which indicate its purpose more clearly.
Bodo Möller [Sun, 11 Mar 2001 21:54:51 +0000 (21:54 +0000)]
Add various X9.62 OIDs. (GF(2^n) mostly left out.)
Dr. Stephen Henson [Sun, 11 Mar 2001 20:29:28 +0000 (20:29 +0000)]
Initial docs for PEM routines.
Bodo Möller [Sun, 11 Mar 2001 17:43:07 +0000 (17:43 +0000)]
EC_METHOD based on bn_mont2 (not used in the library)
Bodo Möller [Sun, 11 Mar 2001 14:49:46 +0000 (14:49 +0000)]
Forcibly enable memory leak checking during "make test"
Bodo Möller [Sun, 11 Mar 2001 12:30:52 +0000 (12:30 +0000)]
Timings are not supposed to be enabled by default ...
Bodo Möller [Sun, 11 Mar 2001 12:27:24 +0000 (12:27 +0000)]
Add functions EC_POINT_mul and EC_GROUP_precompute.
The latter does nothing for now, but its existence means
that applications can request precomputation when appropriate.
Bodo Möller [Sun, 11 Mar 2001 08:44:50 +0000 (08:44 +0000)]
handle negative scalars correctly when doing point multiplication
Bodo Möller [Sun, 11 Mar 2001 08:27:11 +0000 (08:27 +0000)]
use fflush
Bodo Möller [Sat, 10 Mar 2001 23:49:06 +0000 (23:49 +0000)]
Change timing output: We don't have "exponents" here, curves are
considered additive
Bodo Möller [Sat, 10 Mar 2001 23:37:52 +0000 (23:37 +0000)]
comment and error code update
Bodo Möller [Sat, 10 Mar 2001 23:26:41 +0000 (23:26 +0000)]
Remove files from Lenka's EC implementation.
Bodo Möller [Sat, 10 Mar 2001 23:18:35 +0000 (23:18 +0000)]
More EC stuff, including EC_POINTs_mul() for simultaneous scalar
multiplication of an arbitrary number of points.
Richard Levitte [Sat, 10 Mar 2001 16:28:49 +0000 (16:28 +0000)]
Document the change.
Richard Levitte [Sat, 10 Mar 2001 16:20:52 +0000 (16:20 +0000)]
For some experiments, it is sometimes nice to serve files with complete
HTTP responses.
Dr. Stephen Henson [Sat, 10 Mar 2001 12:37:01 +0000 (12:37 +0000)]
In crypto/ec #if 0 out structures which reference (currently)
non existent functions because this breaks shared libraries.
Dr. Stephen Henson [Sat, 10 Mar 2001 01:57:38 +0000 (01:57 +0000)]
Typo.
Dr. Stephen Henson [Sat, 10 Mar 2001 01:56:48 +0000 (01:56 +0000)]
Add the 'ec' directory to mkdef.pl and mkfiles.pl
so the Windows build can see it.
Fixup mkdef.pl so it doesn't mess up with function
names longer than 39 characters in length.
Richard Levitte [Fri, 9 Mar 2001 15:27:41 +0000 (15:27 +0000)]
Use 32bit longs on Alpha as well, because that's what the VMS
assembler code works with.
Of course, the assembler code could differ between platforms. That
might happen in the future.
Richard Levitte [Fri, 9 Mar 2001 15:11:16 +0000 (15:11 +0000)]
Uhmmm, how did those conflicts get through?
Bodo Möller [Fri, 9 Mar 2001 14:01:42 +0000 (14:01 +0000)]
Instead of telling both 'make' and the user that ranlib
errors can be tolerated, hide the error from 'make'.
This gives shorter output both if ranlib fails and if
it works.
Dr. Stephen Henson [Fri, 9 Mar 2001 13:57:14 +0000 (13:57 +0000)]
Update docs.
Bodo Möller [Fri, 9 Mar 2001 13:04:06 +0000 (13:04 +0000)]
Workaround for solaris64 linking problem (explicit "ar rs" is needed
to create a symbol table).
Sun patches such as 109147-06 probably fix this problem,
but we can easily avoid it.
Bodo Möller [Fri, 9 Mar 2001 10:09:20 +0000 (10:09 +0000)]
Consistently use 'void *' for SSL read, peek and write functions.
Dr. Stephen Henson [Fri, 9 Mar 2001 02:51:02 +0000 (02:51 +0000)]
Change the EVP_somecipher() and EVP_somedigest()
functions to return constant EVP_MD and EVP_CIPHER
pointers.
Update docs.
Richard Levitte [Fri, 9 Mar 2001 01:13:23 +0000 (01:13 +0000)]
Bug fixes.
Richard Levitte [Fri, 9 Mar 2001 00:05:44 +0000 (00:05 +0000)]
In preparation for the coming release of 0.9.6a, prepare a branch for
engine-0.9.6-stable.
There's no need to update this with the new bug fixes, it will get
updated from the changes in OpenSSL_0_9_6-stable, just like any normal
merge.
Richard Levitte [Thu, 8 Mar 2001 23:59:19 +0000 (23:59 +0000)]
In preparation for the coming release of 0.9.6a, prepare a branch for
engine-0.9.6-stable.
There's no need to update this with the new bug fixes, it will get
updated from the changes in OpenSSL_0_9_6-stable, just like any normal
merge.
Bodo Möller [Thu, 8 Mar 2001 22:52:49 +0000 (22:52 +0000)]
Fix ec_GFp_simple_cmp.
Use example group from Annex I of X9.62 in ectest.c.
Bodo Möller [Thu, 8 Mar 2001 21:55:27 +0000 (21:55 +0000)]
ssl23_peek
Bodo Möller [Thu, 8 Mar 2001 21:54:02 +0000 (21:54 +0000)]
add ssl23_peek
Bodo Möller [Thu, 8 Mar 2001 21:52:53 +0000 (21:52 +0000)]
Avoid problems with multi-line NAME sections.
Richard Levitte [Thu, 8 Mar 2001 21:12:58 +0000 (21:12 +0000)]
Too many dollars...
Bodo Möller [Thu, 8 Mar 2001 20:55:16 +0000 (20:55 +0000)]
Implement EC_GFp_mont_method.
Bodo Möller [Thu, 8 Mar 2001 19:34:14 +0000 (19:34 +0000)]
Fixes to make 'no-ec' work (it should not turn 'objects' into 'objts' for example)
Bodo Möller [Thu, 8 Mar 2001 19:14:52 +0000 (19:14 +0000)]
More method functions for elliptic curves,
and an ectest.c that actually tests something.
Bodo Möller [Thu, 8 Mar 2001 19:13:24 +0000 (19:13 +0000)]
Bugfix: previously the serial number file could turn negative
because an incompletely initialized ASN1_INTEGER was used.
Lutz Jänicke [Thu, 8 Mar 2001 17:24:02 +0000 (17:24 +0000)]
Add newly learned knowledge from yesterday's discussion.
Richard Levitte [Thu, 8 Mar 2001 17:22:38 +0000 (17:22 +0000)]
Write a small comment so we know...
Richard Levitte [Thu, 8 Mar 2001 17:22:05 +0000 (17:22 +0000)]
Build ectest too.
Richard Levitte [Thu, 8 Mar 2001 17:20:31 +0000 (17:20 +0000)]
Some EC function names are really long. Make aliases for VMS on VAX.
Ulf Möller [Thu, 8 Mar 2001 17:00:09 +0000 (17:00 +0000)]
note the rand_win.c change
Bodo Möller [Thu, 8 Mar 2001 16:53:30 +0000 (16:53 +0000)]
Comment
Ulf Möller [Thu, 8 Mar 2001 16:46:23 +0000 (16:46 +0000)]
old MSVC versions don't have rdtsc
use _emit instead
Pointed out by Jeremy Cooper <jeremy@baymoo.org>
Bodo Möller [Thu, 8 Mar 2001 15:56:15 +0000 (15:56 +0000)]
Hide BN_CTX structure details.
Incease the number of BIGNUMs in a BN_CTX.
Richard Levitte [Thu, 8 Mar 2001 14:40:20 +0000 (14:40 +0000)]
VMS catches up on the EC modifications.
Dr. Stephen Henson [Thu, 8 Mar 2001 14:04:22 +0000 (14:04 +0000)]
Make EVP_Digest*() routines return a value.
TODO: update docs, and make soe other routines
which use EVP_Digest*() check return codes.
Bodo Möller [Thu, 8 Mar 2001 14:02:28 +0000 (14:02 +0000)]
avoid compiler warning
Bodo Möller [Thu, 8 Mar 2001 13:58:09 +0000 (13:58 +0000)]
Constify BN_value_one.
Bodo Möller [Thu, 8 Mar 2001 12:30:12 +0000 (12:30 +0000)]
Integrate ec_err.[co].
"make depend"
Bodo Möller [Thu, 8 Mar 2001 12:27:44 +0000 (12:27 +0000)]
Throw out *all* absolute pathnames, not matter what they look like.
The filenames we are interested in for Makefile dependencies
are always relative.
Bodo Möller [Thu, 8 Mar 2001 12:14:25 +0000 (12:14 +0000)]
Sort openssl.ec, the configuration file for mkerr.pl.
Change mkerr.pl so that it puts the ERR_load_..._strings()
prototype in header files that it writes.
Bodo Möller [Thu, 8 Mar 2001 11:59:48 +0000 (11:59 +0000)]
Integrate ectest.c (which does not yet do anything).
Bodo Möller [Thu, 8 Mar 2001 11:59:03 +0000 (11:59 +0000)]
Order ERR_load_... calls like the stuff in err.h.
Bodo Möller [Thu, 8 Mar 2001 11:45:44 +0000 (11:45 +0000)]
Get rid of '#define ERR_file_name __FILE__', which is unnecessary indirection.
(It cannot possibly help to avoid duplicate 'name of file' strings
in object files because the preprocessor does not work at object file
level.)
Bodo Möller [Thu, 8 Mar 2001 11:18:06 +0000 (11:18 +0000)]
Let EC_POINT_copy do nothing if dest==src
Bodo Möller [Thu, 8 Mar 2001 11:16:33 +0000 (11:16 +0000)]
More 'TODO' items.
Bodo Möller [Thu, 8 Mar 2001 01:23:28 +0000 (01:23 +0000)]
More method functions for EC_GFp_simple_method.
Bodo Möller [Wed, 7 Mar 2001 20:56:48 +0000 (20:56 +0000)]
More method functions.
Bodo Möller [Wed, 7 Mar 2001 19:54:35 +0000 (19:54 +0000)]
Some actual method functions (not enough yet to use the EC library, though),
including EC arithmetics derived from Lenka Fibikova's code (with some
additional optimizations).
Richard Levitte [Wed, 7 Mar 2001 10:04:00 +0000 (10:04 +0000)]
Code for better build under Darwin (MacOS X).
Submitted by Brad Dominy <jdominy@darwinuser.org>
Bodo Möller [Wed, 7 Mar 2001 09:53:41 +0000 (09:53 +0000)]
..._init functions are method-specific too
(they can't do much useful, but they will have to set pointers
to NULL)
Bodo Möller [Wed, 7 Mar 2001 09:48:38 +0000 (09:48 +0000)]
Optimized EC_METHODs need specific 'set_curve' and 'free' functions.
Bodo Möller [Wed, 7 Mar 2001 09:29:45 +0000 (09:29 +0000)]
The next bunch of vaporware.
Bodo Möller [Wed, 7 Mar 2001 09:03:32 +0000 (09:03 +0000)]
extra_data 'mixin'.
(This will be used for Lim/Lee precomputation data.)
Bodo Möller [Wed, 7 Mar 2001 01:41:20 +0000 (01:41 +0000)]
Oops ...
Bodo Möller [Wed, 7 Mar 2001 01:37:54 +0000 (01:37 +0000)]
In clear_free, clear the complete structure just in case
the method misses something.
Bodo Möller [Wed, 7 Mar 2001 01:19:07 +0000 (01:19 +0000)]
Fix ERR_R_... problems.
Bodo Möller [Wed, 7 Mar 2001 01:17:05 +0000 (01:17 +0000)]
Implement dispatcher for EC_GROUP and EC_POINT method functions.
Initial EC_GROUP_new_curve_GFp implementation.
Bodo Möller [Tue, 6 Mar 2001 22:30:03 +0000 (22:30 +0000)]
Add a few 'const's
Ulf Möller [Tue, 6 Mar 2001 15:36:24 +0000 (15:36 +0000)]
Forgot a '$'.
Bodo Möller [Tue, 6 Mar 2001 08:58:38 +0000 (08:58 +0000)]
Change obj_... generation so that it does not generate rubbish or
abort with errors if no name is defined for some object, which was the
case for 'pilotAttributeType 27'.
Also avoid this very situation by assigning the name
'pilotAttributeType27'.
Bodo Möller [Tue, 6 Mar 2001 08:55:33 +0000 (08:55 +0000)]
'is_at_infinity' tests don't need a BN_CTX.
Bodo Möller [Tue, 6 Mar 2001 07:01:51 +0000 (07:01 +0000)]
New function declarations.