openssl.git
18 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

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

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

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

18 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

18 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

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

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

18 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

18 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

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

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

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

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

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

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

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

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

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

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

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

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

18 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

18 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

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

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

18 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/

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

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

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

18 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/

18 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/

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

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

18 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

18 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

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

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

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

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

18 years agoAES x86_64 assembler implementation.
Andy Polyakov [Tue, 12 Jul 2005 15:44:58 +0000 (15:44 +0000)]
AES x86_64 assembler implementation.

18 years agoLatest Intel compiler means every word in "if copying [with memcpy] takes
Andy Polyakov [Fri, 8 Jul 2005 16:46:22 +0000 (16:46 +0000)]
Latest Intel compiler means every word in "if copying [with memcpy] takes
place between objects that overlap, the behavior is undefined." It's hard
to comprehend, but it reportedly manages to be case.

18 years agoOn case insensitive systems, 'install' gets mixed up with the existing file
Richard Levitte [Fri, 8 Jul 2005 10:13:22 +0000 (10:13 +0000)]
On case insensitive systems, 'install' gets mixed up with the existing file
'INSTALL', so we need to put some force into installing

18 years agoChanges from the 0.9.8 branch.
Richard Levitte [Tue, 5 Jul 2005 19:16:24 +0000 (19:16 +0000)]
Changes from the 0.9.8 branch.

18 years agoChanges from the 0.9.8 branch.
Richard Levitte [Tue, 5 Jul 2005 18:36:42 +0000 (18:36 +0000)]
Changes from the 0.9.8 branch.

18 years agoCHANGES and TABLE sync with 0.9.8.
Andy Polyakov [Tue, 5 Jul 2005 11:48:38 +0000 (11:48 +0000)]
CHANGES and TABLE sync with 0.9.8.

18 years agoPull up Win64 support from 0.9.8.
Andy Polyakov [Tue, 5 Jul 2005 11:44:45 +0000 (11:44 +0000)]
Pull up Win64 support from 0.9.8.

18 years agoAdd libcrypto.pc and libssl.pc, and install them along with openssl.pc.
Richard Levitte [Tue, 5 Jul 2005 05:14:17 +0000 (05:14 +0000)]
Add libcrypto.pc and libssl.pc, and install them along with openssl.pc.

PR: 1143

18 years agoUpdate from stable branch.
Dr. Stephen Henson [Mon, 4 Jul 2005 23:12:04 +0000 (23:12 +0000)]
Update from stable branch.

18 years agoThe private key should never have ended up in newreq.pem.
Richard Levitte [Mon, 4 Jul 2005 21:44:16 +0000 (21:44 +0000)]
The private key should never have ended up in newreq.pem.
Now, it ends up in newkey.pem instead.

18 years agoFix bugs in bug-fix to x509/by_dir.c.
Andy Polyakov [Sun, 3 Jul 2005 13:10:45 +0000 (13:10 +0000)]
Fix bugs in bug-fix to x509/by_dir.c.
PR: 1131

18 years agoTrap condition should be 64-bit when it's due.
Andy Polyakov [Sun, 3 Jul 2005 09:17:50 +0000 (09:17 +0000)]
Trap condition should be 64-bit when it's due.

18 years agoMore elegant solution to "sparse decimal printout on PPC" problem.
Andy Polyakov [Sat, 2 Jul 2005 08:58:55 +0000 (08:58 +0000)]
More elegant solution to "sparse decimal printout on PPC" problem.

18 years agoDecimal printout of a BN is wrong on PPC, it's sparse with very few
Andy Polyakov [Fri, 1 Jul 2005 17:49:47 +0000 (17:49 +0000)]
Decimal printout of a BN is wrong on PPC, it's sparse with very few
significant digits. As soon it verifies elsewhere it goes to 0.9.8 and
0.9.7.

18 years agoinitialize newly allocated data
Nils Larsch [Fri, 1 Jul 2005 16:08:14 +0000 (16:08 +0000)]
initialize newly allocated data

PR: 1145

18 years agoPedantic polish to aes-586.pl:-)
Andy Polyakov [Fri, 1 Jul 2005 10:13:30 +0000 (10:13 +0000)]
Pedantic polish to aes-586.pl:-)

18 years agoTypos in commentary section.
Andy Polyakov [Thu, 30 Jun 2005 22:09:03 +0000 (22:09 +0000)]
Typos in commentary section.

18 years agoAES_cbc_encrypt to allow end-user to retain small blocks performance by
Andy Polyakov [Thu, 30 Jun 2005 22:06:35 +0000 (22:06 +0000)]
AES_cbc_encrypt to allow end-user to retain small blocks performance by
aligning the key schedule in a specific manner.

18 years agoCheck PKCS7 structures in PKCS#12 files are of type data.
Dr. Stephen Henson [Thu, 30 Jun 2005 11:34:58 +0000 (11:34 +0000)]
Check PKCS7 structures in PKCS#12 files are of type data.

18 years agoActually, the 64bit format specifier differs between SIXTY_FOUR_BIT and
Richard Levitte [Wed, 29 Jun 2005 18:48:08 +0000 (18:48 +0000)]
Actually, the 64bit format specifier differs between SIXTY_FOUR_BIT and
SIXTY_FOUR_BIT_LONG

18 years agoBrought forward from 0.9.8 - 64 bit warning fixes and fussy compiler fixes.
Ben Laurie [Wed, 29 Jun 2005 11:02:15 +0000 (11:02 +0000)]
Brought forward from 0.9.8 - 64 bit warning fixes and fussy compiler fixes.

18 years agoFix warnings.
Ben Laurie [Wed, 29 Jun 2005 10:25:06 +0000 (10:25 +0000)]
Fix warnings.

18 years agoasn1parse doesn't support any TXT format, so let's stop pretending
Richard Levitte [Tue, 28 Jun 2005 15:44:11 +0000 (15:44 +0000)]
asn1parse doesn't support any TXT format, so let's stop pretending
it does.

18 years agoremove OPENSSL_NO_ASM dependency
Nils Larsch [Tue, 28 Jun 2005 15:05:02 +0000 (15:05 +0000)]
remove OPENSSL_NO_ASM dependency

18 years agoReplace _int64 with __int64, which is more widely accepted among Win32
Andy Polyakov [Tue, 28 Jun 2005 11:50:50 +0000 (11:50 +0000)]
Replace _int64 with __int64, which is more widely accepted among Win32
compiler vendors.