openssl.git
12 years agoFix for asm/no-asm on WIN32.
Dr. Stephen Henson [Mon, 13 Aug 2007 02:24:26 +0000 (02:24 +0000)]
Fix for asm/no-asm on WIN32.

12 years agoOPENSSL_NO_TLS1 WIN32 build support. Fix so normal build works again.
Dr. Stephen Henson [Sun, 12 Aug 2007 23:59:05 +0000 (23:59 +0000)]
OPENSSL_NO_TLS1 WIN32 build support. Fix so normal build works again.

12 years agoFix warning and make no-tlsext work.
Dr. Stephen Henson [Sun, 12 Aug 2007 18:56:14 +0000 (18:56 +0000)]
Fix warning and make no-tlsext work.

12 years agoTypo.
Dr. Stephen Henson [Sun, 12 Aug 2007 18:05:20 +0000 (18:05 +0000)]
Typo.

12 years agoFix warnings.
Dr. Stephen Henson [Sun, 12 Aug 2007 17:44:32 +0000 (17:44 +0000)]
Fix warnings.

12 years agoRemove debugging fprintfs, fix typo.
Dr. Stephen Henson [Sun, 12 Aug 2007 17:06:28 +0000 (17:06 +0000)]
Remove debugging fprintfs, fix typo.

12 years agoRFC4507 (including RFC4507bis) TLS stateless session resumption support
Dr. Stephen Henson [Sat, 11 Aug 2007 23:18:29 +0000 (23:18 +0000)]
RFC4507 (including RFC4507bis) TLS stateless session resumption support
for OpenSSL.

12 years agoTypos in ./config.
Andy Polyakov [Wed, 1 Aug 2007 11:20:39 +0000 (11:20 +0000)]
Typos in ./config.
PR: 1563

12 years agoMacOS X update.
Andy Polyakov [Tue, 31 Jul 2007 19:30:13 +0000 (19:30 +0000)]
MacOS X update.

12 years agoProper support for shared build under MacOS X.
Andy Polyakov [Tue, 31 Jul 2007 18:24:41 +0000 (18:24 +0000)]
Proper support for shared build under MacOS X.

12 years agoTypo in ppccpuid.pl.
Andy Polyakov [Tue, 31 Jul 2007 18:19:40 +0000 (18:19 +0000)]
Typo in ppccpuid.pl.

12 years agodocument -S and -nopad options in usage information
Bodo Möller [Tue, 31 Jul 2007 09:42:47 +0000 (09:42 +0000)]
document -S and -nopad options in usage information

12 years agoBuglet fixes and minor optimization in aes-x86_86 assembler.
Andy Polyakov [Mon, 30 Jul 2007 16:42:57 +0000 (16:42 +0000)]
Buglet fixes and minor optimization in aes-x86_86 assembler.

12 years agoMake preprocessor logic more fail-safe.
Andy Polyakov [Mon, 30 Jul 2007 11:53:01 +0000 (11:53 +0000)]
Make preprocessor logic more fail-safe.

12 years agoAs for inline vs. __inline. The original code implies that most compilers
Andy Polyakov [Mon, 30 Jul 2007 11:42:08 +0000 (11:42 +0000)]
As for inline vs. __inline. The original code implies that most compilers
understand inline, while WIN32 ones insist on __inline. Well, there are
other compilers that insist on __inline. At the same time it turned out
that most compilers understand both __inline and inline. I could find
only one that doesn't understand __inline, Sun C. In other words it seems
that __inline as preferred choice provides better coverage...

12 years agoMake ppccpuid AIX friendly.
Andy Polyakov [Mon, 30 Jul 2007 08:47:32 +0000 (08:47 +0000)]
Make ppccpuid AIX friendly.

12 years agoRespect ISO aliasing rules.
Andy Polyakov [Fri, 27 Jul 2007 20:34:10 +0000 (20:34 +0000)]
Respect ISO aliasing rules.
PR: 1296

12 years agoAES for IA64 update.
Andy Polyakov [Fri, 27 Jul 2007 18:20:52 +0000 (18:20 +0000)]
AES for IA64 update.

12 years agoia64cpuid update.
Andy Polyakov [Fri, 27 Jul 2007 18:03:27 +0000 (18:03 +0000)]
ia64cpuid update.

12 years agox86 perlasm updates.
Andy Polyakov [Wed, 25 Jul 2007 12:38:11 +0000 (12:38 +0000)]
x86 perlasm updates.

12 years agoConfigure update from 098.
Andy Polyakov [Tue, 24 Jul 2007 14:41:20 +0000 (14:41 +0000)]
Configure update from 098.

12 years agoUpdate debug-steve
Dr. Stephen Henson [Tue, 24 Jul 2007 00:27:25 +0000 (00:27 +0000)]
Update debug-steve

12 years agoAllow for option to skip hardware support.
Andy Polyakov [Mon, 23 Jul 2007 20:38:57 +0000 (20:38 +0000)]
Allow for option to skip hardware support.

12 years agomd32_common.h update.
Andy Polyakov [Mon, 23 Jul 2007 13:57:15 +0000 (13:57 +0000)]
md32_common.h update.

12 years agox86*cpuid update.
Andy Polyakov [Sat, 21 Jul 2007 14:46:27 +0000 (14:46 +0000)]
x86*cpuid update.

12 years agoComplete synchronization of aes-x86_64 with aes-586.
Andy Polyakov [Sat, 21 Jul 2007 14:20:46 +0000 (14:20 +0000)]
Complete synchronization of aes-x86_64 with aes-586.

12 years agoLppc_AES_[en|de]crypt_compact: size optimization.
Andy Polyakov [Thu, 19 Jul 2007 15:31:22 +0000 (15:31 +0000)]
Lppc_AES_[en|de]crypt_compact: size optimization.

12 years agoMinor optimization in AES_set_encryption_key for x86_64.
Andy Polyakov [Thu, 19 Jul 2007 14:59:26 +0000 (14:59 +0000)]
Minor optimization in AES_set_encryption_key for x86_64.

12 years ago_x86_64_AES_[en|de]crypt_compact: size optimization and aggressive
Andy Polyakov [Thu, 19 Jul 2007 14:29:41 +0000 (14:29 +0000)]
_x86_64_AES_[en|de]crypt_compact: size optimization and aggressive
T[ed]4 prefetch.

12 years agoWIN32 VC++ build fixes.
Dr. Stephen Henson [Wed, 18 Jul 2007 17:40:49 +0000 (17:40 +0000)]
WIN32 VC++ build fixes.

12 years agoshlib_wrap.sh update.
Andy Polyakov [Mon, 16 Jul 2007 14:00:08 +0000 (14:00 +0000)]
shlib_wrap.sh update.

12 years agogas -g doesn't tolerate unpadded .bytes in code segment.
Andy Polyakov [Fri, 13 Jul 2007 21:35:56 +0000 (21:35 +0000)]
gas -g doesn't tolerate unpadded .bytes in code segment.

12 years agoVarious minor updates to AES assembler modules.
Andy Polyakov [Fri, 13 Jul 2007 17:42:13 +0000 (17:42 +0000)]
Various minor updates to AES assembler modules.

12 years agoAdd _x86_64_AES_[en|de]crypt_compact.
Andy Polyakov [Fri, 13 Jul 2007 17:39:40 +0000 (17:39 +0000)]
Add _x86_64_AES_[en|de]crypt_compact.

12 years agoEVP_*_cfb1 was broken.
Andy Polyakov [Sun, 8 Jul 2007 19:14:02 +0000 (19:14 +0000)]
EVP_*_cfb1 was broken.
PR: 1318

12 years agobn_mul_recursive doesn't handle all cases correctly, which results in
Andy Polyakov [Sun, 8 Jul 2007 18:53:03 +0000 (18:53 +0000)]
bn_mul_recursive doesn't handle all cases correctly, which results in
BN_mul failures at certain key-length mixes.
PR: 1427

12 years agoTypo in str_lib.c
Andy Polyakov [Sat, 7 Jul 2007 20:11:12 +0000 (20:11 +0000)]
Typo in str_lib.c
PR: 1177

12 years agoFix build problem on Tru64.
Andy Polyakov [Fri, 29 Jun 2007 13:11:45 +0000 (13:11 +0000)]
Fix build problem on Tru64.

12 years agoLatest bn_mont.c modification broke ECDSA test. I've got math wrong, which
Andy Polyakov [Fri, 29 Jun 2007 13:10:19 +0000 (13:10 +0000)]
Latest bn_mont.c modification broke ECDSA test. I've got math wrong, which
is fixed now.

12 years agoFix warning.
Ben Laurie [Sat, 23 Jun 2007 18:47:51 +0000 (18:47 +0000)]
Fix warning.

12 years agoInline function declarations have to be prototypes.
Ben Laurie [Sat, 23 Jun 2007 18:40:16 +0000 (18:40 +0000)]
Inline function declarations have to be prototypes.

12 years agoFlush output in x86_64cpuid.pl.
Andy Polyakov [Thu, 21 Jun 2007 11:39:35 +0000 (11:39 +0000)]
Flush output in x86_64cpuid.pl.

12 years agoTypo in x86_64-mont.pl.
Andy Polyakov [Thu, 21 Jun 2007 11:38:52 +0000 (11:38 +0000)]
Typo in x86_64-mont.pl.
PR: 1549

12 years agoCHANGES update from 098-stable.
Andy Polyakov [Wed, 20 Jun 2007 17:46:43 +0000 (17:46 +0000)]
CHANGES update from 098-stable.

12 years agoOptimize OPENSSL_cleanse.
Andy Polyakov [Wed, 20 Jun 2007 17:36:39 +0000 (17:36 +0000)]
Optimize OPENSSL_cleanse.

12 years agobn_asm for s390x.
Andy Polyakov [Wed, 20 Jun 2007 14:10:16 +0000 (14:10 +0000)]
bn_asm for s390x.

12 years agoTypo in Linux part of sparcv9cap.c
Andy Polyakov [Wed, 20 Jun 2007 13:02:34 +0000 (13:02 +0000)]
Typo in Linux part of sparcv9cap.c
PR: 1532

12 years agoMake some shortcuts in sparcv9cap.c. Trouble is that di_walk_node result
Andy Polyakov [Wed, 20 Jun 2007 13:00:59 +0000 (13:00 +0000)]
Make some shortcuts in sparcv9cap.c. Trouble is that di_walk_node result
is inconsistent among CPU generations.

12 years agoSPARC Solaris and Linux assemblers treat .align directive differently.
Andy Polyakov [Wed, 20 Jun 2007 12:24:22 +0000 (12:24 +0000)]
SPARC Solaris and Linux assemblers treat .align directive differently.
PR: 1547

12 years agoUpdate from stable branch.
Dr. Stephen Henson [Tue, 19 Jun 2007 15:43:48 +0000 (15:43 +0000)]
Update from stable branch.

12 years agoUpdate .cvsignore
Dr. Stephen Henson [Mon, 18 Jun 2007 12:40:24 +0000 (12:40 +0000)]
Update .cvsignore

12 years agoMake ordinals consistent with OpenSSL 0.9.8
Dr. Stephen Henson [Mon, 18 Jun 2007 12:35:56 +0000 (12:35 +0000)]
Make ordinals consistent with OpenSSL 0.9.8

12 years agoEliminate conditional final subtraction in Montgomery assembler modules.
Andy Polyakov [Sun, 17 Jun 2007 17:10:03 +0000 (17:10 +0000)]
Eliminate conditional final subtraction in Montgomery assembler modules.

12 years agoPrivatize BN_*_no_branch.
Andy Polyakov [Mon, 11 Jun 2007 16:33:03 +0000 (16:33 +0000)]
Privatize BN_*_no_branch.

12 years agoCommentary updates and minor optimization for bn_mont.c.
Andy Polyakov [Mon, 11 Jun 2007 08:53:52 +0000 (08:53 +0000)]
Commentary updates and minor optimization for bn_mont.c.

12 years agoEliminate conditional final subtraction in Montgomery multiplication.
Andy Polyakov [Sun, 10 Jun 2007 19:34:38 +0000 (19:34 +0000)]
Eliminate conditional final subtraction in Montgomery multiplication.

12 years agoWIN32 fixes.
Dr. Stephen Henson [Fri, 8 Jun 2007 00:26:16 +0000 (00:26 +0000)]
WIN32 fixes.

12 years agoRemove unnecessary casts and avoid some warnings with gcc 4.2.
Dr. Stephen Henson [Thu, 7 Jun 2007 16:07:57 +0000 (16:07 +0000)]
Remove unnecessary casts and avoid some warnings with gcc 4.2.

12 years agoFinish gcc 4.2 changes.
Dr. Stephen Henson [Thu, 7 Jun 2007 13:14:42 +0000 (13:14 +0000)]
Finish gcc 4.2 changes.

12 years agoBack out safestack.h change for now: seems to break some things.
Dr. Stephen Henson [Mon, 4 Jun 2007 22:18:20 +0000 (22:18 +0000)]
Back out safestack.h change for now: seems to break some things.

12 years agoAvoid use of function pointer casts in pem library. Modify safestack to
Dr. Stephen Henson [Mon, 4 Jun 2007 17:53:04 +0000 (17:53 +0000)]
Avoid use of function pointer casts in pem library. Modify safestack to
always use inline functions.

12 years agoUpdate ssl library to support EVP_PKEY MAC API. Include generic MAC support.
Dr. Stephen Henson [Mon, 4 Jun 2007 17:04:40 +0000 (17:04 +0000)]
Update ssl library to support EVP_PKEY MAC API. Include generic MAC support.

12 years agoHandle NULL parameter in some EVP utility functions.
Dr. Stephen Henson [Thu, 31 May 2007 12:39:21 +0000 (12:39 +0000)]
Handle NULL parameter in some EVP utility functions.

12 years agoFix for GOST engine on platforms where sizeof(size_t) != sizeof(int).
Dr. Stephen Henson [Thu, 31 May 2007 12:32:27 +0000 (12:32 +0000)]
Fix for GOST engine on platforms where sizeof(size_t) != sizeof(int).

12 years agoAES_set_[en|de]crypt_key for ARMv4.
Andy Polyakov [Wed, 30 May 2007 15:57:31 +0000 (15:57 +0000)]
AES_set_[en|de]crypt_key for ARMv4.

12 years agos390x gas can't handle .align 128.
Andy Polyakov [Mon, 28 May 2007 16:32:50 +0000 (16:32 +0000)]
s390x gas can't handle .align 128.

12 years agoAES_set_[en|de]crypt_key for s390x.
Andy Polyakov [Mon, 28 May 2007 16:30:18 +0000 (16:30 +0000)]
AES_set_[en|de]crypt_key for s390x.

12 years agoUpdate ordinals.
Dr. Stephen Henson [Thu, 24 May 2007 10:17:49 +0000 (10:17 +0000)]
Update ordinals.

12 years agoFix X509_REQ_print_ex() to process extension options.
Dr. Stephen Henson [Tue, 22 May 2007 23:31:29 +0000 (23:31 +0000)]
Fix X509_REQ_print_ex() to process extension options.

12 years agoRevert broken change to ccgost.
Dr. Stephen Henson [Tue, 22 May 2007 12:58:39 +0000 (12:58 +0000)]
Revert broken change to ccgost.

Initialize context properly for HMAC pkey method.

12 years agoSHA256 for ARMv4.
Andy Polyakov [Tue, 22 May 2007 09:56:45 +0000 (09:56 +0000)]
SHA256 for ARMv4.

12 years agoFix crypto/ec/ec_mult.c to work properly with scalars of value 0
Bodo Möller [Tue, 22 May 2007 09:47:43 +0000 (09:47 +0000)]
Fix crypto/ec/ec_mult.c to work properly with scalars of value 0

12 years agoTypo.
Dr. Stephen Henson [Mon, 21 May 2007 16:36:09 +0000 (16:36 +0000)]
Typo.

12 years agoFixes for dgst tool. Initialize md_name, sig_name properly. Return error code
Dr. Stephen Henson [Mon, 21 May 2007 15:53:30 +0000 (15:53 +0000)]
Fixes for dgst tool. Initialize md_name, sig_name properly. Return error code
on failure. Keep output format consistent with previous versions.

Also flush stdout after printing ACCEPT in s_server.

12 years agoFix warning and back out bad modification.
Dr. Stephen Henson [Mon, 21 May 2007 12:16:36 +0000 (12:16 +0000)]
Fix warning and back out bad modification.

12 years agoOPENSSL_IMPLEMENT_GLOBAL caused more grief than it's worth (it's used twice
Andy Polyakov [Sun, 20 May 2007 20:11:19 +0000 (20:11 +0000)]
OPENSSL_IMPLEMENT_GLOBAL caused more grief than it's worth (it's used twice
in legacy code). I'd rather just remove it along with legacy interface,
but it's probably not as appropriate as I'd like. Reimplement the macro.

12 years agoPadlock engine fails to compile with -O0 -fPIC.
Andy Polyakov [Sun, 20 May 2007 07:13:45 +0000 (07:13 +0000)]
Padlock engine fails to compile with -O0 -fPIC.

12 years agoTypo in aes-ppc.pl.
Andy Polyakov [Sat, 19 May 2007 20:00:33 +0000 (20:00 +0000)]
Typo in aes-ppc.pl.

12 years ago--enable-auto-image-base in cygwin build.
Andy Polyakov [Sat, 19 May 2007 19:40:15 +0000 (19:40 +0000)]
--enable-auto-image-base in cygwin build.
PR: 1517
Submitted by: vinschen@redhat.com

12 years agoTypo in x509_txt.c.
Andy Polyakov [Sat, 19 May 2007 18:03:21 +0000 (18:03 +0000)]
Typo in x509_txt.c.

Submitted by: Martin.Kraemer@Fujitsu-Siemens.com

12 years agox86cpuid fixes.
Andy Polyakov [Sat, 19 May 2007 17:52:51 +0000 (17:52 +0000)]
x86cpuid fixes.
PR: 1526

12 years agoppc-xlate.pl update.
Andy Polyakov [Sat, 19 May 2007 17:32:06 +0000 (17:32 +0000)]
ppc-xlate.pl update.

12 years agosparccpuid.s update.
Andy Polyakov [Sat, 19 May 2007 17:26:48 +0000 (17:26 +0000)]
sparccpuid.s update.

12 years agoInitial draft of AES for PPC.
Andy Polyakov [Sat, 19 May 2007 17:16:27 +0000 (17:16 +0000)]
Initial draft of AES for PPC.

12 years agoUpdated GOST MAC support.
Dr. Stephen Henson [Fri, 18 May 2007 15:55:55 +0000 (15:55 +0000)]
Updated GOST MAC support.

Submitted by: vitus@cryptocom.ru

12 years agoInitial GOST MAC support. Not fully working yet...
Dr. Stephen Henson [Thu, 17 May 2007 17:44:09 +0000 (17:44 +0000)]
Initial GOST MAC support. Not fully working yet...

12 years agoAdd .cvsignore to seed dir.
Dr. Stephen Henson [Thu, 17 May 2007 16:43:15 +0000 (16:43 +0000)]
Add .cvsignore to seed dir.

12 years agoSet len to buffer size.
Dr. Stephen Henson [Thu, 17 May 2007 16:42:05 +0000 (16:42 +0000)]
Set len to buffer size.

12 years agoPrepend signature name in dgst output.
Dr. Stephen Henson [Thu, 17 May 2007 16:19:17 +0000 (16:19 +0000)]
Prepend signature name in dgst output.

12 years agoUse default md if none specified in dgst utility.
Dr. Stephen Henson [Thu, 17 May 2007 12:55:03 +0000 (12:55 +0000)]
Use default md if none specified in dgst utility.

12 years agoUse EVP_DigestVerify() in dgst.c if verifying.
Dr. Stephen Henson [Thu, 17 May 2007 12:35:32 +0000 (12:35 +0000)]
Use EVP_DigestVerify() in dgst.c if verifying.

12 years agoPR: 1516
Dr. Stephen Henson [Wed, 16 May 2007 12:16:49 +0000 (12:16 +0000)]
PR: 1516

Revert change in 1516 because it breaks Windows build. Use a modified version
of the headers from s_client.c which has used similar functionality without
any problems.

12 years agoFix error code name.
Dr. Stephen Henson [Wed, 16 May 2007 00:14:32 +0000 (00:14 +0000)]
Fix error code name.

12 years agoNew function EVP_PKEY_asn1_copy(). Use default MD if type param is NULL.
Dr. Stephen Henson [Tue, 15 May 2007 23:52:03 +0000 (23:52 +0000)]
New function EVP_PKEY_asn1_copy(). Use default MD if type param is NULL.

12 years agoChange C++ style comments.
Dr. Stephen Henson [Tue, 15 May 2007 23:50:55 +0000 (23:50 +0000)]
Change C++ style comments.

12 years agoThrow in ppccpuid module.
Andy Polyakov [Tue, 15 May 2007 20:51:48 +0000 (20:51 +0000)]
Throw in ppccpuid module.

12 years agoFix linking error after adding alphacpuid.s.
Andy Polyakov [Tue, 15 May 2007 07:11:23 +0000 (07:11 +0000)]
Fix linking error after adding alphacpuid.s.

12 years agoAdd alphacpuid.s
Andy Polyakov [Tue, 15 May 2007 06:36:17 +0000 (06:36 +0000)]
Add alphacpuid.s

12 years agoProfiling revealed that OPENSSL_cleanse consumes *more* CPU time than
Andy Polyakov [Mon, 14 May 2007 21:35:25 +0000 (21:35 +0000)]
Profiling revealed that OPENSSL_cleanse consumes *more* CPU time than
sha1_block_data_order when hashing short messages. Move OPENSSL_cleanse
to "cpuid" assembler module and gain 2x.

12 years agox86_64 assembler updates.
Andy Polyakov [Mon, 14 May 2007 15:57:19 +0000 (15:57 +0000)]
x86_64 assembler updates.