oweals/openssl.git
18 years agoThe VMS I run on doesn't know socklen_t and uses size_t instead.
Richard Levitte [Wed, 4 Jan 2006 12:03:47 +0000 (12:03 +0000)]
The VMS I run on doesn't know socklen_t and uses size_t instead.

18 years agoFix signed/unsigned char clashes.
Richard Levitte [Wed, 4 Jan 2006 12:02:43 +0000 (12:02 +0000)]
Fix signed/unsigned char clashes.

18 years agoIn ASN1_parse() show tag value for ASN1 tags > 30.
Dr. Stephen Henson [Tue, 3 Jan 2006 14:20:07 +0000 (14:20 +0000)]
In ASN1_parse() show tag value for ASN1 tags > 30.

18 years agoVarious changes in the new TLS extension code, including the following:
Bodo Möller [Tue, 3 Jan 2006 03:27:19 +0000 (03:27 +0000)]
Various changes in the new TLS extension code, including the following:
 - fix indentation
 - rename some functions and macros
 - fix up confusion between SSL_ERROR_... and SSL_AD_... values

18 years agoMake sure that after the change from revision 1.261,
Bodo Möller [Tue, 3 Jan 2006 03:05:08 +0000 (03:05 +0000)]
Make sure that after the change from revision 1.261,
it's still possible to do a partial build.

18 years agoMissing files in the VMS installation
Richard Levitte [Mon, 2 Jan 2006 23:33:36 +0000 (23:33 +0000)]
Missing files in the VMS installation

18 years agoC style fix-up
Bodo Möller [Mon, 2 Jan 2006 23:29:12 +0000 (23:29 +0000)]
C style fix-up

18 years agoSupport TLS extensions (specifically, HostName)
Bodo Möller [Mon, 2 Jan 2006 23:14:37 +0000 (23:14 +0000)]
Support TLS extensions (specifically, HostName)

Submitted by: Peter Sylvester

18 years agoRefine login in b_sock.c.
Andy Polyakov [Mon, 2 Jan 2006 16:05:26 +0000 (16:05 +0000)]
Refine login in b_sock.c.

18 years agoCompile Windows with winsock2.h. But note that we still link with wsock32!
Andy Polyakov [Mon, 2 Jan 2006 13:44:06 +0000 (13:44 +0000)]
Compile Windows with winsock2.h. But note that we still link with wsock32!
This works because wsock32 commonly loads ws2_32 anyway and we [intend to]
check upon presense of winsock2-specific API at run-time.

18 years agoFix typo and purify logic in b_sock.c
Andy Polyakov [Mon, 2 Jan 2006 12:26:36 +0000 (12:26 +0000)]
Fix typo and purify logic in b_sock.c

18 years ago./util update, which covers various issues, but most importantly mkerr.pl
Andy Polyakov [Mon, 2 Jan 2006 12:13:07 +0000 (12:13 +0000)]
./util update, which covers various issues, but most importantly mkerr.pl
and mkdef.pl spinning in endless loop.

18 years agoTypo in win32_globallookup.
Andy Polyakov [Mon, 2 Jan 2006 12:06:22 +0000 (12:06 +0000)]
Typo in win32_globallookup.

18 years agoMake b_sock.c IPv6 savvy.
Andy Polyakov [Mon, 2 Jan 2006 09:12:46 +0000 (09:12 +0000)]
Make b_sock.c IPv6 savvy.

18 years ago"Relax" prototype and rename DSO_global_lookup_func to DSO_global_lookup.
Andy Polyakov [Mon, 2 Jan 2006 08:59:20 +0000 (08:59 +0000)]
"Relax" prototype and rename DSO_global_lookup_func to DSO_global_lookup.

18 years agoutil/mkerr.pl update to address various mkerr.pl problems [such as failure
Andy Polyakov [Sun, 1 Jan 2006 18:42:05 +0000 (18:42 +0000)]
util/mkerr.pl update to address various mkerr.pl problems [such as failure
to handle multi-line comments and endless loop while parsing overloaded
gnu-ish __attribute__].

18 years agoFix mapping "leak" in newly introduced win32_globallookup.
Andy Polyakov [Sun, 1 Jan 2006 18:38:59 +0000 (18:38 +0000)]
Fix mapping "leak" in newly introduced win32_globallookup.

18 years agoOops! Remove junk...
Andy Polyakov [Sat, 31 Dec 2005 14:54:22 +0000 (14:54 +0000)]
Oops! Remove junk...

18 years agoRewrite timeout computation in a way that is less prone to overflow.
Bodo Möller [Fri, 30 Dec 2005 23:51:36 +0000 (23:51 +0000)]
Rewrite timeout computation in a way that is less prone to overflow.

(Problem reported by Peter Sylvester.)

18 years agoAdd DSO_global_lookup_func implementation. See commentary in dso_lib.c
Andy Polyakov [Fri, 30 Dec 2005 22:53:59 +0000 (22:53 +0000)]
Add DSO_global_lookup_func implementation. See commentary in dso_lib.c
for further details.

18 years agoFix CFB and OFB modes in eng_padlock.c. Engine was consistent with itself,
Andy Polyakov [Wed, 28 Dec 2005 16:16:56 +0000 (16:16 +0000)]
Fix CFB and OFB modes in eng_padlock.c. Engine was consistent with itself,
but not interoperable with the rest of the world. test_padlock script is
added mostly for reference.

18 years agoMinor sparcv9 clean-ups.
Andy Polyakov [Tue, 27 Dec 2005 21:27:39 +0000 (21:27 +0000)]
Minor sparcv9 clean-ups.

18 years agoLower PADLOCK_CHUNK till value, which doesn't affect the benchmark results.
Andy Polyakov [Tue, 27 Dec 2005 21:21:56 +0000 (21:21 +0000)]
Lower PADLOCK_CHUNK till value, which doesn't affect the benchmark results.
Well, it's even contrary, 512 was observed to *improve* performance by 5%.
Excuse ourselves from treating C7 specially.

18 years agoWhoops, we were copying instead of comparing at the end of trying to
Richard Levitte [Tue, 20 Dec 2005 07:03:10 +0000 (07:03 +0000)]
Whoops, we were copying instead of comparing at the end of trying to
find a queue element.

Notified by nagendra modadugu <nagendra@cs.stanford.edu>

18 years agoAs SPARCV9 CPU flavor is [expected to be] detected at run-time, we can
Andy Polyakov [Mon, 19 Dec 2005 09:10:06 +0000 (09:10 +0000)]
As SPARCV9 CPU flavor is [expected to be] detected at run-time, we can
afford to relax SPARCV9/8+ compiler command line and produce "unversal"
binaries as we used to.

18 years agocomments
Ulf Möller [Sun, 18 Dec 2005 20:59:25 +0000 (20:59 +0000)]
comments

18 years agoEliminate possible mapping leak.
Andy Polyakov [Sun, 18 Dec 2005 19:14:01 +0000 (19:14 +0000)]
Eliminate possible mapping leak.

18 years agoTypo in sparcv8cap.c.
Andy Polyakov [Sun, 18 Dec 2005 19:13:03 +0000 (19:13 +0000)]
Typo in sparcv8cap.c.

18 years agoKeep disclaiming 16-bit platform support. For now remove WIN16 references
Andy Polyakov [Sun, 18 Dec 2005 19:11:37 +0000 (19:11 +0000)]
Keep disclaiming 16-bit platform support. For now remove WIN16 references
from .h files...

18 years agoMissing CFLAG in couple of depend: targets.
Andy Polyakov [Sun, 18 Dec 2005 19:00:54 +0000 (19:00 +0000)]
Missing CFLAG in couple of depend: targets.
PR: 1247
Submitted by: Doug Kaufman

18 years agoPut back OPENSSL_SYS_MSDOS definition to revive DJGPP built.
Andy Polyakov [Sun, 18 Dec 2005 18:55:55 +0000 (18:55 +0000)]
Put back OPENSSL_SYS_MSDOS definition to revive DJGPP built.
PR: 1247

18 years agoMake bio.h resistant to gnu-ish __attribute__ redefenitions.
Andy Polyakov [Fri, 16 Dec 2005 21:21:41 +0000 (21:21 +0000)]
Make bio.h resistant to gnu-ish __attribute__ redefenitions.
PR: 1252

18 years agoFix typos in osf1 shared rules.
Andy Polyakov [Fri, 16 Dec 2005 20:51:03 +0000 (20:51 +0000)]
Fix typos in osf1 shared rules.
PR: 1248
Submitted by: Nikola Milutinovic

18 years agoUnify sparcv9 assembler naming and build rules among 32- and 64-bit builds.
Andy Polyakov [Fri, 16 Dec 2005 17:39:57 +0000 (17:39 +0000)]
Unify sparcv9 assembler naming and build rules among 32- and 64-bit builds.
Engage run-time switch between bn_mul_mont_fpu and bn_mul_mont_int.

18 years agoMake framework for Whirlpool assembler flexible.
Andy Polyakov [Fri, 16 Dec 2005 13:23:57 +0000 (13:23 +0000)]
Make framework for Whirlpool assembler flexible.

18 years agoEngage Whirlpool assembler and mention Whirlpool in CHANGES.
Andy Polyakov [Fri, 16 Dec 2005 12:55:33 +0000 (12:55 +0000)]
Engage Whirlpool assembler and mention Whirlpool in CHANGES.

18 years agoMake room for Whirlpool assembler in Configure.
Andy Polyakov [Fri, 16 Dec 2005 11:53:31 +0000 (11:53 +0000)]
Make room for Whirlpool assembler in Configure.

18 years agoAllow for warning-free passing of -Wl options on config command line. One
Andy Polyakov [Fri, 16 Dec 2005 11:29:19 +0000 (11:29 +0000)]
Allow for warning-free passing of -Wl options on config command line. One
possible usage is to pass -Wl,-z,-noexecstack on Linux to ensure the stack
is marked non-executable. Well, -Wa,--noexecstack works fine too...

18 years agoMention bn(64,64) to bn(64,32) switch on 64-bit SPARCv9 targets in CHANGES.
Andy Polyakov [Fri, 16 Dec 2005 11:12:42 +0000 (11:12 +0000)]
Mention bn(64,64) to bn(64,32) switch on 64-bit SPARCv9 targets in CHANGES.

18 years agoWe all make typos:-) Fix just introduced ones in bn.h
Andy Polyakov [Fri, 16 Dec 2005 10:43:33 +0000 (10:43 +0000)]
We all make typos:-) Fix just introduced ones in bn.h

18 years agoEliminate warning induced by http://cvs.openssl.org/chngview?cn=14690 and
Andy Polyakov [Fri, 16 Dec 2005 10:37:24 +0000 (10:37 +0000)]
Eliminate warning induced by cvs.openssl.org/chngview?cn=14690 and
keep disclaiming narrower than 32-bit support.

18 years agoTo exclude contention for shared FPU on T1, trade 3% of DES performance.
Andy Polyakov [Thu, 15 Dec 2005 22:55:16 +0000 (22:55 +0000)]
To exclude contention for shared FPU on T1, trade 3% of DES performance.

18 years agosparccpuid module update.
Andy Polyakov [Thu, 15 Dec 2005 22:50:36 +0000 (22:50 +0000)]
sparccpuid module update.

18 years agoAdd IALU-only bn_mul_mont for SPARCv9. See commentary section for details.
Andy Polyakov [Thu, 15 Dec 2005 22:43:33 +0000 (22:43 +0000)]
Add IALU-only bn_mul_mont for SPARCv9. See commentary section for details.

18 years agoSwitch 64-bit sparcv9 platforms from bn(64,64) to bn(64,32). This doesn't
Andy Polyakov [Thu, 15 Dec 2005 22:40:58 +0000 (22:40 +0000)]
Switch 64-bit sparcv9 platforms from bn(64,64) to bn(64,32). This doesn't
have impact on performance, because amount of multiplications does not
increase with this switch, not on sparcv9 that is. On the contrary, it
actually improves performance, because it spares a load of instructions
used to chase carries. Not to mention that BN assembler modules can be
shared more freely between 32- and 64-bit builts.

18 years agoAllow for bn(64,32) on LP64 platforms.
Andy Polyakov [Thu, 15 Dec 2005 22:31:16 +0000 (22:31 +0000)]
Allow for bn(64,32) on LP64 platforms.

18 years agoupdate TLS-ECC code
Bodo Möller [Tue, 13 Dec 2005 07:33:35 +0000 (07:33 +0000)]
update TLS-ECC code

Submitted by: Douglas Stebila

18 years agocomment
Bodo Möller [Tue, 13 Dec 2005 05:46:33 +0000 (05:46 +0000)]
comment

18 years agoMinor aes-sparcv9.pl optimization.
Andy Polyakov [Sat, 10 Dec 2005 12:32:22 +0000 (12:32 +0000)]
Minor aes-sparcv9.pl optimization.

18 years agoEngage AES for UltraSPARC in sparcv9 targets.
Andy Polyakov [Sat, 10 Dec 2005 11:24:07 +0000 (11:24 +0000)]
Engage AES for UltraSPARC in sparcv9 targets.

18 years agoRevoke the option to share AES S-boxes between C and assembler. It wastes
Andy Polyakov [Sat, 10 Dec 2005 11:22:57 +0000 (11:22 +0000)]
Revoke the option to share AES S-boxes between C and assembler. It wastes
space, but gives total flexibility [back].

18 years agoInitial draft for AES for UltraSPARC assembler.
Andy Polyakov [Sat, 10 Dec 2005 11:19:56 +0000 (11:19 +0000)]
Initial draft for AES for UltraSPARC assembler.

18 years agoSupport for indirect calls in x86 assembler modules.
Andy Polyakov [Tue, 6 Dec 2005 18:43:59 +0000 (18:43 +0000)]
Support for indirect calls in x86 assembler modules.

18 years agoAdd cpuid code to VC++ build.
Dr. Stephen Henson [Tue, 6 Dec 2005 16:35:40 +0000 (16:35 +0000)]
Add cpuid code to VC++ build.

18 years agoDon't include zlib header dir if it is not defined.
Dr. Stephen Henson [Tue, 6 Dec 2005 13:36:59 +0000 (13:36 +0000)]
Don't include zlib header dir if it is not defined.

18 years agoFix typos in wp-mmx.pl.
Andy Polyakov [Tue, 6 Dec 2005 09:34:09 +0000 (09:34 +0000)]
Fix typos in wp-mmx.pl.

18 years agoInitial attempt at Whirlpool assembler support on VC++.
Dr. Stephen Henson [Tue, 6 Dec 2005 02:04:58 +0000 (02:04 +0000)]
Initial attempt at Whirlpool assembler support on VC++.

18 years agoAvoid warnings on VC++ 2005.
Dr. Stephen Henson [Mon, 5 Dec 2005 17:21:22 +0000 (17:21 +0000)]
Avoid warnings on VC++ 2005.

18 years agoUpdate from 0.9.8-stable.
Dr. Stephen Henson [Mon, 5 Dec 2005 13:46:46 +0000 (13:46 +0000)]
Update from 0.9.8-stable.

18 years agoUpdate from stable branch.
Dr. Stephen Henson [Mon, 5 Dec 2005 00:53:36 +0000 (00:53 +0000)]
Update from stable branch.

18 years agoMake mk1mf.pl and friends recognize Whirlpool.
Dr. Stephen Henson [Mon, 5 Dec 2005 00:53:10 +0000 (00:53 +0000)]
Make mk1mf.pl and friends recognize Whirlpool.

19 years agoMake ZLIB without ZLIB_SHARED compiled again.
Dr. Stephen Henson [Sat, 3 Dec 2005 17:42:11 +0000 (17:42 +0000)]
Make ZLIB without ZLIB_SHARED compiled again.

19 years agoCouple other benchmark comparisons for wp-x86_64.pl.
Andy Polyakov [Sat, 3 Dec 2005 11:59:25 +0000 (11:59 +0000)]
Couple other benchmark comparisons for wp-x86_64.pl.

19 years agox86cpuid.pl update.
Andy Polyakov [Sat, 3 Dec 2005 11:56:55 +0000 (11:56 +0000)]
x86cpuid.pl update.

19 years agoOops...
Dr. Stephen Henson [Fri, 2 Dec 2005 14:06:35 +0000 (14:06 +0000)]
Oops...

19 years agoUpdate ordinals and include changes from 0.9.8.
Dr. Stephen Henson [Fri, 2 Dec 2005 13:59:00 +0000 (13:59 +0000)]
Update ordinals and include changes from 0.9.8.

19 years agoNew functions to support opaque EVP_CIPHER_CTX handling.
Dr. Stephen Henson [Fri, 2 Dec 2005 13:46:39 +0000 (13:46 +0000)]
New functions to support opaque EVP_CIPHER_CTX handling.

19 years agoAdd error checking to avoid crashing when zlib cannot be loaded.
Dr. Stephen Henson [Fri, 2 Dec 2005 13:27:19 +0000 (13:27 +0000)]
Add error checking to avoid crashing when zlib cannot be loaded.

19 years agoInclude EVP_whirlpool() prototype in evp.h
Dr. Stephen Henson [Fri, 2 Dec 2005 13:25:52 +0000 (13:25 +0000)]
Include EVP_whirlpool() prototype in evp.h

19 years agowq instead of wp? That's gotta be among the more amazing typos I've
Richard Levitte [Fri, 2 Dec 2005 09:30:25 +0000 (09:30 +0000)]
wq instead of wp?  That's gotta be among the more amazing typos I've
made...

19 years agoWhirlpool was added to EVP, so let's build it on VMS as well.
Richard Levitte [Thu, 1 Dec 2005 03:06:10 +0000 (03:06 +0000)]
Whirlpool was added to EVP, so let's build it on VMS as well.

19 years agoWhirlpool for x86_64.
Andy Polyakov [Wed, 30 Nov 2005 21:03:36 +0000 (21:03 +0000)]
Whirlpool for x86_64.

19 years agoMention Whirlpool in dgst -help.
Andy Polyakov [Wed, 30 Nov 2005 20:58:41 +0000 (20:58 +0000)]
Mention Whirlpool in dgst -help.

19 years agoAdd Whirlpool to EVP.
Andy Polyakov [Wed, 30 Nov 2005 20:57:23 +0000 (20:57 +0000)]
Add Whirlpool to EVP.

19 years agoAdapt Whirlpool API for EVP.
Andy Polyakov [Wed, 30 Nov 2005 20:53:14 +0000 (20:53 +0000)]
Adapt Whirlpool API for EVP.

19 years agoFix typos in wp-mmx.pl.
Andy Polyakov [Wed, 30 Nov 2005 20:52:27 +0000 (20:52 +0000)]
Fix typos in wp-mmx.pl.

19 years agoTypo
Dr. Stephen Henson [Wed, 30 Nov 2005 19:25:55 +0000 (19:25 +0000)]
Typo

19 years agoMake CA.pl script use CA extensions when creating a root CA.
Dr. Stephen Henson [Wed, 30 Nov 2005 18:31:36 +0000 (18:31 +0000)]
Make CA.pl script use CA extensions when creating a root CA.

19 years agoBuild Whirlpool on VMS as well
Richard Levitte [Tue, 29 Nov 2005 12:46:17 +0000 (12:46 +0000)]
Build Whirlpool on VMS as well

19 years agoAdd Whirlpool OID.
Andy Polyakov [Mon, 28 Nov 2005 20:51:46 +0000 (20:51 +0000)]
Add Whirlpool OID.

19 years agoRemove development leftover from whrlpool/asm/wp-mmx.pl.
Andy Polyakov [Mon, 28 Nov 2005 20:29:01 +0000 (20:29 +0000)]
Remove development leftover from whrlpool/asm/wp-mmx.pl.

19 years agoAdd missing Makefile and fix couple of typos in commentary.
Andy Polyakov [Mon, 28 Nov 2005 20:16:56 +0000 (20:16 +0000)]
Add missing Makefile and fix couple of typos in commentary.

19 years agoWhirlpool hash implementation. The fact that subdirectory and .h file are
Andy Polyakov [Mon, 28 Nov 2005 20:09:58 +0000 (20:09 +0000)]
Whirlpool hash implementation. The fact that subdirectory and .h file are
called whrlpool is not a typo, but a way to keep the names shorter than
8 characters. Remaining TODO list comprises adding OID, EVP, corresponding
flag to apps/openssl dgst, benchmark, engage assembler...

19 years agoWhen using POSIXly functions, we need to define _POSIX_C_SOURCE, at
Richard Levitte [Sun, 27 Nov 2005 15:32:57 +0000 (15:32 +0000)]
When using POSIXly functions, we need to define _POSIX_C_SOURCE, at
least when the source is compiled with ANSI settings.

19 years agoExtensive OID code enhancement and fixes.
Dr. Stephen Henson [Sun, 20 Nov 2005 13:07:47 +0000 (13:07 +0000)]
Extensive OID code enhancement and fixes.

19 years agoSynchronise with the Unix build.
Richard Levitte [Sat, 19 Nov 2005 07:57:53 +0000 (07:57 +0000)]
Synchronise with the Unix build.

19 years agodeFUDify: don't require OPENSSL_EC_BIN_PT_COMP
Bodo Möller [Wed, 16 Nov 2005 04:07:43 +0000 (04:07 +0000)]
deFUDify: don't require OPENSSL_EC_BIN_PT_COMP

19 years agodisable some invalid ciphersuites
Bodo Möller [Tue, 15 Nov 2005 23:32:11 +0000 (23:32 +0000)]
disable some invalid ciphersuites

19 years agodeFUDify: don't require OPENSSL_EC_BIN_PT_COMP
Bodo Möller [Tue, 15 Nov 2005 21:08:38 +0000 (21:08 +0000)]
deFUDify: don't require OPENSSL_EC_BIN_PT_COMP

19 years agoKeep shutting up VC8.
Andy Polyakov [Tue, 15 Nov 2005 08:07:25 +0000 (08:07 +0000)]
Keep shutting up VC8.
PR: 1243

19 years agoApply "better safe than sorry" approach after addressing sporadic SEGV in
Andy Polyakov [Tue, 15 Nov 2005 08:02:10 +0000 (08:02 +0000)]
Apply "better safe than sorry" approach after addressing sporadic SEGV in
bn_sub_words to the rest of the sparcv8plus.S.

19 years agoAttempt to resolve sporadic SEGV crashes in bn_sub_words in OpenSSH. I'm
Andy Polyakov [Fri, 11 Nov 2005 20:07:07 +0000 (20:07 +0000)]
Attempt to resolve sporadic SEGV crashes in bn_sub_words in OpenSSH. I'm
baffled why it crashes and does it sporadically...

19 years agoUpdate from stable branch.
Dr. Stephen Henson [Fri, 11 Nov 2005 13:00:07 +0000 (13:00 +0000)]
Update from stable branch.

19 years agoThrow in comment so that one doesn't get tempted to optimize it away.
Andy Polyakov [Wed, 9 Nov 2005 20:46:37 +0000 (20:46 +0000)]
Throw in comment so that one doesn't get tempted to optimize it away.

19 years agoAvoid end-less loop when libcrypto.a is manually deleted, but 'make clean'
Andy Polyakov [Wed, 9 Nov 2005 20:41:21 +0000 (20:41 +0000)]
Avoid end-less loop when libcrypto.a is manually deleted, but 'make clean'
was not executed. It doesn't excuse user from running 'make clean', it
simply avoids process table exhaustion.
PR: 1236
Submitted by: Michael Richardson

19 years agoMention PROBLEMS in FAQ.
Andy Polyakov [Wed, 9 Nov 2005 19:43:40 +0000 (19:43 +0000)]
Mention PROBLEMS in FAQ.

19 years agoAIX -blibpath is not accumulative, one apparently has to specify even
Andy Polyakov [Wed, 9 Nov 2005 17:27:19 +0000 (17:27 +0000)]
AIX -blibpath is not accumulative, one apparently has to specify even
self-obvious /usr/lib:/lib.
PR: 1239

19 years agoMinor perlasm clean-up.
Andy Polyakov [Wed, 9 Nov 2005 17:20:26 +0000 (17:20 +0000)]
Minor perlasm clean-up.

19 years agoTidying up WinCE support.
Andy Polyakov [Wed, 9 Nov 2005 17:19:38 +0000 (17:19 +0000)]
Tidying up WinCE support.

19 years agoImprove cross-compiler portability of applink.c module and mention
Andy Polyakov [Wed, 9 Nov 2005 17:11:03 +0000 (17:11 +0000)]
Improve cross-compiler portability of applink.c module and mention
CRYPTO_malloc_init in FAQ.