openssl.git
16 years agoReorganise encrypted content info code to avoid duplication and be more
Dr. Stephen Henson [Fri, 14 Mar 2008 19:37:56 +0000 (19:37 +0000)]
Reorganise encrypted content info code to avoid duplication and be more
consistent with other content types.

16 years agoEncrypted Data type processing. Add options to cms utility and run section 7
Dr. Stephen Henson [Fri, 14 Mar 2008 13:21:48 +0000 (13:21 +0000)]
Encrypted Data type processing. Add options to cms utility and run section 7
tests in RFC4134.

16 years agoNew utility functions for encryptedData content type which will also be used
Dr. Stephen Henson [Fri, 14 Mar 2008 00:58:43 +0000 (00:58 +0000)]
New utility functions for encryptedData content type which will also be used
by envelopedData.

Use PRE and not POST when freeing up RecipientInfo.

16 years agoOnly call free once in CHOICE type.
Dr. Stephen Henson [Fri, 14 Mar 2008 00:57:01 +0000 (00:57 +0000)]
Only call free once in CHOICE type.

16 years agoRFC4134 S/MIME examples test script.
Dr. Stephen Henson [Thu, 13 Mar 2008 01:04:47 +0000 (01:04 +0000)]
RFC4134 S/MIME examples test script.

16 years ago.cvignore file for cms
Dr. Stephen Henson [Thu, 13 Mar 2008 00:50:02 +0000 (00:50 +0000)]
.cvignore file for cms

16 years agoFree up additional data in RecipientInfo structure
Dr. Stephen Henson [Thu, 13 Mar 2008 00:48:59 +0000 (00:48 +0000)]
Free up additional data in RecipientInfo structure

16 years agoAnd so it begins...
Dr. Stephen Henson [Wed, 12 Mar 2008 21:14:28 +0000 (21:14 +0000)]
And so it begins...

Initial support for CMS.

Add zlib compression BIO.

Add AES key wrap implementation.

Generalize S/MIME MIME code to support CMS and/or PKCS7.

16 years agoUpdate year.
Dr. Stephen Henson [Wed, 12 Mar 2008 13:05:07 +0000 (13:05 +0000)]
Update year.

16 years ago#undef X509_EXTENSIONS to avoid conflict with CryptoAPI.
Dr. Stephen Henson [Wed, 12 Mar 2008 00:37:31 +0000 (00:37 +0000)]
#undef X509_EXTENSIONS to avoid conflict with CryptoAPI.

16 years agoWe already have an object for "zlib compression" but it was a place
Dr. Stephen Henson [Fri, 29 Feb 2008 14:24:52 +0000 (14:24 +0000)]
We already have an object for "zlib compression" but it was a place
holder and its actual encoding never used.

Just as well because it's value looks like it was made up in the mists of
time...

Now there is a registered value for zlib compression (used in S/MIME
compressedData content type) use that instead.

16 years agoAvoid warnings.
Dr. Stephen Henson [Thu, 28 Feb 2008 14:05:01 +0000 (14:05 +0000)]
Avoid warnings.

16 years agoFix error code function name mismatches in GOST engine, rebuild errors.
Dr. Stephen Henson [Thu, 28 Feb 2008 13:45:06 +0000 (13:45 +0000)]
Fix error code function name mismatches in GOST engine, rebuild errors.

16 years agoFix typo and avoid warning.
Dr. Stephen Henson [Thu, 28 Feb 2008 13:18:26 +0000 (13:18 +0000)]
Fix typo and avoid warning.

16 years agoMake x86_64-mont.pl work with debug Win64 build.
Andy Polyakov [Wed, 27 Feb 2008 20:09:28 +0000 (20:09 +0000)]
Make x86_64-mont.pl work with debug Win64 build.

16 years agofix BIGNUM flag handling
Bodo Möller [Wed, 27 Feb 2008 06:01:28 +0000 (06:01 +0000)]
fix BIGNUM flag handling

16 years agoClarification and fix typo.
Dr. Stephen Henson [Mon, 25 Feb 2008 18:11:47 +0000 (18:11 +0000)]
Clarification and fix typo.

16 years agoUse default value for $dir if it is empty.
Dr. Stephen Henson [Mon, 25 Feb 2008 13:14:06 +0000 (13:14 +0000)]
Use default value for $dir if it is empty.

16 years agoMake sure to set indent-tabs-mode so that we get tabs, not spaces.
Bodo Möller [Thu, 21 Feb 2008 07:24:12 +0000 (07:24 +0000)]
Make sure to set indent-tabs-mode so that we get tabs, not spaces.

16 years agoSupport for NASM>=2 in Win64/x64 build.
Andy Polyakov [Wed, 13 Feb 2008 13:07:52 +0000 (13:07 +0000)]
Support for NASM>=2 in Win64/x64 build.

16 years agoAdd OIDs for compressedData content type and zlib compression.
Dr. Stephen Henson [Tue, 12 Feb 2008 13:48:10 +0000 (13:48 +0000)]
Add OIDs for compressedData content type and zlib compression.

16 years agoTypo.
Dr. Stephen Henson [Tue, 12 Feb 2008 01:24:50 +0000 (01:24 +0000)]
Typo.

16 years agoUtility attribute function to retrieve attribute data from an expected
Dr. Stephen Henson [Mon, 11 Feb 2008 17:52:38 +0000 (17:52 +0000)]
Utility attribute function to retrieve attribute data from an expected
type. Useful for many attributes which are single valued and can only
have one type.

16 years agoExtend attribute setting routines to support non-string types.
Dr. Stephen Henson [Mon, 11 Feb 2008 13:59:33 +0000 (13:59 +0000)]
Extend attribute setting routines to support non-string types.

16 years agoAd-hockery for Platform SDK ml64.
Andy Polyakov [Mon, 11 Feb 2008 13:04:39 +0000 (13:04 +0000)]
Ad-hockery for Platform SDK ml64.

16 years agoSupport custom primitive type printing routines and add one to LONG type.
Dr. Stephen Henson [Fri, 8 Feb 2008 13:07:04 +0000 (13:07 +0000)]
Support custom primitive type printing routines and add one to LONG type.

16 years agoMicro-profiling assisted "optimization" for Power6. Essentially it's so
Andy Polyakov [Wed, 6 Feb 2008 10:18:19 +0000 (10:18 +0000)]
Micro-profiling assisted "optimization" for Power6. Essentially it's so
to say educational commit. Reordering instructions doesn't improve
performance much, rather exhibits Power6 limitations.

16 years agoppc64-mont optimization.
Andy Polyakov [Tue, 5 Feb 2008 13:10:14 +0000 (13:10 +0000)]
ppc64-mont optimization.

16 years agoAdd missing colon in manpage
Lutz Jänicke [Wed, 30 Jan 2008 08:26:59 +0000 (08:26 +0000)]
Add missing colon in manpage

Submitted by: Richard Hartmann <richih.mailinglist@gmail.com>

16 years agoAdd Global Sign root CA.
Dr. Stephen Henson [Sat, 26 Jan 2008 23:42:58 +0000 (23:42 +0000)]
Add Global Sign root CA.

16 years agoClarify FAQ.
Dr. Stephen Henson [Wed, 23 Jan 2008 19:21:00 +0000 (19:21 +0000)]
Clarify FAQ.

16 years agoClarify BITLIST format and include an example.
Dr. Stephen Henson [Wed, 23 Jan 2008 19:10:53 +0000 (19:10 +0000)]
Clarify BITLIST format and include an example.

16 years agorc5/asm/rc5-586.pl was erroneously omitted from last perlasm unification.
Andy Polyakov [Thu, 17 Jan 2008 19:48:01 +0000 (19:48 +0000)]
rc5/asm/rc5-586.pl was erroneously omitted from last perlasm unification.

16 years agocrypto/rc5/Makefile was erroneously omitted from last perlasm unification.
Andy Polyakov [Tue, 15 Jan 2008 11:27:06 +0000 (11:27 +0000)]
crypto/rc5/Makefile was erroneously omitted from last perlasm unification.
Also remove obsolete and now misleading comments.

16 years ago<strings.h> does not exist under WIN32.
Dr. Stephen Henson [Mon, 14 Jan 2008 18:10:55 +0000 (18:10 +0000)]
<strings.h> does not exist under WIN32.

16 years agoUnify ppc assembler make rules.
Andy Polyakov [Sun, 13 Jan 2008 22:01:30 +0000 (22:01 +0000)]
Unify ppc assembler make rules.

16 years agoAutomate assembler support for Win64 targets (more work is needed).
Andy Polyakov [Sun, 13 Jan 2008 17:56:02 +0000 (17:56 +0000)]
Automate assembler support for Win64 targets (more work is needed).

16 years agoAllow to specify filename on sha1-ia64.pl command line.
Andy Polyakov [Sun, 13 Jan 2008 17:43:11 +0000 (17:43 +0000)]
Allow to specify filename on sha1-ia64.pl command line.

16 years agoMake all x86_64 modules independent on current working directory.
Andy Polyakov [Sun, 13 Jan 2008 17:42:04 +0000 (17:42 +0000)]
Make all x86_64 modules independent on current working directory.

16 years agorc4-x86_64 portability fix.
Andy Polyakov [Sat, 12 Jan 2008 11:29:45 +0000 (11:29 +0000)]
rc4-x86_64 portability fix.

16 years agoMissing headers.
Ben Laurie [Sat, 12 Jan 2008 11:22:31 +0000 (11:22 +0000)]
Missing headers.

16 years agoUnify x86 perlasm make rules.
Andy Polyakov [Fri, 11 Jan 2008 13:15:11 +0000 (13:15 +0000)]
Unify x86 perlasm make rules.

16 years agoAutomate assembler support in mk1mf even further.
Andy Polyakov [Fri, 11 Jan 2008 11:59:37 +0000 (11:59 +0000)]
Automate assembler support in mk1mf even further.

16 years agoExperimental support for import of more options from Configure
Dr. Stephen Henson [Sun, 6 Jan 2008 00:36:22 +0000 (00:36 +0000)]
Experimental support for import of more options from Configure
(via top level Makefile) into mk1mf builds. This avoids the need
to duplicate the CFLAG handling and can auto build assembly language
source files from perl scripts.

Extend VC-WIN32 Configure entry to include new options.

16 years agoUpdate perl asm scripts include paths for perlasm.
Dr. Stephen Henson [Sat, 5 Jan 2008 22:28:38 +0000 (22:28 +0000)]
Update perl asm scripts include paths for perlasm.

16 years agoFix unsigned/signed warnings in ssl.
Andy Polyakov [Sat, 5 Jan 2008 21:35:34 +0000 (21:35 +0000)]
Fix unsigned/signed warnings in ssl.

16 years agoCygwin compatibility fix to apps/ocsp.c.
Andy Polyakov [Sat, 5 Jan 2008 21:32:29 +0000 (21:32 +0000)]
Cygwin compatibility fix to apps/ocsp.c.

16 years agoCompensate for BSDi shell bug.
Andy Polyakov [Sat, 5 Jan 2008 21:30:59 +0000 (21:30 +0000)]
Compensate for BSDi shell bug.

16 years agoengine/ccgost Win32 portability fixes.
Andy Polyakov [Sat, 5 Jan 2008 21:28:53 +0000 (21:28 +0000)]
engine/ccgost Win32 portability fixes.

16 years agoMake aes-x86_64 work with debug Win64 build.
Andy Polyakov [Sat, 5 Jan 2008 18:17:20 +0000 (18:17 +0000)]
Make aes-x86_64 work with debug Win64 build.

16 years agoMake AES_T[ed] private to aes-586 module.
Andy Polyakov [Sat, 5 Jan 2008 08:58:18 +0000 (08:58 +0000)]
Make AES_T[ed] private to aes-586 module.

16 years agoInclude Mont asm files in WIN32 build.
Dr. Stephen Henson [Sat, 5 Jan 2008 00:45:27 +0000 (00:45 +0000)]
Include Mont asm files in WIN32 build.

16 years agoAdd extra SHA2 defines.
Dr. Stephen Henson [Sat, 5 Jan 2008 00:44:33 +0000 (00:44 +0000)]
Add extra SHA2 defines.

16 years agoLast dso_dlfcn.c check-in said "Use Dl_info only on systems where it is
Andy Polyakov [Fri, 4 Jan 2008 23:03:23 +0000 (23:03 +0000)]
Last dso_dlfcn.c check-in said "Use Dl_info only on systems where it is
known to exist. It does not exist on AIX 4.3.3, AIX 5.1, SCO 5, or Cygwin"
and disabled it on banch of systems it's known to exists, such as FreeBSD,
Solaris, 64-bit HP-UX, MacOS X. Get it straight.

16 years agox86gas.pl update.
Andy Polyakov [Fri, 4 Jan 2008 22:58:50 +0000 (22:58 +0000)]
x86gas.pl update.

16 years agoAdd sha2 defines.
Dr. Stephen Henson [Fri, 4 Jan 2008 16:32:39 +0000 (16:32 +0000)]
Add sha2 defines.

16 years agoUpdate netware to use new SHA2 assembly language modules.
Dr. Stephen Henson [Fri, 4 Jan 2008 13:18:09 +0000 (13:18 +0000)]
Update netware to use new SHA2 assembly language modules.

16 years agoUpdate WIN32 nasm build to use new asm files.
Dr. Stephen Henson [Fri, 4 Jan 2008 00:48:14 +0000 (00:48 +0000)]
Update WIN32 nasm build to use new asm files.

16 years agoAvoid WIN32 signed/unsigned warnings.
Dr. Stephen Henson [Fri, 4 Jan 2008 00:37:23 +0000 (00:37 +0000)]
Avoid WIN32 signed/unsigned warnings.

16 years agoMove CHANGES entry. Revert include file install line.
Dr. Stephen Henson [Thu, 3 Jan 2008 22:57:50 +0000 (22:57 +0000)]
Move CHANGES entry. Revert include file install line.

16 years agoNetware support.
Dr. Stephen Henson [Thu, 3 Jan 2008 22:43:04 +0000 (22:43 +0000)]
Netware support.
Submitted by: Guenter Knauf <eflash@gmx.net>

16 years agoNASM has recently changed name of win32 pre-compiled binary.
Andy Polyakov [Thu, 3 Jan 2008 17:09:56 +0000 (17:09 +0000)]
NASM has recently changed name of win32 pre-compiled binary.
PR: 1627

16 years agoAdd quotes to Win32 install directories.
Dr. Stephen Henson [Thu, 3 Jan 2008 16:37:00 +0000 (16:37 +0000)]
Add quotes to Win32 install directories.
Submitted by:  Mladen Turk <mturk@apache.org>

16 years agoperlasm/x86*.pl updates.
Andy Polyakov [Thu, 3 Jan 2008 16:21:06 +0000 (16:21 +0000)]
perlasm/x86*.pl updates.

16 years agoFinal (for this commit series) optimized version and with commentary section.
Andy Polyakov [Sat, 29 Dec 2007 20:30:09 +0000 (20:30 +0000)]
Final (for this commit series) optimized version and with commentary section.

16 years agoThis is also informational commit exposing loop modulo scheduling "factor."
Andy Polyakov [Sat, 29 Dec 2007 20:28:01 +0000 (20:28 +0000)]
This is also informational commit exposing loop modulo scheduling "factor."

16 years agoNew Montgomery multiplication module, ppc64-mont.pl. Reference, non-optimized
Andy Polyakov [Sat, 29 Dec 2007 20:26:46 +0000 (20:26 +0000)]
New Montgomery multiplication module, ppc64-mont.pl. Reference, non-optimized
implementation. This is essentially informational commit.

16 years agoppc-xlate.pl update.
Andy Polyakov [Sat, 29 Dec 2007 18:50:44 +0000 (18:50 +0000)]
ppc-xlate.pl update.

16 years agoSource readability fix, which incidentally works around XLC compiler bug.
Andy Polyakov [Sat, 29 Dec 2007 18:32:34 +0000 (18:32 +0000)]
Source readability fix, which incidentally works around XLC compiler bug.

16 years agoEngage x86 assembler in Mac OS X build.
Andy Polyakov [Tue, 18 Dec 2007 17:33:49 +0000 (17:33 +0000)]
Engage x86 assembler in Mac OS X build.

16 years agoMac OS X x86 assembler support.
Andy Polyakov [Tue, 18 Dec 2007 17:28:22 +0000 (17:28 +0000)]
Mac OS X x86 assembler support.

16 years agoDisable support for Metrowerks assembler. Assembler itself is broken,
Andy Polyakov [Tue, 18 Dec 2007 09:32:20 +0000 (09:32 +0000)]
Disable support for Metrowerks assembler. Assembler itself is broken,
specifically it incorrectly encodes EA offsets between 128 and 255.

16 years agox86 perlasm overhaul.
Andy Polyakov [Tue, 18 Dec 2007 09:18:49 +0000 (09:18 +0000)]
x86 perlasm overhaul.

16 years agoAvoid aliasing warning.
Dr. Stephen Henson [Sun, 16 Dec 2007 13:57:44 +0000 (13:57 +0000)]
Avoid aliasing warning.

16 years agoUpdate ordinals
Dr. Stephen Henson [Sun, 16 Dec 2007 13:16:58 +0000 (13:16 +0000)]
Update ordinals

16 years agoInitialize sigsize.
Dr. Stephen Henson [Fri, 14 Dec 2007 16:53:50 +0000 (16:53 +0000)]
Initialize sigsize.

16 years agoHandle non-SHA1 digests for certids in OCSP test responder.
Dr. Stephen Henson [Fri, 14 Dec 2007 12:43:50 +0000 (12:43 +0000)]
Handle non-SHA1 digests for certids in OCSP test responder.

16 years agogmp engine was non-operational.
Andy Polyakov [Tue, 4 Dec 2007 20:28:52 +0000 (20:28 +0000)]
gmp engine was non-operational.

16 years agoSubmitted by: Victor B. Wagner <vitus@cryptocom.ru>, steve
Dr. Stephen Henson [Tue, 4 Dec 2007 12:41:28 +0000 (12:41 +0000)]
Submitted by: Victor B. Wagner <vitus@cryptocom.ru>, steve

Use default algorithms for OCSP request and response signing. New command
line option to support other digest use for OCSP certificate IDs.

16 years agoChange submitted by Doug Kaufman. He writes:
Richard Levitte [Mon, 3 Dec 2007 09:02:29 +0000 (09:02 +0000)]
Change submitted by Doug Kaufman.  He writes:

  I just compiled the 9.9-dev version from the 12022007 tarball under
  DJGPP. There were only 2 changes needed, one for b_sock.c, since
  DJGPP with WATT32 doesn't define socklen_t and one for testtsa to
  handle DOS style path separators. I also noted what seems to be a
  typographical error in ts.pod. The test suite passes. The patch is
  attached.

  Since I am in the US, I have sent notifications to the Bureau of
  Industry and Security and to the NSA.

16 years agoSome assembler are allergic to lea reg,BYTE PTR[...].
Andy Polyakov [Sun, 2 Dec 2007 21:32:03 +0000 (21:32 +0000)]
Some assembler are allergic to lea reg,BYTE PTR[...].

Submitted by: Guenter Knauf

16 years agoStructure symbol decorations, optimize label handling...
Andy Polyakov [Sat, 24 Nov 2007 16:03:57 +0000 (16:03 +0000)]
Structure symbol decorations, optimize label handling...

16 years agoRebuild OID database: duplicates got in there somehow??
Dr. Stephen Henson [Fri, 23 Nov 2007 00:34:00 +0000 (00:34 +0000)]
Rebuild OID database: duplicates got in there somehow??

16 years agoFix from stable branch.
Dr. Stephen Henson [Fri, 23 Nov 2007 00:19:24 +0000 (00:19 +0000)]
Fix from stable branch.

16 years agoAdd caRepository OID and sync object NIDs with OpenSSL 0.9.8.
Dr. Stephen Henson [Fri, 23 Nov 2007 00:14:59 +0000 (00:14 +0000)]
Add caRepository OID and sync object NIDs with OpenSSL 0.9.8.

16 years agoSynchronize x86nasm.pl with x86unix.pl.
Andy Polyakov [Thu, 22 Nov 2007 21:21:35 +0000 (21:21 +0000)]
Synchronize x86nasm.pl with x86unix.pl.

16 years agoCombat [bogus] relocations in some assember modules.
Andy Polyakov [Thu, 22 Nov 2007 20:51:48 +0000 (20:51 +0000)]
Combat [bogus] relocations in some assember modules.

16 years agoLookup public key ASN1 methods by string by iterating through all
Dr. Stephen Henson [Wed, 21 Nov 2007 17:25:58 +0000 (17:25 +0000)]
Lookup public key ASN1 methods by string by iterating through all
implementations instead of all added ENGINEs to cover case where an
ENGINE is not added.

16 years agoSubmitted by: "Victor B. Wagner" <vitus@cryptocom.ru>
Dr. Stephen Henson [Wed, 21 Nov 2007 12:39:12 +0000 (12:39 +0000)]
Submitted by: "Victor B. Wagner" <vitus@cryptocom.ru>

Update gost algorithm print routines.

16 years agoAvoid warning.
Dr. Stephen Henson [Tue, 20 Nov 2007 17:52:02 +0000 (17:52 +0000)]
Avoid warning.

16 years agoUpdate debug-steve targets.
Dr. Stephen Henson [Tue, 20 Nov 2007 17:51:45 +0000 (17:51 +0000)]
Update debug-steve targets.

16 years agoSubmitted by: "Victor B. Wagner" <vitus@cryptocom.ru>
Dr. Stephen Henson [Tue, 20 Nov 2007 13:37:51 +0000 (13:37 +0000)]
Submitted by: "Victor B. Wagner" <vitus@cryptocom.ru>

Make {d2i,i2d}_PrivateKey() fall back to PKCS#8 format if no legacy format
supported. Add support in d2i_AutoPrivateKey().

16 years agoRebuild object cross reference table.
Dr. Stephen Henson [Tue, 20 Nov 2007 13:04:45 +0000 (13:04 +0000)]
Rebuild object cross reference table.

16 years agoTypos in man pages: dependant->dependent
Lutz Jänicke [Mon, 19 Nov 2007 09:18:03 +0000 (09:18 +0000)]
Typos in man pages: dependant->dependent

Submitted by: Tobias Stoeckmann <tobias@bugol.de>

16 years agoShould reject signatures that we can't properly verify
Bodo Möller [Mon, 19 Nov 2007 07:25:55 +0000 (07:25 +0000)]
Should reject signatures that we can't properly verify
and couldn't generate
(as pointed out by Ernst G Giessmann)

16 years agofix typos
Bodo Möller [Mon, 19 Nov 2007 07:24:08 +0000 (07:24 +0000)]
fix typos

Submitted by: Ernst G. Giessmann

16 years agoFix buffer overflow.
Ben Laurie [Fri, 16 Nov 2007 14:41:09 +0000 (14:41 +0000)]
Fix buffer overflow.

16 years agoThe hash length check wasn't strict enough,
Bodo Möller [Fri, 16 Nov 2007 13:01:14 +0000 (13:01 +0000)]
The hash length check wasn't strict enough,
as pointed out by Ernst G Giessmann

16 years agoFix warnings.
Ben Laurie [Fri, 16 Nov 2007 03:03:01 +0000 (03:03 +0000)]
Fix warnings.

16 years agoCommit #16325 fixed one thing but broke DH with certain moduli.
Andy Polyakov [Sat, 3 Nov 2007 20:09:04 +0000 (20:09 +0000)]
Commit #16325 fixed one thing but broke DH with certain moduli.