oweals/openssl.git
19 years agoSynchronise with Unix changes.
Richard Levitte [Sat, 27 Aug 2005 04:31:57 +0000 (04:31 +0000)]
Synchronise with Unix changes.

19 years agoKeep cipher lists sorted in the source instead of sorting them at
Nils Larsch [Thu, 25 Aug 2005 07:29:54 +0000 (07:29 +0000)]
Keep cipher lists sorted in the source instead of sorting them at
runtime, thus removing the need for a lock. Add a test to ssltest
to verify that the cipher lists are sorted.

19 years agoGenerate primes, too.
Ben Laurie [Tue, 23 Aug 2005 13:48:17 +0000 (13:48 +0000)]
Generate primes, too.

19 years agorecent DH change does not avoid *all* possible small-subgroup attacks;
Bodo Möller [Tue, 23 Aug 2005 06:54:33 +0000 (06:54 +0000)]
recent DH change does not avoid *all* possible small-subgroup attacks;
let's be clear about that

19 years agoavoid potential spurious BN_free()
Bodo Möller [Tue, 23 Aug 2005 04:14:40 +0000 (04:14 +0000)]
avoid potential spurious BN_free()

Submitted by: David Heine <dlheine@suif.Stanford.EDU>

19 years agoinitialize cipher/digest methods table in SSL_library_init() and hence remove the...
Nils Larsch [Sun, 21 Aug 2005 23:06:23 +0000 (23:06 +0000)]
initialize cipher/digest methods table in SSL_library_init() and hence remove the need for a lock

19 years agoadd missing file
Nils Larsch [Sun, 21 Aug 2005 23:02:05 +0000 (23:02 +0000)]
add missing file

19 years agoMake D-H safer, include well-known primes.
Ben Laurie [Sun, 21 Aug 2005 16:00:17 +0000 (16:00 +0000)]
Make D-H safer, include well-known primes.

19 years agoFix warning.
Ben Laurie [Sun, 21 Aug 2005 15:59:10 +0000 (15:59 +0000)]
Fix warning.

19 years agoUse correct date and filename.
Dr. Stephen Henson [Sun, 21 Aug 2005 12:25:52 +0000 (12:25 +0000)]
Use correct date and filename.

19 years agoCommand line support for RSAPublicKey format.
Dr. Stephen Henson [Sun, 21 Aug 2005 00:18:26 +0000 (00:18 +0000)]
Command line support for RSAPublicKey format.

19 years agoDelete old ASN1_METHOD files.
Dr. Stephen Henson [Sat, 20 Aug 2005 19:48:58 +0000 (19:48 +0000)]
Delete old ASN1_METHOD files.

19 years agoAdd file which includes new ASN1 NETSCAPE format for certificates.
Dr. Stephen Henson [Sat, 20 Aug 2005 19:46:52 +0000 (19:46 +0000)]
Add file which includes new ASN1 NETSCAPE format for certificates.

19 years agoUpdate from stable branch.
Dr. Stephen Henson [Sat, 20 Aug 2005 19:34:49 +0000 (19:34 +0000)]
Update from stable branch.

19 years agoRemove ASN1_METHOD code replace with new ASN1 alternative.
Dr. Stephen Henson [Sat, 20 Aug 2005 18:12:45 +0000 (18:12 +0000)]
Remove ASN1_METHOD code replace with new ASN1 alternative.

19 years agoNew version of ASN1 print code, still not compiled in though.
Dr. Stephen Henson [Sat, 20 Aug 2005 00:08:29 +0000 (00:08 +0000)]
New version of ASN1 print code, still not compiled in though.

19 years agoLet the TLSv1_method() etc. functions return a const SSL_METHOD
Nils Larsch [Sun, 14 Aug 2005 21:48:33 +0000 (21:48 +0000)]
Let the TLSv1_method() etc. functions return a const SSL_METHOD
pointer and make the SSL_METHOD parameter in SSL_CTX_new,
SSL_CTX_set_ssl_version and SSL_set_ssl_method const.

19 years agoEliminate reference to removed platform line.
Andy Polyakov [Thu, 11 Aug 2005 09:38:59 +0000 (09:38 +0000)]
Eliminate reference to removed platform line.

19 years agoPedantic polish to WCE-specific #if clause in ectest.c
Andy Polyakov [Thu, 11 Aug 2005 08:42:46 +0000 (08:42 +0000)]
Pedantic polish to WCE-specific #if clause in ectest.c

19 years agoFix typo in WCE section in VC-32.pl
Andy Polyakov [Thu, 11 Aug 2005 08:18:42 +0000 (08:18 +0000)]
Fix typo in WCE section in VC-32.pl

19 years agoMention wcecompat update INSTALL.WCE.
Andy Polyakov [Wed, 10 Aug 2005 08:39:10 +0000 (08:39 +0000)]
Mention wcecompat update INSTALL.WCE.

19 years agoFix Intel assembler warnings.
Andy Polyakov [Wed, 10 Aug 2005 08:28:36 +0000 (08:28 +0000)]
Fix Intel assembler warnings.

19 years agoSuppress "deprecated" warnings introduced in VC8.
Andy Polyakov [Tue, 9 Aug 2005 22:44:54 +0000 (22:44 +0000)]
Suppress "deprecated" warnings introduced in VC8.

19 years agoAdd support for more recent WCE SDK.
Andy Polyakov [Tue, 9 Aug 2005 22:19:35 +0000 (22:19 +0000)]
Add support for more recent WCE SDK.

19 years agoa ssl object needs it's own instance of a ecdh key; remove obsolete comment
Nils Larsch [Mon, 8 Aug 2005 20:02:18 +0000 (20:02 +0000)]
a ssl object needs it's own instance of a ecdh key; remove obsolete comment

19 years agoremove unused internal foo_base_method functions
Nils Larsch [Mon, 8 Aug 2005 19:04:37 +0000 (19:04 +0000)]
remove unused internal foo_base_method functions

19 years agoFinal(?) WinCE update.
Andy Polyakov [Sun, 7 Aug 2005 22:21:49 +0000 (22:21 +0000)]
Final(?) WinCE update.

19 years agoavoid infinite recursion if dynamic engine isn't loaded
Nils Larsch [Sat, 6 Aug 2005 10:46:19 +0000 (10:46 +0000)]
avoid infinite recursion if dynamic engine isn't loaded

Submitted by: Jonathon Green <jonathon_au@yahoo.com>

19 years agoInitialize SSL_METHOD structures at compile time. This removes the need
Dr. Stephen Henson [Fri, 5 Aug 2005 23:56:11 +0000 (23:56 +0000)]
Initialize SSL_METHOD structures at compile time. This removes the need
for locking code. The CRYPTO_LOCK_SSL_METHOD lock is now no longer used.

19 years agofix potential memory leak + improved error checking
Nils Larsch [Fri, 5 Aug 2005 09:42:45 +0000 (09:42 +0000)]
fix potential memory leak + improved error checking

PR: 1182

19 years agoAllow PKCS7_decrypt() to work if no cert supplied.
Dr. Stephen Henson [Thu, 4 Aug 2005 22:15:22 +0000 (22:15 +0000)]
Allow PKCS7_decrypt() to work if no cert supplied.

19 years ago3-4 times better RSA/DSA performance on WIN64A target. Well, on AMD64 CPU,
Andy Polyakov [Thu, 4 Aug 2005 17:35:42 +0000 (17:35 +0000)]
3-4 times better RSA/DSA performance on WIN64A target. Well, on AMD64 CPU,
EMT64T will hardly exhibit better performance...

19 years agoWCE update, mostly typos.
Andy Polyakov [Wed, 3 Aug 2005 19:56:36 +0000 (19:56 +0000)]
WCE update, mostly typos.

19 years agoPIC-ify SPARC assembler in alternative manner to eliminate dependency on
Andy Polyakov [Wed, 3 Aug 2005 10:42:21 +0000 (10:42 +0000)]
PIC-ify SPARC assembler in alternative manner to eliminate dependency on
OPENSSL_PIC macro.

19 years agoAbstain from GUI calls in rand_win.c in NT service context.
Andy Polyakov [Tue, 2 Aug 2005 22:09:14 +0000 (22:09 +0000)]
Abstain from GUI calls in rand_win.c in NT service context.

19 years agoWCE-specific update for VC-32.pl.
Andy Polyakov [Tue, 2 Aug 2005 22:08:03 +0000 (22:08 +0000)]
WCE-specific update for VC-32.pl.

19 years agoWCE-specific fix for cryptlib.c.
Andy Polyakov [Tue, 2 Aug 2005 22:07:28 +0000 (22:07 +0000)]
WCE-specific fix for cryptlib.c.

19 years agoKeep disclaiming 16-bit support.
Andy Polyakov [Tue, 2 Aug 2005 22:04:11 +0000 (22:04 +0000)]
Keep disclaiming 16-bit support.

19 years agoOptimize for space on embedded WCE.
Andy Polyakov [Tue, 2 Aug 2005 14:09:44 +0000 (14:09 +0000)]
Optimize for space on embedded WCE.

19 years agoStick to -DWCE_PLATFORM_$wceplatf, as that's what is apparently set by
Andy Polyakov [Tue, 2 Aug 2005 12:21:18 +0000 (12:21 +0000)]
Stick to -DWCE_PLATFORM_$wceplatf, as that's what is apparently set by
Visual Studio IDE.

19 years agoEliminate bogus #if WCEPLATFORM!=MS_HPC_PRO [which by the way unconditionally
Andy Polyakov [Tue, 2 Aug 2005 11:58:39 +0000 (11:58 +0000)]
Eliminate bogus #if WCEPLATFORM!=MS_HPC_PRO [which by the way unconditionally
invalidated the whole clause] and replace it with #if _WIN32_WCE>=210.

19 years agoType in OSF1 platform name.
Andy Polyakov [Tue, 2 Aug 2005 10:56:10 +0000 (10:56 +0000)]
Type in OSF1 platform name.

19 years agoImplement complementary LoadLibraryA shim under WCE.
Andy Polyakov [Tue, 2 Aug 2005 10:55:43 +0000 (10:55 +0000)]
Implement complementary LoadLibraryA shim under WCE.

19 years agoEliminate dependency on 3rd party wcedefs.mak.
Andy Polyakov [Sat, 30 Jul 2005 19:43:56 +0000 (19:43 +0000)]
Eliminate dependency on 3rd party wcedefs.mak.

19 years agoFix #if _MSC_VER clause in aes_locl.h
Andy Polyakov [Sat, 30 Jul 2005 19:42:50 +0000 (19:42 +0000)]
Fix #if _MSC_VER clause in aes_locl.h

19 years agoadd comment
Nils Larsch [Fri, 29 Jul 2005 19:46:42 +0000 (19:46 +0000)]
add comment

19 years agoremove unused variable
Nils Larsch [Wed, 27 Jul 2005 20:20:53 +0000 (20:20 +0000)]
remove unused variable

19 years agoimproved error checking and some fixes
Nils Larsch [Tue, 26 Jul 2005 21:10:34 +0000 (21:10 +0000)]
improved error checking and some fixes

PR: 1170
Submitted by: Yair Elharrar
Reviewed and edited by: Nils Larsch

19 years agoHandle case where it==NULL
Dr. Stephen Henson [Tue, 26 Jul 2005 12:25:06 +0000 (12:25 +0000)]
Handle case where it==NULL

19 years agoUpdate ASN1 printing code. Highly experimental, not working properly (neither
Dr. Stephen Henson [Tue, 26 Jul 2005 11:46:23 +0000 (11:46 +0000)]
Update ASN1 printing code. Highly experimental, not working properly (neither
did the old code) and not compiled in yet...

19 years agoAdd declaration for IDP ASN1 functions.
Dr. Stephen Henson [Tue, 26 Jul 2005 11:43:11 +0000 (11:43 +0000)]
Add declaration for IDP ASN1 functions.

19 years agobytes_to_long_long isn't used anywhere any more, so let's remove it
Richard Levitte [Tue, 26 Jul 2005 05:10:50 +0000 (05:10 +0000)]
bytes_to_long_long isn't used anywhere any more, so let's remove it
entirely.

19 years agoI'm reversing this change, as it seems the error is somewhere else.
Richard Levitte [Tue, 26 Jul 2005 04:53:21 +0000 (04:53 +0000)]
I'm reversing this change, as it seems the error is somewhere else.

19 years agoSilence two more generated files.
Geoff Thorpe [Tue, 26 Jul 2005 04:52:52 +0000 (04:52 +0000)]
Silence two more generated files.

19 years agoadd a .cvsignore
Geoff Thorpe [Tue, 26 Jul 2005 04:50:36 +0000 (04:50 +0000)]
add a .cvsignore

19 years ago"make update"
Geoff Thorpe [Tue, 26 Jul 2005 04:48:54 +0000 (04:48 +0000)]
"make update"

19 years agoChange my debug build for amd64.
Geoff Thorpe [Tue, 26 Jul 2005 04:47:50 +0000 (04:47 +0000)]
Change my debug build for amd64.

19 years agoFix compilation when HAVE_LONG_LONG isn't defined.
Geoff Thorpe [Tue, 26 Jul 2005 04:43:31 +0000 (04:43 +0000)]
Fix compilation when HAVE_LONG_LONG isn't defined.

19 years agoFix signed/unsigned warnings.
Geoff Thorpe [Tue, 26 Jul 2005 04:25:05 +0000 (04:25 +0000)]
Fix signed/unsigned warnings.

19 years agoFix PEDANTIC compilation, using the same trick as elsewhere.
Geoff Thorpe [Tue, 26 Jul 2005 04:05:03 +0000 (04:05 +0000)]
Fix PEDANTIC compilation, using the same trick as elsewhere.

19 years agoFix 64-bit compilation when PQ_64BIT_IS_INTEGER isn't defined.
Geoff Thorpe [Tue, 26 Jul 2005 04:01:50 +0000 (04:01 +0000)]
Fix 64-bit compilation when PQ_64BIT_IS_INTEGER isn't defined.

19 years agofix BN_mod_word and give a more reasonable return value if an error occurred
Nils Larsch [Mon, 25 Jul 2005 22:57:54 +0000 (22:57 +0000)]
fix BN_mod_word and give a more reasonable return value if an error occurred

19 years agoAdd support for setting IDP too.
Dr. Stephen Henson [Mon, 25 Jul 2005 22:35:36 +0000 (22:35 +0000)]
Add support for setting IDP too.

19 years agoDon't use @syntax for extended CRLDP format.
Dr. Stephen Henson [Mon, 25 Jul 2005 18:55:40 +0000 (18:55 +0000)]
Don't use @syntax for extended CRLDP format.

19 years agoAllow setting of all fields in CRLDP. Few cosmetic changes to output.
Dr. Stephen Henson [Mon, 25 Jul 2005 18:42:29 +0000 (18:42 +0000)]
Allow setting of all fields in CRLDP. Few cosmetic changes to output.

19 years agoTypo which prevents mult valued RDNs being created.
Dr. Stephen Henson [Mon, 25 Jul 2005 18:39:44 +0000 (18:39 +0000)]
Typo which prevents mult valued RDNs being created.

19 years agoCommentary section update in sha512-x86_64.pl.
Andy Polyakov [Mon, 25 Jul 2005 13:29:42 +0000 (13:29 +0000)]
Commentary section update in sha512-x86_64.pl.

19 years agoUnify VC-32.pl and VC-CE.pl scripts and update INSTALL.W32.
Andy Polyakov [Sun, 24 Jul 2005 21:48:04 +0000 (21:48 +0000)]
Unify VC-32.pl and VC-CE.pl scripts and update INSTALL.W32.

19 years agoPull up mkdef.pl from 0.9.8.
Andy Polyakov [Sun, 24 Jul 2005 21:45:45 +0000 (21:45 +0000)]
Pull up mkdef.pl from 0.9.8.

19 years agoEliminate gcc warning in dso_win32.c.
Andy Polyakov [Sun, 24 Jul 2005 21:45:08 +0000 (21:45 +0000)]
Eliminate gcc warning in dso_win32.c.

19 years agoEngage SHA-256/-512 x86_64 assembler module.
Andy Polyakov [Sun, 24 Jul 2005 12:30:26 +0000 (12:30 +0000)]
Engage SHA-256/-512 x86_64 assembler module.

19 years agoSHA-256/-512 x86_64 assembler module.
Andy Polyakov [Sun, 24 Jul 2005 12:28:04 +0000 (12:28 +0000)]
SHA-256/-512 x86_64 assembler module.

19 years agoPrint out previously unsupported fields in CRLDP by i2r instead of i2v.
Dr. Stephen Henson [Sun, 24 Jul 2005 00:23:57 +0000 (00:23 +0000)]
Print out previously unsupported fields in CRLDP by i2r instead of i2v.

Cosmetic changes to IDP printout.

19 years agoInitial print only support for IDP CRL extension.
Dr. Stephen Henson [Sat, 23 Jul 2005 23:33:06 +0000 (23:33 +0000)]
Initial print only support for IDP CRL extension.

19 years agoFix some signed/unsigned warnings.
Geoff Thorpe [Fri, 22 Jul 2005 03:36:30 +0000 (03:36 +0000)]
Fix some signed/unsigned warnings.

19 years agoset correct bn->top value
Nils Larsch [Thu, 21 Jul 2005 22:40:39 +0000 (22:40 +0000)]
set correct bn->top value

19 years agothe final byte of a pkcs7 padded plaintext can never be 0
Nils Larsch [Wed, 20 Jul 2005 22:03:36 +0000 (22:03 +0000)]
the final byte of a pkcs7 padded plaintext can never be 0

Submitted by: K S Sreeram <sreeram@tachyontech.net>

19 years agoPedantic polish to aes-ia64 and sha512-ia64.
Andy Polyakov [Wed, 20 Jul 2005 15:15:22 +0000 (15:15 +0000)]
Pedantic polish to aes-ia64 and sha512-ia64.

19 years agoPedantic polish to md5-ia64.S.
Andy Polyakov [Wed, 20 Jul 2005 12:24:04 +0000 (12:24 +0000)]
Pedantic polish to md5-ia64.S.

19 years agoSyncronize BSD-ia64 with other IA64-based platforms.
Andy Polyakov [Wed, 20 Jul 2005 12:10:41 +0000 (12:10 +0000)]
Syncronize BSD-ia64 with other IA64-based platforms.

19 years agoPedantic polish to rc4-ia64.pl.
Andy Polyakov [Wed, 20 Jul 2005 11:47:47 +0000 (11:47 +0000)]
Pedantic polish to rc4-ia64.pl.

19 years agoTypo in version number.
Andy Polyakov [Wed, 20 Jul 2005 11:11:14 +0000 (11:11 +0000)]
Typo in version number.

19 years agoPerl stylistic/cosmetic update for aes-x86_64.pl.
Andy Polyakov [Wed, 20 Jul 2005 11:09:02 +0000 (11:09 +0000)]
Perl stylistic/cosmetic update for aes-x86_64.pl.

19 years agoFix bug [SHA1 IA-64 being disabled] introduced with Stratus VOS update.
Andy Polyakov [Tue, 19 Jul 2005 23:04:57 +0000 (23:04 +0000)]
Fix bug [SHA1 IA-64 being disabled] introduced with Stratus VOS update.
PR: 1130

19 years agoEngage MD5 assembler module.
Andy Polyakov [Tue, 19 Jul 2005 22:37:57 +0000 (22:37 +0000)]
Engage MD5 assembler module.

19 years agoThis update gets endianness-neutrality right and adds second required
Andy Polyakov [Tue, 19 Jul 2005 22:33:03 +0000 (22:33 +0000)]
This update gets endianness-neutrality right and adds second required
entry point, md5_block_asm_data_order.

19 years agoMD5 IA-64 assembler implementation. Original copy for reference purposes.
Andy Polyakov [Tue, 19 Jul 2005 22:27:02 +0000 (22:27 +0000)]
MD5 IA-64 assembler implementation. Original copy for reference purposes.

Submitted by: David Mosberger

Obtained from: http://www.hpl.hp.com/research/linux/crypto/

19 years agoRetire original rc4-ia64.S.
Andy Polyakov [Mon, 18 Jul 2005 18:59:21 +0000 (18:59 +0000)]
Retire original rc4-ia64.S.

19 years agoSwitch to new RC4 IA-64 module.
Andy Polyakov [Mon, 18 Jul 2005 18:56:16 +0000 (18:56 +0000)]
Switch to new RC4 IA-64 module.

19 years agoThis update implements following improvements.
Andy Polyakov [Mon, 18 Jul 2005 17:11:13 +0000 (17:11 +0000)]
This update implements following improvements.

1. Original submission required minor modification to RC4_set_key, which
   we don't want to tolerate and therefore we fix assembler instead.
2. Eliminate remaining byte-order dependence [look for RC4_BIG_ENDIAN].
3. Eliminate logical error [when key->x is referred prior key is verified].
4. HP-UX assembler puked on MODSCHED_RC4 macro with "syntax error,"
   macro has to be splitted in two.
5. Deploy parallel compare in function prologue.
6. Eliminate redundant instuctions and nops.
7. Eliminate assembler warnings.

19 years agoUnrolled RC4 IA-64 loop gives 40% improvement over current assembler
Andy Polyakov [Mon, 18 Jul 2005 16:55:52 +0000 (16:55 +0000)]
Unrolled RC4 IA-64 loop gives 40% improvement over current assembler
implementation [as predicted].

Submitted by: David Mosberger

Obtained from: http://www.hpl.hp.com/research/linux/crypto/

19 years agoFix unwind directives in IA-64 assembler modules. This helps symbolic
Andy Polyakov [Mon, 18 Jul 2005 09:54:14 +0000 (09:54 +0000)]
Fix unwind directives in IA-64 assembler modules. This helps symbolic
debugging and doesn't affect functionality.

Submitted by: David Mosberger

Obtained from: http://www.hpl.hp.com/research/linux/crypto/

19 years ago~15% better AES x86_64 assembler.
Andy Polyakov [Mon, 18 Jul 2005 09:15:04 +0000 (09:15 +0000)]
~15% better AES x86_64 assembler.

19 years agofix typo
Nils Larsch [Sun, 17 Jul 2005 21:04:19 +0000 (21:04 +0000)]
fix typo

19 years agobugfix: 0 - w (w != 0) is actually negative
Nils Larsch [Sun, 17 Jul 2005 16:09:09 +0000 (16:09 +0000)]
bugfix: 0 - w (w != 0) is actually negative

19 years agomake
Nils Larsch [Sat, 16 Jul 2005 12:37:36 +0000 (12:37 +0000)]
make
     ./configure no-deprecated [no-dsa] [no-dh] [no-ec] [no-rsa]
     make depend all test
work again

PR: 1159

19 years agoadd missing entries for "-multivalue-rdn" and "-utf8" in ca.pod and req.pod
Nils Larsch [Fri, 15 Jul 2005 09:49:03 +0000 (09:49 +0000)]
add missing entries for "-multivalue-rdn" and "-utf8" in ca.pod and req.pod

PR: 1158
Submitted by: Michael Bell <michael.bell@cms.hu-berlin.de>

19 years agoCommentary section update.
Andy Polyakov [Thu, 14 Jul 2005 13:16:31 +0000 (13:16 +0000)]
Commentary section update.

19 years agothe second argument of d2i_X509, d2i_X509_CRL and d2i_X509_REQ is const
Nils Larsch [Wed, 13 Jul 2005 22:01:33 +0000 (22:01 +0000)]
the second argument of d2i_X509, d2i_X509_CRL and d2i_X509_REQ is const

PR: 1156
Submitted by: Michael Bell <michael.bell@cms.hu-berlin.de>

19 years agocomplementary x86_64-xlate.pl update.
Andy Polyakov [Tue, 12 Jul 2005 22:11:22 +0000 (22:11 +0000)]
complementary x86_64-xlate.pl update.