oweals/openssl.git
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.

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

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

19 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

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

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

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

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

19 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

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

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

19 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

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

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

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

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

PR: 1145

19 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:-)

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

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

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

19 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

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

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

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

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

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

19 years agoA report suggests that there're nasm version, which defaults to 16-bit
Andy Polyakov [Tue, 28 Jun 2005 11:28:43 +0000 (11:28 +0000)]
A report suggests that there're nasm version, which defaults to 16-bit
segmenting...

19 years agoMention hpux64-ia64-cc blowfish failure in PROBLEMS.
Andy Polyakov [Tue, 28 Jun 2005 09:57:04 +0000 (09:57 +0000)]
Mention hpux64-ia64-cc blowfish failure in PROBLEMS.

19 years agoThere are a few showstoppers. Unfortunately, I only remember one. Please fill this in.
Richard Levitte [Tue, 28 Jun 2005 05:55:22 +0000 (05:55 +0000)]
There are a few showstoppers.  Unfortunately, I only remember one.  Please fill this in.

19 years agoEliminate dependency on UNICODE macro.
Andy Polyakov [Mon, 27 Jun 2005 21:27:23 +0000 (21:27 +0000)]
Eliminate dependency on UNICODE macro.

19 years agoFix typos in apps/apps.c
Andy Polyakov [Mon, 27 Jun 2005 15:56:53 +0000 (15:56 +0000)]
Fix typos in apps/apps.c

19 years agoSync libeay.num
Dr. Stephen Henson [Mon, 27 Jun 2005 00:45:38 +0000 (00:45 +0000)]
Sync libeay.num

19 years agoUnify some SCO targets.
Andy Polyakov [Sun, 26 Jun 2005 18:06:38 +0000 (18:06 +0000)]
Unify some SCO targets.

19 years agoMinor (final?) Makefiles polish.
Andy Polyakov [Sun, 26 Jun 2005 17:47:44 +0000 (17:47 +0000)]
Minor (final?) Makefiles polish.

19 years agoMinimum requirement for Solaris x86 was always Pentium. Reflect this in
Andy Polyakov [Sun, 26 Jun 2005 17:17:11 +0000 (17:17 +0000)]
Minimum requirement for Solaris x86 was always Pentium. Reflect this in
Configure line. TABLE update accomodates other recent ./Configure changes...

19 years agoOmit padding in RC4_KEY on IA-64. The idea behind padding was to reserve
Andy Polyakov [Sun, 26 Jun 2005 16:09:29 +0000 (16:09 +0000)]
Omit padding in RC4_KEY on IA-64. The idea behind padding was to reserve
room for aligning of the key schedule itself [specific alignment is
required for future performance improvements], but OpenSSH "abuses"
our API by making copies and restoring RC4_KEY, thus ruining the
alignment and making it impossible to recover the key schedule.
PR: 1114

19 years agoUpdated status from 0.9.8-stable.
Richard Levitte [Fri, 24 Jun 2005 22:27:57 +0000 (22:27 +0000)]
Updated status from 0.9.8-stable.

19 years agoReplace emms with finit in x86cpuid.
Andy Polyakov [Fri, 24 Jun 2005 16:32:10 +0000 (16:32 +0000)]
Replace emms with finit in x86cpuid.

19 years agoAdd Argen root CAs.
Dr. Stephen Henson [Fri, 24 Jun 2005 11:07:13 +0000 (11:07 +0000)]
Add Argen root CAs.

19 years agoSomeone did some cutting and pasting and didn't quite finish the job :-).
Richard Levitte [Fri, 24 Jun 2005 05:13:08 +0000 (05:13 +0000)]
Someone did some cutting and pasting and didn't quite finish the job :-).

Notified by Steffen Pankratz <kratz00@gmx.de>

19 years agoWrap the inclusion of openssl/engine.h with a protective check for
Richard Levitte [Thu, 23 Jun 2005 22:08:47 +0000 (22:08 +0000)]
Wrap the inclusion of openssl/engine.h with a protective check for
the absence of OPENSSL_NO_ENGINE.

19 years agoWrap the inclusion of openssl/engine.h with a protective check for
Richard Levitte [Thu, 23 Jun 2005 21:57:40 +0000 (21:57 +0000)]
Wrap the inclusion of openssl/engine.h with a protective check for
the absence of OPENSSL_NO_ENGINE.

PR: 1123

19 years agoDo not defined des_crypt(), since it clashes with Solaris crypt.h.
Richard Levitte [Thu, 23 Jun 2005 21:53:56 +0000 (21:53 +0000)]
Do not defined des_crypt(), since it clashes with Solaris crypt.h.

PR: 1125

19 years agoInitialise dir to avoid a compiler warning.
Richard Levitte [Thu, 23 Jun 2005 21:49:21 +0000 (21:49 +0000)]
Initialise dir to avoid a compiler warning.