Andy Polyakov [Mon, 26 Jul 2010 21:54:21 +0000 (21:54 +0000)]
ghash-ia64.pl: excuse myself from implementing "528B" variant.
Andy Polyakov [Mon, 26 Jul 2010 21:53:01 +0000 (21:53 +0000)]
modes/Makefile: update clean rule.
Andy Polyakov [Mon, 26 Jul 2010 21:50:39 +0000 (21:50 +0000)]
eng_aesni.c: switch to CRYPTO_ctr128_encrypt_ctr32.
Andy Polyakov [Mon, 26 Jul 2010 21:48:39 +0000 (21:48 +0000)]
aes-x86_64.pl: remove redundant instructions.
Andy Polyakov [Mon, 26 Jul 2010 21:45:38 +0000 (21:45 +0000)]
perlasm/x86_64-xlate.pl: extend SSE>2 to ml64.
Andy Polyakov [Mon, 26 Jul 2010 21:44:03 +0000 (21:44 +0000)]
aesni-x86_64.pl: fix typos.
Andy Polyakov [Mon, 26 Jul 2010 21:42:07 +0000 (21:42 +0000)]
perlasm/x86asm.pl: move aesni and pclmulqdq opcodes to aesni-x86.pl and
ghash-x86.pl.
Dr. Stephen Henson [Mon, 26 Jul 2010 18:15:59 +0000 (18:15 +0000)]
Add new type ossl_ssize_t instead of ssize_t and move definitions to
e_os2.h, this should fix WIN32 compilation issues and hopefully avoid
conflicts with other headers which may workaround ssize_t in different ways.
Dr. Stephen Henson [Mon, 26 Jul 2010 18:15:13 +0000 (18:15 +0000)]
#if out deleted function from headers so it isn't picked up by WIN32 build
system.
Dr. Stephen Henson [Mon, 26 Jul 2010 13:17:17 +0000 (13:17 +0000)]
WIN32 build fix.
Dr. Stephen Henson [Sun, 25 Jul 2010 19:13:30 +0000 (19:13 +0000)]
Sync ordinals and update.
Dr. Stephen Henson [Sun, 25 Jul 2010 19:12:45 +0000 (19:12 +0000)]
Update symhacks.
Dr. Stephen Henson [Sun, 25 Jul 2010 18:12:44 +0000 (18:12 +0000)]
Add modes.h and cmac to WIN32 build system.
Andy Polyakov [Sun, 25 Jul 2010 15:17:01 +0000 (15:17 +0000)]
aesni-x86[_64].pl: fine-tune, add CCM subroutine, add performance data.
Dr. Stephen Henson [Sat, 24 Jul 2010 17:52:43 +0000 (17:52 +0000)]
Fix WIN32 build system to correctly link ENGINE DLLs contained in a
directory: currently the GOST ENGINE is the only case.
Dr. Stephen Henson [Wed, 21 Jul 2010 16:14:48 +0000 (16:14 +0000)]
Add call to ENGINE_register_all_complete() to ENGINE_load_builtin_engines(),
this means that some implementations will be used automatically, e.g. aesni,
we do this for cryptodev anyway.
Setup cpuid in ENGINE_load_builtin_engines() too as some ENGINEs use it.
Dr. Stephen Henson [Sun, 18 Jul 2010 17:43:18 +0000 (17:43 +0000)]
PR: 1830
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de>, Steve Henson
Support for RFC5705 key extractor.
Dr. Stephen Henson [Sun, 18 Jul 2010 17:43:01 +0000 (17:43 +0000)]
oops, revert wrong patch..
Dr. Stephen Henson [Sun, 18 Jul 2010 16:52:47 +0000 (16:52 +0000)]
Fix warnings (From HEAD, original patch by Ben).
Andy Polyakov [Fri, 16 Jul 2010 08:15:28 +0000 (08:15 +0000)]
Makefile.shared: link_o.darwin comment update.
Andy Polyakov [Fri, 16 Jul 2010 08:13:39 +0000 (08:13 +0000)]
Configure: suppress $multilib with non-system $prefix.
PR: 2307
Andy Polyakov [Thu, 15 Jul 2010 13:55:38 +0000 (13:55 +0000)]
Makefile.shared: debugging line slipped through in previous commit.
Andy Polyakov [Thu, 15 Jul 2010 13:53:23 +0000 (13:53 +0000)]
Makefile.shared: update link_o.dawrin rule.
PR: 2306
Andy Polyakov [Wed, 14 Jul 2010 08:43:38 +0000 (08:43 +0000)]
aes-s390x.pl: revisit buffer allocation and add performance data.
Andy Polyakov [Tue, 13 Jul 2010 14:11:44 +0000 (14:11 +0000)]
sha1-armv4-large.pl: add performance data for Cortex A8 core.
Andy Polyakov [Tue, 13 Jul 2010 14:03:31 +0000 (14:03 +0000)]
ARM assembler pack: reschedule instructions for dual-issue pipeline.
Modest improvement coefficients mean that code already had some
parallelism and there was not very much room for improvement. Special
thanks to Ted Krovetz for benchmarking the code with such patience.
Dr. Stephen Henson [Fri, 9 Jul 2010 17:26:04 +0000 (17:26 +0000)]
PR: 2297
Submitted by: Antony, Benoy <bantony@ebay.com>
Approved by: steve@openssl.org
Fix bug in AES wrap code when t > 0xff.
Andy Polyakov [Fri, 9 Jul 2010 16:19:41 +0000 (16:19 +0000)]
Configure: fix aes_ctr.o regexp.
Andy Polyakov [Fri, 9 Jul 2010 14:30:54 +0000 (14:30 +0000)]
INSTALL.W32: mention _OPENSSL_isservice().
PR: 2194
Andy Polyakov [Fri, 9 Jul 2010 14:10:51 +0000 (14:10 +0000)]
gcm128.c: API modification and readability improvements,
add ghash benchmark to apps/speed.c.
Andy Polyakov [Fri, 9 Jul 2010 12:21:52 +0000 (12:21 +0000)]
Rework framework for assembler support for AES counter mode and add
AES_ctr32_encrypt to aes-s390x.pl.
Andy Polyakov [Fri, 9 Jul 2010 12:11:12 +0000 (12:11 +0000)]
Harmonize s390x assembler modules with "catch-all" rules from commit#19749.
Andy Polyakov [Thu, 8 Jul 2010 15:06:01 +0000 (15:06 +0000)]
armv4-mont.pl: addenum to previous commit#19749.
Andy Polyakov [Thu, 8 Jul 2010 15:03:42 +0000 (15:03 +0000)]
crypto/*/Makefile: unify "catch-all" assembler make rules and harmonize
ARM assembler modules.
Andy Polyakov [Thu, 8 Jul 2010 09:14:00 +0000 (09:14 +0000)]
rand_nw.c: compensate for gcc bug (using %edx instead of %eax at -O3).
PR: 2296
Andy Polyakov [Thu, 8 Jul 2010 09:00:00 +0000 (09:00 +0000)]
PROBLEMS: MacOS X is not necessarily a problem anymore.
Andy Polyakov [Thu, 8 Jul 2010 07:47:35 +0000 (07:47 +0000)]
sparcv9cap.c: reiterate CPU detection logic.
Dr. Stephen Henson [Mon, 5 Jul 2010 11:05:24 +0000 (11:05 +0000)]
i variable is used on some platforms
Andy Polyakov [Fri, 2 Jul 2010 08:14:12 +0000 (08:14 +0000)]
ghash-armv4.pl: excuse myself from implementing "528B" flavour.
Andy Polyakov [Fri, 2 Jul 2010 08:09:30 +0000 (08:09 +0000)]
ghash-sparcv9.pl: fix Makefile rule and add performance data for T1.
Andy Polyakov [Fri, 2 Jul 2010 08:06:56 +0000 (08:06 +0000)]
crypto/sparc*: eliminate _sparcv9_rdwrasi.
Andy Polyakov [Thu, 1 Jul 2010 07:34:56 +0000 (07:34 +0000)]
SPARCv9 assembler pack: refine CPU detection on Linux, fix for "unaligned
opcodes detected in executable segment" error.
Dr. Stephen Henson [Sun, 27 Jun 2010 14:43:03 +0000 (14:43 +0000)]
no need for empty fragments with TLS 1.1 and later due to explicit IV
Dr. Stephen Henson [Wed, 16 Jun 2010 13:15:31 +0000 (13:15 +0000)]
clarify comment
Ben Laurie [Sat, 12 Jun 2010 14:13:23 +0000 (14:13 +0000)]
Fix warnings.
Andy Polyakov [Wed, 9 Jun 2010 15:48:25 +0000 (15:48 +0000)]
VC-32.pl: fix /Fd name generation.
PR: 2284
Andy Polyakov [Wed, 9 Jun 2010 15:05:59 +0000 (15:05 +0000)]
ghash-x86_64.pl: "528B" variant delivers further >30% improvement.
Andy Polyakov [Wed, 9 Jun 2010 15:05:14 +0000 (15:05 +0000)]
ghash-x86.pl: commentary updates.
Andy Polyakov [Fri, 4 Jun 2010 13:21:01 +0000 (13:21 +0000)]
ghash-x86.pl: "528B" variant of gcm_ghash_4bit_mmx gives 20-40%
improvement.
Andy Polyakov [Fri, 4 Jun 2010 13:13:18 +0000 (13:13 +0000)]
x86 perlasm: add support for 16-bit values.
Dr. Stephen Henson [Tue, 1 Jun 2010 15:23:21 +0000 (15:23 +0000)]
update FAQ
Dr. Stephen Henson [Tue, 1 Jun 2010 14:39:01 +0000 (14:39 +0000)]
add CVE-2010-0742 and CVS-2010-1633 fixes
Andy Polyakov [Tue, 1 Jun 2010 06:02:47 +0000 (06:02 +0000)]
VC-32.pl: unconditionally generate symbols.pdb.
Andy Polyakov [Tue, 1 Jun 2010 05:56:24 +0000 (05:56 +0000)]
x86_64-xlate.pl: refine mingw support and regexps, update commentary.
Andy Polyakov [Tue, 1 Jun 2010 05:52:39 +0000 (05:52 +0000)]
Configure: update mingw config-lines.
Dr. Stephen Henson [Mon, 31 May 2010 13:18:21 +0000 (13:18 +0000)]
fix PR#2261 in a different way
Dr. Stephen Henson [Sat, 29 May 2010 12:49:20 +0000 (12:49 +0000)]
PR: 2278
Submitted By: Mattias Ellert <mattias.ellert@fysast.uu.se>
Fix type checking macro SKM_ASN1_SET_OF_i2d
Dr. Stephen Henson [Thu, 27 May 2010 15:05:30 +0000 (15:05 +0000)]
update NEWS
Dr. Stephen Henson [Thu, 27 May 2010 14:09:03 +0000 (14:09 +0000)]
PR: 2262
Submitted By: Victor Wagner <vitus@cryptocom.ru>
Fix error reporting in load_key function.
Dr. Stephen Henson [Thu, 27 May 2010 13:07:22 +0000 (13:07 +0000)]
PR: 2261
Submitted By: De Rudder, Stephen L." <s_derudder@tditx.com>
Workaround for newer Windows headers which define EADDRINUSE but not to the
same value as WSAEADDRINUSE.
Dr. Stephen Henson [Thu, 27 May 2010 12:41:05 +0000 (12:41 +0000)]
PR: 2258
Submitted By: Ger Hobbelt <ger@hobbelt.com>
Base64 BIO fixes:
Use OPENSSL_assert() instead of assert().
Use memmove() as buffers overlap.
Fix write retry logic.
Dr. Stephen Henson [Wed, 26 May 2010 23:23:34 +0000 (23:23 +0000)]
PR: 2266
Submitted By: Jonathan Gray <jsg@goblin.cx>
Correct ioctl definitions.
Andy Polyakov [Wed, 26 May 2010 21:36:36 +0000 (21:36 +0000)]
gcm128.c: P.-M. Hager has tipped about possibility to fold reductions
in gcm_ghash_4bit. Taking the idea a step further I've added extra
256+16 bytes of per-key storage, so that one can speak about 3rd variant
in addition to "256B" and "4KB": "528B" one. Commonly it should be
~50% faster than "256B" implementation or ~25% slower than "4KB" one.
Dr. Stephen Henson [Wed, 26 May 2010 16:17:16 +0000 (16:17 +0000)]
Avoid use of ex_data free function in Chil ENGINE so it can be safely
reloaded.
Andy Polyakov [Sun, 23 May 2010 12:37:01 +0000 (12:37 +0000)]
ghash-x86.pl: MMX optimization (+20-40%) and commentary update.
Andy Polyakov [Sun, 23 May 2010 12:35:41 +0000 (12:35 +0000)]
gcm128.c: commentary update.
Dr. Stephen Henson [Sat, 22 May 2010 00:40:38 +0000 (00:40 +0000)]
PR: 2254
Submitted by: Ger Hobbelt <ger@hobbelt.com>
Approved by: steve@openssl.org
Check for <= 0 i2d return value.
Dr. Stephen Henson [Sat, 22 May 2010 00:30:41 +0000 (00:30 +0000)]
PR: 2251
Submitted by: Ger Hobbelt <ger@hobbelt.com>
Approved by: steve@openssl.org
Memleak, BIO chain leak and realloc checks in v3_pci.c
Dr. Stephen Henson [Sat, 22 May 2010 00:20:42 +0000 (00:20 +0000)]
Stop compiler complaining in pedantic mode: may be a better way to do this...
Dr. Stephen Henson [Thu, 20 May 2010 17:36:05 +0000 (17:36 +0000)]
oops, typo
Dr. Stephen Henson [Thu, 20 May 2010 17:28:37 +0000 (17:28 +0000)]
Update cms-test.pl to handle some Unix like Windows environments where
calling shlib_wrap.sh doesn't work.
Dr. Stephen Henson [Mon, 17 May 2010 11:27:22 +0000 (11:27 +0000)]
PR: 2259
Submitted By: Artem Chuprina <ran@cryptocom.ru>
Check return values of HMAC in tls_P_hash and tls1_generate_key_block.
Although the previous version could in theory crash that would only happen if a
digest call failed. The standard software methods can never fail and only one
ENGINE currently uses digests and it is not compiled in by default.
Dr. Stephen Henson [Sat, 15 May 2010 00:35:39 +0000 (00:35 +0000)]
oops, revert test patch
Dr. Stephen Henson [Sat, 15 May 2010 00:34:06 +0000 (00:34 +0000)]
PR: 2253
Submitted By: Ger Hobbelt <ger@hobbelt.com>
Check callback return value when outputting errors.
Dr. Stephen Henson [Sat, 15 May 2010 00:19:44 +0000 (00:19 +0000)]
PR: 2255
Submitted By: Ger Hobbelt <ger@hobbelt.com>
Place RSA dependent variable under #ifndef OPENSSL_NO_RSA
Andy Polyakov [Thu, 13 May 2010 21:01:24 +0000 (21:01 +0000)]
rc4-x86_64.pl: "Westmere" optimization.
Andy Polyakov [Thu, 13 May 2010 17:21:52 +0000 (17:21 +0000)]
ghash-x86[_64].pl: add due credit.
Andy Polyakov [Thu, 13 May 2010 15:32:43 +0000 (15:32 +0000)]
GCM "jumbo" update:
- gcm128.c: support for Intel PCLMULQDQ, readability improvements;
- asm/ghash-x86.pl: splitted vanilla, MMX, PCLMULQDQ subroutines;
- asm/ghash-x86_64.pl: add PCLMULQDQ implementations.
Andy Polyakov [Thu, 13 May 2010 15:28:07 +0000 (15:28 +0000)]
x86asm.pl: consistency imrovements.
Andy Polyakov [Thu, 13 May 2010 15:26:46 +0000 (15:26 +0000)]
x86_64-xlate.pl: refine some regexp's and add support for OWORD/QWORD PTR.
Andy Polyakov [Wed, 5 May 2010 22:05:39 +0000 (22:05 +0000)]
Revert previous Linux-specific/centric commit#19629. If it really has to
be done, it's definitely not the way to do it. So far answer to the
question was to ./config -Wa,--noexecstack (adopted by RedHat).
Ben Laurie [Wed, 5 May 2010 15:50:13 +0000 (15:50 +0000)]
Non-executable stack in asm.
Andy Polyakov [Tue, 4 May 2010 19:23:02 +0000 (19:23 +0000)]
"Jumbo" update for crypto/modes:
- introduce common modes_lcl.h;
- ctr128.c: implement additional CRYPTO_ctr128_encrypt_ctr32 interface;
- gcm128.c: add omitted ARM initialization, remove ctx.ctr;
Andy Polyakov [Mon, 3 May 2010 18:23:29 +0000 (18:23 +0000)]
Add ghash-armv4.pl.
Dr. Stephen Henson [Mon, 3 May 2010 15:30:07 +0000 (15:30 +0000)]
PR: 2252
Submitted By: Ger Hobbelt <ger@hobbelt.com>
Update docs to BIO_f_buffer()
Dr. Stephen Henson [Mon, 3 May 2010 13:01:40 +0000 (13:01 +0000)]
PR: 2230
Submitted By: Robin Seggelmann <seggelmann@fh-muenster.de>
Fix bug in bitmask macros and stop warnings.
Dr. Stephen Henson [Mon, 3 May 2010 12:50:36 +0000 (12:50 +0000)]
PR: 2244
Submitted By: "PMHager" <hager@dortmund.net>
Initialise pkey callback to 0.
Dr. Stephen Henson [Mon, 3 May 2010 12:24:01 +0000 (12:24 +0000)]
PR: 2250
Submitted By: Ger Hobbelt <ger@hobbelt.com>
Don't overwrite return value with strlen(f).
Dr. Stephen Henson [Mon, 3 May 2010 12:17:44 +0000 (12:17 +0000)]
experimental function to convert ASN1_TIME to tm, not used or even compiled in yet
Ben Laurie [Sat, 1 May 2010 14:41:25 +0000 (14:41 +0000)]
Missing declarations, no assembler in PEDANTIC.
Andy Polyakov [Wed, 28 Apr 2010 20:02:28 +0000 (20:02 +0000)]
bss_file.c: refine UTF-8 logic on Windows.
Andy Polyakov [Wed, 28 Apr 2010 18:51:45 +0000 (18:51 +0000)]
Add ghash-parisc.pl.
Andy Polyakov [Thu, 22 Apr 2010 21:36:26 +0000 (21:36 +0000)]
Take gcm128.c and ghash assembler modules into the build loop.
Andy Polyakov [Wed, 21 Apr 2010 20:38:21 +0000 (20:38 +0000)]
bss_file.c: reserve for option to encode file name with UTF-8.
Andy Polyakov [Tue, 20 Apr 2010 20:40:46 +0000 (20:40 +0000)]
md5-ia64.S: fix assembler warning.
Dr. Stephen Henson [Tue, 20 Apr 2010 12:53:18 +0000 (12:53 +0000)]
PR: 2241
Submitted By: Artemy Lebedev <vagran.ast@gmail.com>
Typo.
Dr. Stephen Henson [Thu, 15 Apr 2010 13:25:26 +0000 (13:25 +0000)]
new function to diff tm structures
Dr. Stephen Henson [Thu, 15 Apr 2010 13:24:20 +0000 (13:24 +0000)]
oops revert patch not part of Configure diff
Dr. Stephen Henson [Thu, 15 Apr 2010 13:17:15 +0000 (13:17 +0000)]
oops, commit Configure part of PR#2234
Dr. Stephen Henson [Wed, 14 Apr 2010 23:07:12 +0000 (23:07 +0000)]
PR: 2234
Submitted By: Matthias Andree <matthias.andree@gmx.de>
Use correct path to openssl utility in c_rehash script.