Andy Polyakov [Sat, 27 Dec 2008 13:40:45 +0000 (13:40 +0000)]
Add modes/cts128.c, Ciphertext Stealing implementation.
Andy Polyakov [Sat, 27 Dec 2008 13:39:38 +0000 (13:39 +0000)]
cmll-x86_64.pl: fix bug in cbc tail processing and comply with Win64 ABI spec.
Andy Polyakov [Sat, 27 Dec 2008 13:32:21 +0000 (13:32 +0000)]
Revisit RT#1801 and complete fix.
Ben Laurie [Sat, 27 Dec 2008 02:36:24 +0000 (02:36 +0000)]
Remove dead code. (Coverity ID 2)
Ben Laurie [Sat, 27 Dec 2008 02:15:16 +0000 (02:15 +0000)]
Check scalar->d before we use it (in BN_num_bits()). (Coverity ID 129)
Ben Laurie [Sat, 27 Dec 2008 02:09:24 +0000 (02:09 +0000)]
Deal with the unlikely event that EVP_MD_CTX_size() returns an error.
(Coverity ID 140).
Ben Laurie [Sat, 27 Dec 2008 02:00:38 +0000 (02:00 +0000)]
Handle the unlikely event that BIO_get_mem_data() returns -ve.
Richard Levitte [Fri, 26 Dec 2008 23:52:06 +0000 (23:52 +0000)]
More synchronisation with Unix
Ben Laurie [Fri, 26 Dec 2008 17:17:21 +0000 (17:17 +0000)]
Remove misleading dead code. Constify. (Coverity ID 142)
Ben Laurie [Fri, 26 Dec 2008 15:32:59 +0000 (15:32 +0000)]
!a && !a->b is clearly wrong! Changed to !a || !a->b (Coverity ID 145).
Ben Laurie [Fri, 26 Dec 2008 15:29:02 +0000 (15:29 +0000)]
pval must always be set when pk7_cb() does anything (Coverity ID 146).
Richard Levitte [Thu, 25 Dec 2008 22:24:17 +0000 (22:24 +0000)]
In BIO_write(), update the write statistics, not the read statistics.
PR: 1803
Richard Levitte [Thu, 25 Dec 2008 22:04:42 +0000 (22:04 +0000)]
Further synchronisation with Unix
Andy Polyakov [Tue, 23 Dec 2008 15:15:44 +0000 (15:15 +0000)]
Windows-specific addenum to "engage crypto/modes" commit #17716.
Andy Polyakov [Tue, 23 Dec 2008 11:38:33 +0000 (11:38 +0000)]
Patch the omission from prvious commit #17716.
Andy Polyakov [Tue, 23 Dec 2008 11:33:01 +0000 (11:33 +0000)]
Engage crypto/modes.
Andy Polyakov [Tue, 23 Dec 2008 11:18:45 +0000 (11:18 +0000)]
crypto/modes: make modes.h selfsufficient and rename block_f to block128_t.
Andy Polyakov [Mon, 22 Dec 2008 15:21:59 +0000 (15:21 +0000)]
Optimize CAST for size on 64-bit platforms. For reference, CAST_LONG being
unsigned long must be attributed to 16-bit support. As we don't support
16-bit platoforms anymore, there is no reason to waste twice required
space on CAST S-boxes (16KB vs. 8KB) or key schedule.
Andy Polyakov [Mon, 22 Dec 2008 14:15:11 +0000 (14:15 +0000)]
cmll-x86_64.pl: Win64 SEH section to handle pushf/popf in CBC routine.
Andy Polyakov [Mon, 22 Dec 2008 14:10:42 +0000 (14:10 +0000)]
Optimize #undef DES_UNROLL for size.
Andy Polyakov [Mon, 22 Dec 2008 14:05:42 +0000 (14:05 +0000)]
Incidentally cvs.openssl.org/chngview?cn=17710 also made it possible
to build the library without -D_CRT_NONSTDC_NO_DEPRECATE. This commit
expands it even to apps catalog and actually omits the macro in question
from Configure.
Andy Polyakov [Mon, 22 Dec 2008 13:54:12 +0000 (13:54 +0000)]
This _WIN32-specific patch makes it possible to "wrap" OpenSSL in another
.DLL, in particular static build. The issue has been discussed in RT#1230
and later on openssl-dev, and mutually exclusive approaches were suggested.
This completes compromise solution suggested in RT#1230.
PR: 1230
Dr. Stephen Henson [Sat, 20 Dec 2008 17:04:40 +0000 (17:04 +0000)]
Make no-engine work again.
Andy Polyakov [Fri, 19 Dec 2008 13:35:09 +0000 (13:35 +0000)]
make depend to work with cross-gcc, compensate for msys glitch.
PR: 1753
Submitted by: Alon Bar-Lev
Andy Polyakov [Fri, 19 Dec 2008 11:19:19 +0000 (11:19 +0000)]
cmll-x86_64.pl: bug fix and size optimization of Win64 SEH section.
Andy Polyakov [Fri, 19 Dec 2008 11:17:29 +0000 (11:17 +0000)]
x86_64 assembler pack: add support for Win64 SEH.
Andy Polyakov [Fri, 19 Dec 2008 11:14:38 +0000 (11:14 +0000)]
x86_64-xlate.pl: fix masm hexadecimal constants.
Andy Polyakov [Wed, 17 Dec 2008 19:56:48 +0000 (19:56 +0000)]
perlasm/x86* update: support for 3 and 4 argument instructions.
Andy Polyakov [Wed, 17 Dec 2008 14:11:30 +0000 (14:11 +0000)]
SEGV in AES_cbc_encrypt in aes-x86_64 assembler module.
PR: 1801
Submitted by: Huang Ying
Richard Levitte [Tue, 16 Dec 2008 13:41:49 +0000 (13:41 +0000)]
Constify where needed
Richard Levitte [Tue, 16 Dec 2008 10:56:05 +0000 (10:56 +0000)]
Remove extraneous semicolons
Richard Levitte [Tue, 16 Dec 2008 10:55:26 +0000 (10:55 +0000)]
Stack changes made dso_vms.c not compile properly.
Richard Levitte [Tue, 16 Dec 2008 10:54:53 +0000 (10:54 +0000)]
A few more symbols that are a little bit long for VMS
Richard Levitte [Tue, 16 Dec 2008 10:54:28 +0000 (10:54 +0000)]
Synchronise VMS build system with the Unixly one
Andy Polyakov [Tue, 16 Dec 2008 08:39:21 +0000 (08:39 +0000)]
128-bit block cipher modes consolidation. As consolidated functions
rely on indirect call to block functions, they are not as fast as
non-consolidated routines. However, performance loss(*) is within
measurement error and consolidation advantages are considered to
outweigh it.
(*) actually one can observe performance *improvement* on e.g.
CBC benchmarks thanks to optimization, which also becomes
shared among ciphers.
Andy Polyakov [Tue, 16 Dec 2008 07:41:21 +0000 (07:41 +0000)]
SEED to support OPENSSL_SMALL_FOOTPRINT: ~2x size decrease on x86.
Andy Polyakov [Tue, 16 Dec 2008 07:28:38 +0000 (07:28 +0000)]
Bring C bn_mul_mont template closer to assembler.
Andy Polyakov [Tue, 16 Dec 2008 07:26:53 +0000 (07:26 +0000)]
no-asm didn't exclude Camellia assembler.
Ben Laurie [Sat, 13 Dec 2008 17:45:49 +0000 (17:45 +0000)]
Back out pointless change.
Ben Laurie [Sat, 13 Dec 2008 17:45:27 +0000 (17:45 +0000)]
*** empty log message ***
Ben Laurie [Sat, 13 Dec 2008 17:39:53 +0000 (17:39 +0000)]
Return error if DH_new() fails (Coverity ID 150).
Ben Laurie [Sat, 13 Dec 2008 17:28:25 +0000 (17:28 +0000)]
Check for NULL before use (Coverity ID 203).
Ben Laurie [Sat, 13 Dec 2008 17:19:40 +0000 (17:19 +0000)]
Missing return values (Coverity ID 204).
Dr. Stephen Henson [Wed, 10 Dec 2008 17:35:21 +0000 (17:35 +0000)]
Fix from stable branch.
Lutz Jänicke [Wed, 10 Dec 2008 08:03:47 +0000 (08:03 +0000)]
apps/speed.c: children should not inherit buffered I/O
PR: 1787
Submitted by: Artur Klauser <aklauser@google.com>
Dr. Stephen Henson [Mon, 8 Dec 2008 19:13:06 +0000 (19:13 +0000)]
Oops should check zero_pos >= 0.
Dr. Stephen Henson [Sun, 7 Dec 2008 23:58:44 +0000 (23:58 +0000)]
Handle case where v6stat.zero_pos == 0 correctly.
Reported by: Kurt Roeckx <kurt@roeckx.be>, Tobias Ginzler <ginzler@fgan.de> (Debian bug #506111)
Andy Polyakov [Wed, 3 Dec 2008 09:22:51 +0000 (09:22 +0000)]
Add Camellia assembler x86 and x86_64 modules.
Bodo Möller [Tue, 2 Dec 2008 23:50:22 +0000 (23:50 +0000)]
experimental-foo support for mk1mf.pl.
Bodo Möller [Tue, 2 Dec 2008 01:21:39 +0000 (01:21 +0000)]
Implement Configure option pattern "experimental-foo"
(specifically, "experimental-jpake").
Dr. Stephen Henson [Sun, 30 Nov 2008 22:01:31 +0000 (22:01 +0000)]
Don't stop -cipher from working.
Dr. Stephen Henson [Sun, 30 Nov 2008 16:09:04 +0000 (16:09 +0000)]
Update from stable branch.
Geoff Thorpe [Fri, 28 Nov 2008 22:06:55 +0000 (22:06 +0000)]
Fix compilation with -DOPENSSL_NO_DEPRECATED.
Geoff Thorpe [Fri, 28 Nov 2008 22:04:49 +0000 (22:04 +0000)]
Clarify a 'chil' engine param that is a little unintuitive.
Submitted by: Sander Temme <sander@temme.net>
Dr. Stephen Henson [Mon, 24 Nov 2008 17:46:29 +0000 (17:46 +0000)]
Update libeay.num
Dr. Stephen Henson [Mon, 24 Nov 2008 17:39:42 +0000 (17:39 +0000)]
Stop warning about different const qualifiers.
Dr. Stephen Henson [Mon, 24 Nov 2008 17:27:08 +0000 (17:27 +0000)]
Update from stable-branch.
Dr. Stephen Henson [Fri, 21 Nov 2008 18:18:13 +0000 (18:18 +0000)]
Set memory BIOs up properly when stripping text headers from S/MIME messages.
Geoff Thorpe [Wed, 19 Nov 2008 14:21:27 +0000 (14:21 +0000)]
Allow the CHIL engine to load even if dynamic locks aren't registered.
Submitted by: Sander Temme
Ben Laurie [Sun, 16 Nov 2008 12:47:12 +0000 (12:47 +0000)]
Integrate J-PAKE and TLS-PSK. Increase PSK buffer size. Fix memory leaks.
Ben Laurie [Sun, 16 Nov 2008 12:32:14 +0000 (12:32 +0000)]
Ignore generated ASM.
Dr. Stephen Henson [Sat, 15 Nov 2008 17:36:49 +0000 (17:36 +0000)]
Don't disable JPAKE by default in head...
Dr. Stephen Henson [Sat, 15 Nov 2008 17:18:12 +0000 (17:18 +0000)]
PR: 1574
Submitted by: Jouni Malinen <j@w1.fi>
Approved by: steve@openssl.org
Ticket override support for EAP-FAST.
Andy Polyakov [Fri, 14 Nov 2008 16:40:37 +0000 (16:40 +0000)]
x86_64-xlate.pl update, engage x86_64 assembler in mingw64.
Bodo Möller [Fri, 14 Nov 2008 00:22:02 +0000 (00:22 +0000)]
warnings (mostly)
Ben Laurie [Thu, 13 Nov 2008 09:48:47 +0000 (09:48 +0000)]
Aftermath of a clashing size_t fix (now only format changes).
Ben Laurie [Thu, 13 Nov 2008 09:31:37 +0000 (09:31 +0000)]
Ignore saved Makefile.
Ben Laurie [Thu, 13 Nov 2008 09:31:08 +0000 (09:31 +0000)]
J-PAKE is not experimental in HEAD.
Dr. Stephen Henson [Wed, 12 Nov 2008 19:02:25 +0000 (19:02 +0000)]
Oops...
Dr. Stephen Henson [Wed, 12 Nov 2008 18:52:58 +0000 (18:52 +0000)]
mk1mf.pl update from stable branch.
Dr. Stephen Henson [Wed, 12 Nov 2008 18:47:24 +0000 (18:47 +0000)]
Revert another size_t change.
Dr. Stephen Henson [Wed, 12 Nov 2008 17:28:18 +0000 (17:28 +0000)]
Update from stable branch.
Dr. Stephen Henson [Wed, 12 Nov 2008 17:02:40 +0000 (17:02 +0000)]
Reinstate camellia header fix patch.
Andy Polyakov [Wed, 12 Nov 2008 08:21:20 +0000 (08:21 +0000)]
Configure update: clean-ups and most notably engage x86_64 assembler
on MacOS X.
Andy Polyakov [Wed, 12 Nov 2008 08:19:04 +0000 (08:19 +0000)]
Update make rules for x86_64 assembler pack.
Andy Polyakov [Wed, 12 Nov 2008 08:15:52 +0000 (08:15 +0000)]
x86_64 assembler pack to comply with updated styling x86_64-xlate.pl rules.
Andy Polyakov [Wed, 12 Nov 2008 08:05:58 +0000 (08:05 +0000)]
x86_64-xlate.pl to support MacOS X and mingw64.
Andy Polyakov [Wed, 12 Nov 2008 07:27:36 +0000 (07:27 +0000)]
Revert commit #17603, it should have been part of #17617.
Geoff Thorpe [Wed, 12 Nov 2008 03:58:08 +0000 (03:58 +0000)]
Revert the size_t modifications from HEAD that had led to more
knock-on work than expected - they've been extracted into a patch
series that can be completed elsewhere, or in a different branch,
before merging back to HEAD.
Dr. Stephen Henson [Tue, 11 Nov 2008 12:38:25 +0000 (12:38 +0000)]
Tolerate -----BEGIN PKCS #7 SIGNED DATA----- header lines as used by some
implementations.
Dr. Stephen Henson [Tue, 11 Nov 2008 12:23:18 +0000 (12:23 +0000)]
Update from stable branch.
Dr. Stephen Henson [Tue, 11 Nov 2008 10:17:54 +0000 (10:17 +0000)]
Update from stable branch.
Bodo Möller [Tue, 11 Nov 2008 07:08:59 +0000 (07:08 +0000)]
symbol deobnoxification
Dr. Stephen Henson [Mon, 10 Nov 2008 19:08:37 +0000 (19:08 +0000)]
Make -DKSSL_DEBUG work again.
Lutz Jänicke [Mon, 10 Nov 2008 11:26:44 +0000 (11:26 +0000)]
Clarify (non-)blocking behavior of EGD socket interface used by RAND_egd().
Dr. Stephen Henson [Wed, 5 Nov 2008 23:14:32 +0000 (23:14 +0000)]
PR: 1777
Submitted by: "Alon Bar-Lev" <alon.barlev@gmail.com>
Approved by: steve@openssl.org
Fix some size_t issues.
Dr. Stephen Henson [Wed, 5 Nov 2008 18:39:08 +0000 (18:39 +0000)]
Update obsolete email address...
Dr. Stephen Henson [Wed, 5 Nov 2008 18:28:24 +0000 (18:28 +0000)]
Don't use clobbered 'i' for checking UTCTime and GeneralizedTime length.
Ben Laurie [Tue, 4 Nov 2008 15:16:23 +0000 (15:16 +0000)]
Only one of these needs to be signed.
Ben Laurie [Tue, 4 Nov 2008 12:06:09 +0000 (12:06 +0000)]
Formatting.
Andy Polyakov [Mon, 3 Nov 2008 21:15:07 +0000 (21:15 +0000)]
Add initial support for mingw64.
PR: 1693
Submitted by: Alon Bar-Lev
Andy Polyakov [Mon, 3 Nov 2008 08:46:07 +0000 (08:46 +0000)]
Minor perlasm updates.
Dr. Stephen Henson [Sun, 2 Nov 2008 18:29:27 +0000 (18:29 +0000)]
Not sure about this one... seems to be needed to make 64 bit release
builds work properly...
Dr. Stephen Henson [Sun, 2 Nov 2008 18:12:36 +0000 (18:12 +0000)]
Fix prototypes.
Dr. Stephen Henson [Sun, 2 Nov 2008 16:56:13 +0000 (16:56 +0000)]
Use stddef.h to pick up size_t def.
Dr. Stephen Henson [Sun, 2 Nov 2008 16:13:19 +0000 (16:13 +0000)]
Fix prototypes.
Dr. Stephen Henson [Sun, 2 Nov 2008 16:00:39 +0000 (16:00 +0000)]
Update HMAC functions to return an error where relevant.
Dr. Stephen Henson [Sun, 2 Nov 2008 15:41:30 +0000 (15:41 +0000)]
Fix warnings: printf format mismatches on 64 bit platforms.
Change assert to OPENSSL_assert().
Fix e_padlock prototype.
Ben Laurie [Sun, 2 Nov 2008 13:15:06 +0000 (13:15 +0000)]
Fix asserts. Fix incorrect dependency.
Dr. Stephen Henson [Sun, 2 Nov 2008 12:50:48 +0000 (12:50 +0000)]
Fix warnings about mismatched prototypes, undefined size_t and value computed
not used.