openssl.git
16 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.

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

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

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

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

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

16 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).

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

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

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

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

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

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

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

16 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

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

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

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

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

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

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

16 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

16 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

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

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

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

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

16 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

16 years agoAs all assembler modules are alignment neutral, allow C to pass unaligned
Andy Polyakov [Sun, 13 May 2007 15:16:44 +0000 (15:16 +0000)]
As all assembler modules are alignment neutral, allow C to pass unaligned
content.

16 years agoMake sha*-ia64 modules alignment neutral.
Andy Polyakov [Sun, 13 May 2007 15:15:24 +0000 (15:15 +0000)]
Make sha*-ia64 modules alignment neutral.

16 years agoMore IGE speedup.
Ben Laurie [Sun, 13 May 2007 15:14:38 +0000 (15:14 +0000)]
More IGE speedup.

16 years agoAES IGE mode speedup.
Ben Laurie [Sun, 13 May 2007 12:57:59 +0000 (12:57 +0000)]
AES IGE mode speedup.

16 years agoDocument streaming options.
Dr. Stephen Henson [Fri, 11 May 2007 12:08:38 +0000 (12:08 +0000)]
Document streaming options.

16 years agoImprove error detection when streaming S/MIME.
Dr. Stephen Henson [Thu, 10 May 2007 17:37:15 +0000 (17:37 +0000)]
Improve error detection when streaming S/MIME.

Only use streaming when appropriate for detached data in smime utility.

16 years agoTidy up docs, remove warning.
Dr. Stephen Henson [Thu, 10 May 2007 17:35:37 +0000 (17:35 +0000)]
Tidy up docs, remove warning.

16 years agoMore useful ASN1 macros for static allocation functions.
Dr. Stephen Henson [Thu, 10 May 2007 17:34:42 +0000 (17:34 +0000)]
More useful ASN1 macros for static allocation functions.

16 years agoMention Core2 in sha1-x86_64.
Andy Polyakov [Thu, 10 May 2007 07:34:50 +0000 (07:34 +0000)]
Mention Core2 in sha1-x86_64.

16 years agoCommentary updates to SHA for sparcv9.
Andy Polyakov [Thu, 10 May 2007 06:48:28 +0000 (06:48 +0000)]
Commentary updates to SHA for sparcv9.

16 years agoDetect UltraSPARC T1 in ./config.
Andy Polyakov [Fri, 4 May 2007 13:04:17 +0000 (13:04 +0000)]
Detect UltraSPARC T1 in ./config.

16 years agoEngage SHA for sparcv9.
Andy Polyakov [Fri, 4 May 2007 12:54:02 +0000 (12:54 +0000)]
Engage SHA for sparcv9.

16 years agoSHA for sparcv9.
Andy Polyakov [Fri, 4 May 2007 12:52:54 +0000 (12:52 +0000)]
SHA for sparcv9.

16 years agoFix bug introduced in cn#16195.
Andy Polyakov [Thu, 3 May 2007 09:12:47 +0000 (09:12 +0000)]
Fix bug introduced in cn#16195.

16 years agoFine reading of manual suggests that km can return non-normal completion code.
Andy Polyakov [Thu, 3 May 2007 07:26:27 +0000 (07:26 +0000)]
Fine reading of manual suggests that km can return non-normal completion code.

16 years agoFix s390x bugs and correct performance coefficients.
Andy Polyakov [Wed, 2 May 2007 11:44:02 +0000 (11:44 +0000)]
Fix s390x bugs and correct performance coefficients.

16 years agoSynchronise VMS with Unix.
Richard Levitte [Tue, 1 May 2007 12:25:15 +0000 (12:25 +0000)]
Synchronise VMS with Unix.

16 years agoRevert irrelevant changes from commit #16191.
Andy Polyakov [Mon, 30 Apr 2007 17:22:09 +0000 (17:22 +0000)]
Revert irrelevant changes from commit #16191.

16 years agorll does not seem to be available on legacy s390.
Andy Polyakov [Mon, 30 Apr 2007 17:19:12 +0000 (17:19 +0000)]
rll does not seem to be available on legacy s390.

16 years agoTypo in commit #16187.
Andy Polyakov [Mon, 30 Apr 2007 15:55:00 +0000 (15:55 +0000)]
Typo in commit #16187.

16 years agoTypo in s390x_asm.
Andy Polyakov [Mon, 30 Apr 2007 15:48:54 +0000 (15:48 +0000)]
Typo in s390x_asm.

16 years agoBug in apps/dgst.c.
Andy Polyakov [Mon, 30 Apr 2007 15:20:10 +0000 (15:20 +0000)]
Bug in apps/dgst.c.

16 years agos390x optimizations.
Andy Polyakov [Mon, 30 Apr 2007 13:26:06 +0000 (13:26 +0000)]
s390x optimizations.

16 years agoEngage s390x assembler modules.
Andy Polyakov [Mon, 30 Apr 2007 09:22:27 +0000 (09:22 +0000)]
Engage s390x assembler modules.

16 years agos390x assembler pack.
Andy Polyakov [Mon, 30 Apr 2007 08:42:54 +0000 (08:42 +0000)]
s390x assembler pack.

16 years agoReimplement rc4-586.pl, relicense rc4-x86_64.pl.
Andy Polyakov [Thu, 26 Apr 2007 20:48:38 +0000 (20:48 +0000)]
Reimplement rc4-586.pl, relicense rc4-x86_64.pl.

17 years agofix function codes for error
Bodo Möller [Tue, 24 Apr 2007 01:06:19 +0000 (01:06 +0000)]
fix function codes for error

17 years agoremove leftover from editing ...
Bodo Möller [Tue, 24 Apr 2007 00:47:53 +0000 (00:47 +0000)]
remove leftover from editing ...

17 years agoAll ciphersuites should have a strength designator.
Bodo Möller [Tue, 24 Apr 2007 00:13:51 +0000 (00:13 +0000)]
All ciphersuites should have a strength designator.

17 years agoAdd SEED encryption algorithm.
Bodo Möller [Mon, 23 Apr 2007 23:48:59 +0000 (23:48 +0000)]
Add SEED encryption algorithm.

PR: 1503
Submitted by: KISA
Reviewed by: Bodo Moeller

17 years agofix error codes
Bodo Möller [Thu, 19 Apr 2007 15:14:21 +0000 (15:14 +0000)]
fix error codes

17 years agodon't violate the bn_check_top assertion in BN_mod_inverse_no_branch()
Bodo Möller [Thu, 19 Apr 2007 14:45:57 +0000 (14:45 +0000)]
don't violate the bn_check_top assertion in BN_mod_inverse_no_branch()

17 years agoNew function ASN1_STRING_copy() to copy to an already
Dr. Stephen Henson [Sat, 14 Apr 2007 17:53:55 +0000 (17:53 +0000)]
New function ASN1_STRING_copy() to copy to an already
alloacted ASN1_STRING structure.

17 years agoSample text files for S/MIME test programs.
Dr. Stephen Henson [Fri, 13 Apr 2007 20:41:42 +0000 (20:41 +0000)]
Sample text files for S/MIME test programs.

17 years agoAdd a bunch of S/MIME sample programs and data.
Dr. Stephen Henson [Fri, 13 Apr 2007 20:40:47 +0000 (20:40 +0000)]
Add a bunch of S/MIME sample programs and data.

17 years agoFlush b64 BIO.
Dr. Stephen Henson [Fri, 13 Apr 2007 18:00:45 +0000 (18:00 +0000)]
Flush b64 BIO.

17 years agoDon't finalize signerinfo if reuse and partial both set.
Dr. Stephen Henson [Fri, 13 Apr 2007 16:41:52 +0000 (16:41 +0000)]
Don't finalize signerinfo if reuse and partial both set.

17 years agoPKCS7_sign_add_signer() docs.
Dr. Stephen Henson [Fri, 13 Apr 2007 16:31:08 +0000 (16:31 +0000)]
PKCS7_sign_add_signer() docs.

17 years agoMore docs for streaming functions.
Dr. Stephen Henson [Fri, 13 Apr 2007 15:43:15 +0000 (15:43 +0000)]
More docs for streaming functions.

17 years agoTypo.
Dr. Stephen Henson [Fri, 13 Apr 2007 13:23:31 +0000 (13:23 +0000)]
Typo.

17 years agod2i_PKCS7_bio_stream() docs.
Dr. Stephen Henson [Fri, 13 Apr 2007 13:22:15 +0000 (13:22 +0000)]
d2i_PKCS7_bio_stream() docs.

17 years agoOops...
Dr. Stephen Henson [Fri, 13 Apr 2007 13:20:46 +0000 (13:20 +0000)]
Oops...

17 years agoUpdate docs.
Dr. Stephen Henson [Fri, 13 Apr 2007 13:13:14 +0000 (13:13 +0000)]
Update docs.

17 years agoUpdate docs.
Dr. Stephen Henson [Fri, 13 Apr 2007 12:57:48 +0000 (12:57 +0000)]
Update docs.

17 years agoUpdate smime utility to support streaming for -encrypt and -sign -nodetach
Dr. Stephen Henson [Fri, 13 Apr 2007 01:06:41 +0000 (01:06 +0000)]
Update smime utility to support streaming for -encrypt and -sign -nodetach
options. Add new streaming i2d (though strictly speaking it is BER format
when streaming) and PEM functions.

These all process content on the fly without storing it all in memory.

17 years agoCopy update callback across when copying EVP_MD_CTX.
Dr. Stephen Henson [Thu, 12 Apr 2007 13:02:31 +0000 (13:02 +0000)]
Copy update callback across when copying EVP_MD_CTX.

Remove unnecessary reference to EVP_MD_CTX in HMAC pkey method.

17 years agoNew -mac and -macopt options to dgst utility. Reimplement -hmac option in
Dr. Stephen Henson [Wed, 11 Apr 2007 17:20:40 +0000 (17:20 +0000)]
New -mac and -macopt options to dgst utility. Reimplement -hmac option in
terms of new API.

17 years agoUpdate CHANGES.
Dr. Stephen Henson [Wed, 11 Apr 2007 12:33:28 +0000 (12:33 +0000)]
Update CHANGES.

17 years agoExperimental HMAC support via EVP_PKEY_METHOD.
Dr. Stephen Henson [Wed, 11 Apr 2007 12:33:06 +0000 (12:33 +0000)]
Experimental HMAC support via EVP_PKEY_METHOD.

17 years agoConstification.
Dr. Stephen Henson [Wed, 11 Apr 2007 12:26:53 +0000 (12:26 +0000)]
Constification.

17 years agoDon't ignore config_name parameter passed to OPENSSL_config(). Use
Dr. Stephen Henson [Mon, 9 Apr 2007 11:45:54 +0000 (11:45 +0000)]
Don't ignore config_name parameter passed to OPENSSL_config(). Use
"openssl_conf" in config file if config_name variable is missing.

17 years agoFix from stable branch.
Dr. Stephen Henson [Sun, 8 Apr 2007 17:45:47 +0000 (17:45 +0000)]
Fix from stable branch.

17 years agoFix digest signing so digest type is set after init.
Dr. Stephen Henson [Sun, 8 Apr 2007 16:53:50 +0000 (16:53 +0000)]
Fix digest signing so digest type is set after init.

17 years agoPreliminary support for signctx/verifyctx callbacks.
Dr. Stephen Henson [Sun, 8 Apr 2007 13:03:26 +0000 (13:03 +0000)]
Preliminary support for signctx/verifyctx callbacks.

17 years agoNew -sigopt option for dgst utility.
Dr. Stephen Henson [Sun, 8 Apr 2007 12:47:18 +0000 (12:47 +0000)]
New -sigopt option for dgst utility.

17 years agoYet another resource leak. Coverity ID 123.
Ben Laurie [Sat, 7 Apr 2007 13:20:09 +0000 (13:20 +0000)]
Yet another resource leak. Coverity ID 123.

17 years agoIf you're going to check for negative, use an signed integer! Coverity ID 122.
Ben Laurie [Thu, 5 Apr 2007 17:31:29 +0000 (17:31 +0000)]
If you're going to check for negative, use an signed integer! Coverity ID 122.