Bodo Möller [Mon, 2 Aug 1999 21:58:03 +0000 (21:58 +0000)]
Revert previous change -- it was an accident.
Bodo Möller [Mon, 2 Aug 1999 21:44:49 +0000 (21:44 +0000)]
avoid some NO_<cipher> problems
Bodo Möller [Mon, 2 Aug 1999 21:41:46 +0000 (21:41 +0000)]
generate error message
Bodo Möller [Mon, 2 Aug 1999 20:09:23 +0000 (20:09 +0000)]
fix previous modification -- if ssl->cert is NULL, don't follow the pointer.
Bodo Möller [Mon, 2 Aug 1999 19:55:51 +0000 (19:55 +0000)]
avoid cast
Bodo Möller [Mon, 2 Aug 1999 18:40:36 +0000 (18:40 +0000)]
The SSL_CTX's cert structure is not relevant for the SSL
(because now SSL_new makes a copy).
Bodo Möller [Sun, 1 Aug 1999 11:19:59 +0000 (11:19 +0000)]
SSL_shutdown was done too early.
Bodo Möller [Sun, 1 Aug 1999 10:04:37 +0000 (10:04 +0000)]
don't prematurely shut down socket -- use SSL_shutdown
Andy Polyakov [Sat, 31 Jul 1999 23:27:41 +0000 (23:27 +0000)]
Extra i386+gcc bn_div.c tune-up featuring inline division and saving
the remainder left in %edx. Here is the resulting performance improvement
matrix (improvement as a result of this *and* previous tune-up committed
two days ago). The results were obtained by profiling the "div" part of
the crypto/bn/bnspeed.c.
CPU BN_div bn_div_words overall comment
------------------------------------------------------------------------
PII +16% accumulated by +2-3% PII multiplies damn fast! Taking
inlining multiplication out of the loop
didn't make too much difference.
Eliminating of the multiplication
involved in remainder calculation
is the major factor.
Pentium +45% accumulated by +7-9% mull isn't that fast and replacing
inlining multiplications with additions in
the loop has more visible effect:-)
MIPS +75% +12% +20-25% In addition to the taking mults
R10000 out of the loop (giving 12% in the
asm/mips3.s) three mults were
eliminated in BN_div.
Alpha +30% +50% +10-15% Same as above. But remember that
EV4 bn_div_words is a C implementation.
It takes 4 Alpha mults in C to do
the same thing as 1 MIPS mult in
assembler does. So the effect (50%)
is more impressive. But not the
overall one... Well, if Alpha
bn_mul_add would be implemented
in assembler overall improvement
would be closer to MIPS...
Bodo Möller [Fri, 30 Jul 1999 19:22:57 +0000 (19:22 +0000)]
by request: let BN_dup(NULL) just return NULL
Andy Polyakov [Fri, 30 Jul 1999 11:43:43 +0000 (11:43 +0000)]
Bignum division tune-up. Idea is to move multiplications in front of
loop body and replace 'em with addition/subtraction.
Bodo Möller [Fri, 30 Jul 1999 10:43:34 +0000 (10:43 +0000)]
correct error signalling for opendir() failure
Dr. Stephen Henson [Fri, 30 Jul 1999 10:11:21 +0000 (10:11 +0000)]
Fix to PKCS#12 code to use the cipher block length when allocating a buffer
for encrypted data, rather than hard coding '8'.
Dr. Stephen Henson [Fri, 30 Jul 1999 01:12:46 +0000 (01:12 +0000)]
Allow the PKCS#7 (S/MIME encrypt) application to support more than one
recipient.
Dr. Stephen Henson [Thu, 29 Jul 1999 21:50:34 +0000 (21:50 +0000)]
Tidy up pkcs12 application.
Ulf Möller [Thu, 29 Jul 1999 17:27:29 +0000 (17:27 +0000)]
Avoid path separator problems.
Ulf Möller [Thu, 29 Jul 1999 16:15:48 +0000 (16:15 +0000)]
No use in naming the cblock _; the structure still is incompatible
to Kerberos.
Ulf Möller [Thu, 29 Jul 1999 14:43:51 +0000 (14:43 +0000)]
*** empty log message ***
Ulf Möller [Thu, 29 Jul 1999 14:10:20 +0000 (14:10 +0000)]
obj_dat.h is autogenerated (it was in the CVS because old versions of
Configure didn't generate the file in Windows builds).
Bodo Möller [Thu, 29 Jul 1999 12:57:23 +0000 (12:57 +0000)]
Always use buildinf.h, which now includes the mk1mfinf.h data.
Using different files caused problems because the dependencies
in the Makefiles produced by mk1mf.pl were for the standard case,
i.e. mentioned buildinf.h and not mk1mfinf.h.
Ulf Möller [Thu, 29 Jul 1999 00:09:49 +0000 (00:09 +0000)]
Restore compability with kerberos/des.h (I had deleted some seemingly useless
definitions such as C_Block earlier).
Ulf Möller [Wed, 28 Jul 1999 23:25:59 +0000 (23:25 +0000)]
VMS updates.
Submitted by: Richard Levitte <levitte@stacken.kth.se>
Dr. Stephen Henson [Tue, 27 Jul 1999 22:22:58 +0000 (22:22 +0000)]
New function OBJ_obj2txt()
Dr. Stephen Henson [Tue, 27 Jul 1999 21:58:08 +0000 (21:58 +0000)]
New RSA flag RSA_FLAG_EXT_PKEY, to always call rsa_mod_exp.
Andy Polyakov [Tue, 27 Jul 1999 09:36:59 +0000 (09:36 +0000)]
when invoking bn_*_comba[48] result->top wasn't always set correctly.
Bodo Möller [Tue, 27 Jul 1999 09:13:49 +0000 (09:13 +0000)]
close files.
Bodo Möller [Tue, 27 Jul 1999 09:10:36 +0000 (09:10 +0000)]
Use correct CFLAG definition for makefile.one builds.
Bodo Möller [Mon, 26 Jul 1999 12:59:02 +0000 (12:59 +0000)]
change CFLAGS to those given in Configure
Bodo Möller [Mon, 26 Jul 1999 11:56:18 +0000 (11:56 +0000)]
-DPLATFORM and -DCFLAGS command line arguments are no longer used.
Bodo Möller [Sun, 25 Jul 1999 23:41:16 +0000 (23:41 +0000)]
summary of Andy's changes to Configure
Andy Polyakov [Sun, 25 Jul 1999 22:25:12 +0000 (22:25 +0000)]
SPARC Solaris config updates.
./config sences whole range of SPARC instruction sets. Do note that
it favors Sun C now if both gcc and cc 4.2 or later are present!
Andy Polyakov [Sun, 25 Jul 1999 20:40:58 +0000 (20:40 +0000)]
SGI IRIX config updates.
Andy Polyakov [Sun, 25 Jul 1999 15:25:30 +0000 (15:25 +0000)]
Minor MD5 tune-up for WIN32 on Intel.
Andy Polyakov [Sun, 25 Jul 1999 15:13:49 +0000 (15:13 +0000)]
Added support for SPARC Linux.
Andy Polyakov [Sun, 25 Jul 1999 14:07:48 +0000 (14:07 +0000)]
GNU assembler (read SPARC Linux) support added.
Andy Polyakov [Sun, 25 Jul 1999 12:34:30 +0000 (12:34 +0000)]
- performance retunes, v8plus bn_*_comba routines are reimplemented;
- support for GNU assembler (read SPARC Linux);
Ralf S. Engelschall [Sun, 25 Jul 1999 12:19:02 +0000 (12:19 +0000)]
First cut for a proposed code freeze and release dates (from Steve and me).
All OpenSSL developers: Please feel free to adjust the dates if they still do
not fit into your personal scheduling.
Bodo Möller [Sat, 24 Jul 1999 03:09:01 +0000 (03:09 +0000)]
Don't include x509.h when we just need asn1.h
Ulf Möller [Thu, 22 Jul 1999 21:57:41 +0000 (21:57 +0000)]
Remove obsolete files.
Bodo Möller [Thu, 22 Jul 1999 16:23:54 +0000 (16:23 +0000)]
ignore r586unix.cpp
Bodo Möller [Thu, 22 Jul 1999 16:22:11 +0000 (16:22 +0000)]
date.h no longer to be deleted by "make clean"
Ulf Möller [Thu, 22 Jul 1999 16:10:31 +0000 (16:10 +0000)]
Make the perl module compile and eliminate some of the warnings.
Still doesn't work (the destructor on BIO and SSL is called immediately
after creating the object. Why that??)
Bodo Möller [Wed, 21 Jul 1999 22:10:23 +0000 (22:10 +0000)]
Torture weak compilers less by not automatically including x509.h where
it is not needed.
Bodo Möller [Wed, 21 Jul 1999 22:07:35 +0000 (22:07 +0000)]
additional argument for key_callback
Bodo Möller [Wed, 21 Jul 1999 20:57:16 +0000 (20:57 +0000)]
Additional user data argument to pem_password_cb function type
and to lots of PEM_... functions.
Submitted by: Damien Miller <dmiller@ilogic.com.au>
Bodo Möller [Wed, 21 Jul 1999 20:49:15 +0000 (20:49 +0000)]
avoid -DPLATFORM=\"...\" and -DCFLAGS=\"...\" command lines,
use new file buildinf.h instead.
Bodo Möller [Wed, 21 Jul 1999 20:47:51 +0000 (20:47 +0000)]
slight clean-up
Bodo Möller [Wed, 21 Jul 1999 20:47:19 +0000 (20:47 +0000)]
Auto-generated file -- this should not be under version control
(and the other */asm/*.cpp files are not)
Andy Polyakov [Wed, 21 Jul 1999 13:53:01 +0000 (13:53 +0000)]
Get rid of redundant multiplications in bn_div_words.
Bodo Möller [Tue, 20 Jul 1999 17:46:32 +0000 (17:46 +0000)]
"make TABLE" (to follow recent Configure change)
Andy Polyakov [Tue, 20 Jul 1999 15:50:20 +0000 (15:50 +0000)]
MIPS III/IV assembler module is reimplemented.
Andy Polyakov [Tue, 20 Jul 1999 13:43:26 +0000 (13:43 +0000)]
crypto/bn/asm/mips3.s is moved to crypto/bn/asm/obsolete/
Andy Polyakov [Tue, 20 Jul 1999 13:40:02 +0000 (13:40 +0000)]
crypto/bn/asm/mips3.s is obsolete. I'm moving it to crypto/bn/asm/obsolete
in order to replace it with a new version.
Bodo Möller [Mon, 19 Jul 1999 12:59:12 +0000 (12:59 +0000)]
SSL_MODE_ENABLE_PARTIAL_WRITE and SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER
work as intended, both for SSLv2 and TLS.
Bodo Möller [Mon, 19 Jul 1999 10:36:10 +0000 (10:36 +0000)]
New compile time option -DCRYPTO_MDEBUG_THREAD.
Bodo Möller [Mon, 19 Jul 1999 09:25:35 +0000 (09:25 +0000)]
Have CRYPTO_MDEBUG_TIME automatically set CRYPTO_MDEBUG,
and make it the default for some debugging configurations.
Bodo Möller [Sun, 18 Jul 1999 22:39:45 +0000 (22:39 +0000)]
Add optional (compile-time configurable) time to CRYPTO_mem_leaks output.
This is much more helpful than the counter when doing tests with the library
interactively.
Bodo Möller [Sat, 17 Jul 1999 15:17:14 +0000 (15:17 +0000)]
"make clean" has to delete date.h
Ulf Möller [Fri, 16 Jul 1999 00:50:45 +0000 (00:50 +0000)]
DES library changes.
Ulf Möller [Fri, 16 Jul 1999 00:49:51 +0000 (00:49 +0000)]
Did not check the last SDIR line for excluded algorithms.
Ulf Möller [Thu, 15 Jul 1999 23:47:02 +0000 (23:47 +0000)]
More DES library cleanups: remove references to srand/rand
and delete an unused file.
Ulf Möller [Thu, 15 Jul 1999 23:45:04 +0000 (23:45 +0000)]
RSA private keys without dmp1/dmq1/iqmp are also valid (but slower).
Ulf Möller [Thu, 15 Jul 1999 23:44:04 +0000 (23:44 +0000)]
NO_HMAC.
Bodo Möller [Wed, 14 Jul 1999 18:37:51 +0000 (18:37 +0000)]
Fix option processing.
Submitted by: Sam Tetherow
Bodo Möller [Wed, 14 Jul 1999 18:09:59 +0000 (18:09 +0000)]
Judging from various messages on the OpenSSL mailing lists, HP-UX 10
with cc (but not gcc) seems to work well with BN_LLONG; but -O4 is too
much.
Dr. Stephen Henson [Tue, 13 Jul 1999 00:00:05 +0000 (00:00 +0000)]
Eliminate a warning: BN_mod_inverse() returns a (BIGNUM *) and remove and
unnecessary cast.
Dr. Stephen Henson [Mon, 12 Jul 1999 23:35:10 +0000 (23:35 +0000)]
Continues NASM support. This might work now. Its still experimental but it
passes all the tests. Added documentation in INSTALL.W32.
Bodo Möller [Mon, 12 Jul 1999 18:50:34 +0000 (18:50 +0000)]
cosmetic changes
Dr. Stephen Henson [Mon, 12 Jul 1999 18:12:43 +0000 (18:12 +0000)]
More NASM support code it still doesn't work but it doesn't work less than it
didn't work before :-)
Bodo Möller [Mon, 12 Jul 1999 17:15:42 +0000 (17:15 +0000)]
fix memory leak in s3_clnt.c
Bodo Möller [Mon, 12 Jul 1999 16:46:28 +0000 (16:46 +0000)]
typo in string
Bodo Möller [Mon, 12 Jul 1999 15:20:08 +0000 (15:20 +0000)]
Looks like another memory leak ...
Dr. Stephen Henson [Mon, 12 Jul 1999 12:33:16 +0000 (12:33 +0000)]
Beginnings of experimental support for NASM assembler. This is a free
assembler for various X86 platforms including Win32. It can output object files
that VC++ will tolerate so it could be used to provide assembly language support
to Win32 without the need for MASM.
This is preliminary stuff: it doesn't even work yet.
Bodo Möller [Mon, 12 Jul 1999 09:46:34 +0000 (09:46 +0000)]
correct error handling
insert spaces in products that occur in error codes
Bodo Möller [Sun, 11 Jul 1999 22:06:54 +0000 (22:06 +0000)]
typo
Bodo Möller [Sun, 11 Jul 1999 22:01:41 +0000 (22:01 +0000)]
New function RSA_check_key.
Bodo Möller [Sun, 11 Jul 1999 22:00:55 +0000 (22:00 +0000)]
New function RSA_check_key,
openssl rsa -check
Dr. Stephen Henson [Sun, 11 Jul 1999 17:09:04 +0000 (17:09 +0000)]
Various changes to stop VC++ choking under Win32.
Dr. Stephen Henson [Sun, 11 Jul 1999 12:40:46 +0000 (12:40 +0000)]
Add a debugging option to PKCS#5 v2.0 key generation function.
Dr. Stephen Henson [Sun, 11 Jul 1999 12:30:55 +0000 (12:30 +0000)]
Copy flags in ASN1_STRING_dup()
Dr. Stephen Henson [Sun, 11 Jul 1999 01:48:21 +0000 (01:48 +0000)]
Fix a bug in x509.c that omitted DSA parameters when they didn't match the
signers parameters. Changed it to never omit parameters.
Dr. Stephen Henson [Sat, 10 Jul 1999 12:48:31 +0000 (12:48 +0000)]
SXnet code was freeing up the extension data rather than the temporary
zone number.
Bodo Möller [Fri, 9 Jul 1999 16:27:30 +0000 (16:27 +0000)]
Fix memory checking.
Ulf Möller [Fri, 9 Jul 1999 15:23:11 +0000 (15:23 +0000)]
Obsolete/experimental code.
Bodo Möller [Fri, 9 Jul 1999 14:04:57 +0000 (14:04 +0000)]
Provide CFLAGS and PLATFORM information on Windows platforms.
Bodo Möller [Fri, 9 Jul 1999 13:02:14 +0000 (13:02 +0000)]
remove editing artifacts
Bodo Möller [Fri, 9 Jul 1999 12:01:40 +0000 (12:01 +0000)]
Mention modification to Configure.
Bodo Möller [Fri, 9 Jul 1999 12:00:34 +0000 (12:00 +0000)]
Don't confuse mk1mf.pl by combining multiple options into one.
Bodo Möller [Fri, 9 Jul 1999 11:30:20 +0000 (11:30 +0000)]
Updated to reflect recent "Configure" modification.
Ulf Möller [Fri, 9 Jul 1999 01:17:51 +0000 (01:17 +0000)]
Broken HPUX cc.
Bodo Möller [Tue, 6 Jul 1999 17:28:29 +0000 (17:28 +0000)]
improve readability of #if conditions (ELF, if defined, supersedes BSDI
[which we don't really define if ELF is defined, but who knows])
Bodo Möller [Mon, 5 Jul 1999 11:01:16 +0000 (11:01 +0000)]
avoid confliction definitions of NDEBUG
Bodo Möller [Mon, 5 Jul 1999 10:18:51 +0000 (10:18 +0000)]
Disable asserts for standard configurations.
Bodo Möller [Mon, 5 Jul 1999 10:09:24 +0000 (10:09 +0000)]
make debug-solaris-[u]sparc-gcc more useful
Bodo Möller [Fri, 2 Jul 1999 17:52:21 +0000 (17:52 +0000)]
typo
Bodo Möller [Fri, 2 Jul 1999 14:23:33 +0000 (14:23 +0000)]
typo
Bodo Möller [Fri, 2 Jul 1999 13:55:32 +0000 (13:55 +0000)]
New functions SSL[_CTX]_{set,get}_mode; the initial set of mode flags is
SSL_MODE_ENABLE_PARTIAL_WRITE, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER.
Bodo Möller [Fri, 2 Jul 1999 13:38:17 +0000 (13:38 +0000)]
Don't use ...-oldgcc for egcs compiler.
Ulf Möller [Wed, 30 Jun 1999 00:42:56 +0000 (00:42 +0000)]
More no-xxx option tweaks.
Ulf Möller [Tue, 29 Jun 1999 23:52:08 +0000 (23:52 +0000)]
Fix no-hmac and no-ripemd.