oweals/openssl.git
19 years agoConstant-time RSA [sync with mainstream].
Andy Polyakov [Fri, 27 May 2005 08:12:44 +0000 (08:12 +0000)]
Constant-time RSA [sync with mainstream].

Submitted by: bodo

19 years agoConstant time DH [sync with mainstream].
Andy Polyakov [Fri, 27 May 2005 08:11:16 +0000 (08:11 +0000)]
Constant time DH [sync with mainstream].

Submitted by: bodo

19 years agoConstant-time DSA signing [sync with mainstream].
Andy Polyakov [Fri, 27 May 2005 06:42:11 +0000 (06:42 +0000)]
Constant-time DSA signing [sync with mainstream].

Submitted by: bodo

19 years agofips/sha1 -> fips/sha remains.
Andy Polyakov [Thu, 26 May 2005 23:09:02 +0000 (23:09 +0000)]
fips/sha1 -> fips/sha remains.

19 years agoRemove fips/sha1/*.
Andy Polyakov [Thu, 26 May 2005 23:01:20 +0000 (23:01 +0000)]
Remove fips/sha1/*.

19 years agoThrow in SHAmix test vectors.
Andy Polyakov [Thu, 26 May 2005 22:17:55 +0000 (22:17 +0000)]
Throw in SHAmix test vectors.

19 years agoRename fips/sha1 to fips/sha.
Andy Polyakov [Thu, 26 May 2005 21:29:10 +0000 (21:29 +0000)]
Rename fips/sha1 to fips/sha.

19 years agoAllow zero length messages and make format look more like samples.
Dr. Stephen Henson [Thu, 26 May 2005 18:48:24 +0000 (18:48 +0000)]
Allow zero length messages and make format look more like samples.

19 years agoFIPS SHA* test for new format.
Dr. Stephen Henson [Thu, 26 May 2005 18:31:53 +0000 (18:31 +0000)]
FIPS SHA* test for new format.

19 years agomake sure DSA signing exponentiations really are constant-time
Bodo Möller [Thu, 26 May 2005 04:40:42 +0000 (04:40 +0000)]
make sure DSA signing exponentiations really are constant-time

19 years agoSynchronise with Unix build. BEN_FIPS_TEST_8
Richard Levitte [Tue, 24 May 2005 03:50:47 +0000 (03:50 +0000)]
Synchronise with Unix build.

19 years agoTypo correction
Richard Levitte [Tue, 24 May 2005 03:27:18 +0000 (03:27 +0000)]
Typo correction

19 years agoWhen _XOPEN_SOURCE is defined, make sure it's defined to 500. Required in
Richard Levitte [Sat, 21 May 2005 17:39:48 +0000 (17:39 +0000)]
When _XOPEN_SOURCE is defined, make sure it's defined to 500.  Required in
http://www.opengroup.org/onlinepubs/007908799/xsh/compilation.html.

Notified by David Wolfe <dwolfe5272@yahoo.com>

19 years agofips_check_rsa update.
Andy Polyakov [Thu, 19 May 2005 22:29:55 +0000 (22:29 +0000)]
fips_check_rsa update.

19 years agoPlace #ifdef OPENSSL_FIPS round the SHA-XXX functions in evp.h so mkdef.pl
Dr. Stephen Henson [Tue, 17 May 2005 19:48:42 +0000 (19:48 +0000)]
Place #ifdef OPENSSL_FIPS round the SHA-XXX functions in evp.h so mkdef.pl
knows about it.

19 years agoSHA-XXX are available in FIPS context only in 0.9.7.
Andy Polyakov [Tue, 17 May 2005 06:57:14 +0000 (06:57 +0000)]
SHA-XXX are available in FIPS context only in 0.9.7.

19 years agofix memory leak (BIO_free_all needs pointer to first BIO)
Bodo Möller [Tue, 17 May 2005 05:52:18 +0000 (05:52 +0000)]
fix memory leak (BIO_free_all needs pointer to first BIO)

PR: 1070

19 years agoChange wording for BN_mod_exp_mont_consttime() entry
Bodo Möller [Mon, 16 May 2005 19:14:38 +0000 (19:14 +0000)]
Change wording for BN_mod_exp_mont_consttime() entry

19 years agoRemove redundant test. Add new SHAXXX algorithms to mkdef.pl, update
Dr. Stephen Henson [Mon, 16 May 2005 17:52:32 +0000 (17:52 +0000)]
Remove redundant test. Add new SHAXXX algorithms to mkdef.pl, update
symbol info.

19 years agoImplement fixed-window exponentiation to mitigate hyper-threading
Bodo Möller [Mon, 16 May 2005 01:26:08 +0000 (01:26 +0000)]
Implement fixed-window exponentiation to mitigate hyper-threading
timing attacks.

BN_FLG_EXP_CONSTTIME requests this algorithm, and this done by default for
RSA/DSA/DH private key computations unless
RSA_FLAG_NO_EXP_CONSTTIME/DSA_FLAG_NO_EXP_CONSTTIME/
DH_FLAG_NO_EXP_CONSTTIME is set.

Submitted by: Matthew D Wood
Reviewed by: Bodo Moeller

19 years agoSynchronise with the Unixly build.
Richard Levitte [Sun, 15 May 2005 09:20:15 +0000 (09:20 +0000)]
Synchronise with the Unixly build.

19 years agoFix from HEAD.
Dr. Stephen Henson [Sat, 14 May 2005 12:59:05 +0000 (12:59 +0000)]
Fix from HEAD.

19 years agoFixes from HEAD.
Dr. Stephen Henson [Fri, 13 May 2005 00:23:02 +0000 (00:23 +0000)]
Fixes from HEAD.

19 years agoFix from HEAD.
Dr. Stephen Henson [Thu, 12 May 2005 23:13:40 +0000 (23:13 +0000)]
Fix from HEAD.

19 years agoTypo.
Dr. Stephen Henson [Thu, 12 May 2005 17:27:48 +0000 (17:27 +0000)]
Typo.

19 years agofix msg_callback() arguments for SSL 2.0 compatible client hello
Bodo Möller [Thu, 12 May 2005 06:24:26 +0000 (06:24 +0000)]
fix msg_callback() arguments for SSL 2.0 compatible client hello
(previous revision got this wrong)

19 years agoPR:Don't use the SSL 2.0 Client Hello format if SSL 2.0 is disabled
Bodo Möller [Wed, 11 May 2005 18:26:08 +0000 (18:26 +0000)]
PR:Don't use the SSL 2.0 Client Hello format if SSL 2.0 is disabled
with the SSL_OP_NO_SSLv2 option.

19 years agomake update
Bodo Möller [Wed, 11 May 2005 17:49:50 +0000 (17:49 +0000)]
make update

19 years agoAllow AES CFB1 ciphers in FIPS mode.
Dr. Stephen Henson [Wed, 11 May 2005 16:28:33 +0000 (16:28 +0000)]
Allow AES CFB1 ciphers in FIPS mode.

19 years agoStop warnings.
Dr. Stephen Henson [Wed, 11 May 2005 00:35:55 +0000 (00:35 +0000)]
Stop warnings.

19 years agoTidy up an error code.
Andy Polyakov [Tue, 10 May 2005 22:57:21 +0000 (22:57 +0000)]
Tidy up an error code.

19 years agoFix fips_hmactest.c.
Andy Polyakov [Tue, 10 May 2005 22:54:44 +0000 (22:54 +0000)]
Fix fips_hmactest.c.

19 years agouse 'p' as conversion specifier for printf to avoid truncation of
Nils Larsch [Tue, 10 May 2005 11:57:19 +0000 (11:57 +0000)]
use 'p' as conversion specifier for printf to avoid truncation of
pointers on 64 bit platforms. Patch supplied by Daniel Gryniewicz
via Mike Frysinger <vapier@gentoo.org>.

PR: 1064

19 years agoimprove command line argument checking
Nils Larsch [Tue, 10 May 2005 09:52:39 +0000 (09:52 +0000)]
improve command line argument checking

PR: 1061

19 years agoAdd algorithm selection command-line option to fips_hmactest
Andy Polyakov [Mon, 9 May 2005 22:35:35 +0000 (22:35 +0000)]
Add algorithm selection command-line option to fips_hmactest
[and fix typo in fips.h].

19 years agoComply with optimization manual (no data should share cache-line with code).
Andy Polyakov [Mon, 9 May 2005 21:41:47 +0000 (21:41 +0000)]
Comply with optimization manual (no data should share cache-line with code).

19 years agoMissing declaration.
Andy Polyakov [Mon, 9 May 2005 20:47:42 +0000 (20:47 +0000)]
Missing declaration.

19 years agoVoid new FIPS tests if configured without FIPS.
Andy Polyakov [Mon, 9 May 2005 19:34:34 +0000 (19:34 +0000)]
Void new FIPS tests if configured without FIPS.

19 years agoAdd FIPS HMAC power-up test.
Andy Polyakov [Mon, 9 May 2005 19:22:14 +0000 (19:22 +0000)]
Add FIPS HMAC power-up test.

19 years agoStop warnings in asserts.
Dr. Stephen Henson [Sun, 8 May 2005 23:48:18 +0000 (23:48 +0000)]
Stop warnings in asserts.

Add support for SHA-XXX in RSA tests.

Make fips_check_rsa work for key lengths > 2048 bits.

19 years agoEliminate "statement with no effect" warning when OPENSSL_assert macro
Andy Polyakov [Sun, 8 May 2005 19:52:13 +0000 (19:52 +0000)]
Eliminate "statement with no effect" warning when OPENSSL_assert macro
is used with constant assertion.

19 years agoRemove SSE2 option from fips sha512 [for now].
Andy Polyakov [Sun, 8 May 2005 08:25:14 +0000 (08:25 +0000)]
Remove SSE2 option from fips sha512 [for now].

19 years agoMove SHA1 selftest input vectors to writable segment.
Andy Polyakov [Sat, 7 May 2005 22:33:29 +0000 (22:33 +0000)]
Move SHA1 selftest input vectors to writable segment.

19 years agoAdd FIPS RNG tests.
Andy Polyakov [Sat, 7 May 2005 22:06:40 +0000 (22:06 +0000)]
Add FIPS RNG tests.

Submitted by: Steve Marquess

19 years agoBackport SHA-[224|256|384|512] from HEAD to FIPS.
Andy Polyakov [Sat, 7 May 2005 17:21:34 +0000 (17:21 +0000)]
Backport SHA-[224|256|384|512] from HEAD to FIPS.

19 years agoAdd FIPS rsa sign test program.
Dr. Stephen Henson [Sat, 7 May 2005 12:50:28 +0000 (12:50 +0000)]
Add FIPS rsa sign test program.

19 years agoFIPS RSA sign test.
Dr. Stephen Henson [Sat, 7 May 2005 12:11:37 +0000 (12:11 +0000)]
FIPS RSA sign test.

19 years agoDownsync from HEAD.
Andy Polyakov [Sat, 7 May 2005 08:53:06 +0000 (08:53 +0000)]
Downsync from HEAD.
PR: 1059

19 years agoFIPS RSA verify test.
Dr. Stephen Henson [Thu, 5 May 2005 21:46:30 +0000 (21:46 +0000)]
FIPS RSA verify test.

19 years agoA few more fingerprints...
Richard Levitte [Thu, 5 May 2005 06:39:10 +0000 (06:39 +0000)]
A few more fingerprints...

19 years agoDelete unused variables.
Dr. Stephen Henson [Wed, 4 May 2005 22:02:32 +0000 (22:02 +0000)]
Delete unused variables.

19 years agoBackport of rc4-x86_64 from HEAD.
Andy Polyakov [Wed, 4 May 2005 16:12:07 +0000 (16:12 +0000)]
Backport of rc4-x86_64 from HEAD.

19 years agoThis commit was manufactured by cvs2svn to create branch
cvs2svn [Wed, 4 May 2005 14:51:39 +0000 (14:51 +0000)]
This commit was manufactured by cvs2svn to create branch
'OpenSSL_0_9_7-stable'.

19 years agoCommentary update motivating code update in 0.9.7.
Andy Polyakov [Wed, 4 May 2005 14:51:38 +0000 (14:51 +0000)]
Commentary update motivating code update in 0.9.7.

19 years agox86_64 assembler translator update.
Andy Polyakov [Wed, 4 May 2005 08:42:47 +0000 (08:42 +0000)]
x86_64 assembler translator update.

19 years agoCvs missed adapted module itself, here it goes...
Andy Polyakov [Tue, 3 May 2005 23:03:31 +0000 (23:03 +0000)]
Cvs missed adapted module itself, here it goes...

19 years agoEngage md5-x86_64 assembler module.
Andy Polyakov [Tue, 3 May 2005 22:59:17 +0000 (22:59 +0000)]
Engage md5-x86_64 assembler module.

19 years agoThrow in md5-x86_64 assembler.
Andy Polyakov [Tue, 3 May 2005 22:56:15 +0000 (22:56 +0000)]
Throw in md5-x86_64 assembler.

19 years agoFix mk1mf.pl and avoid warning in VC++.
Dr. Stephen Henson [Tue, 3 May 2005 22:14:07 +0000 (22:14 +0000)]
Fix mk1mf.pl and avoid warning in VC++.

19 years agoCygwin doesn't expose Win32 [not "officially"].
Andy Polyakov [Tue, 3 May 2005 21:20:17 +0000 (21:20 +0000)]
Cygwin doesn't expose Win32 [not "officially"].

19 years agoCommentary update.
Andy Polyakov [Tue, 3 May 2005 21:16:42 +0000 (21:16 +0000)]
Commentary update.

19 years agoCpuid modules updates.
Andy Polyakov [Tue, 3 May 2005 21:05:06 +0000 (21:05 +0000)]
Cpuid modules updates.

19 years agoremove false positive
Nils Larsch [Tue, 3 May 2005 20:58:24 +0000 (20:58 +0000)]
remove false positive

19 years agoremove BN_ncopy, it was only used in bn_nist.c and wasn't particular
Nils Larsch [Tue, 3 May 2005 20:27:00 +0000 (20:27 +0000)]
remove BN_ncopy, it was only used in bn_nist.c and wasn't particular
useful anyway

19 years agorewrite of bn_nist.c, disable support for some curves on 64 bit platforms
Nils Larsch [Tue, 3 May 2005 20:23:33 +0000 (20:23 +0000)]
rewrite of bn_nist.c, disable support for some curves on 64 bit platforms
for now (it was broken anyway)

19 years agofix typo
Nils Larsch [Tue, 3 May 2005 18:35:16 +0000 (18:35 +0000)]
fix typo

PR: 1054

19 years agofix typo
Nils Larsch [Tue, 3 May 2005 18:34:01 +0000 (18:34 +0000)]
fix typo

PR: 1054

19 years agoPreliminary FIPS hmac test program.
Dr. Stephen Henson [Tue, 3 May 2005 17:07:56 +0000 (17:07 +0000)]
Preliminary FIPS hmac test program.

19 years agoRename amd64 modules to x86_64 and update RC4 implementation.
Andy Polyakov [Tue, 3 May 2005 15:42:05 +0000 (15:42 +0000)]
Rename amd64 modules to x86_64 and update RC4 implementation.

19 years agox86_64 assembler translator update.
Andy Polyakov [Tue, 3 May 2005 15:35:14 +0000 (15:35 +0000)]
x86_64 assembler translator update.

19 years agoRemove unnecessary code.
Dr. Stephen Henson [Tue, 3 May 2005 11:56:09 +0000 (11:56 +0000)]
Remove unnecessary code.

19 years agobackport fix from the stable branch
Nils Larsch [Tue, 3 May 2005 10:00:16 +0000 (10:00 +0000)]
backport fix from the stable branch

19 years agoSynchronise with Unix build.
Richard Levitte [Tue, 3 May 2005 08:49:28 +0000 (08:49 +0000)]
Synchronise with Unix build.

19 years agoAdd .cvsignore
Dr. Stephen Henson [Mon, 2 May 2005 23:06:06 +0000 (23:06 +0000)]
Add .cvsignore

19 years agoAdd fips hmac files
Dr. Stephen Henson [Mon, 2 May 2005 23:04:18 +0000 (23:04 +0000)]
Add fips hmac files

19 years agoUpdate dependencies.
Dr. Stephen Henson [Mon, 2 May 2005 23:02:19 +0000 (23:02 +0000)]
Update dependencies.

19 years agoAdd hmac to fips.
Dr. Stephen Henson [Mon, 2 May 2005 22:59:41 +0000 (22:59 +0000)]
Add hmac to fips.

19 years agoRedundant changes.
Ben Laurie [Sun, 1 May 2005 13:55:41 +0000 (13:55 +0000)]
Redundant changes.

19 years agoAdd prototype.
Ben Laurie [Sun, 1 May 2005 13:49:56 +0000 (13:49 +0000)]
Add prototype.

19 years agoUpdate from HEAD.
Dr. Stephen Henson [Sun, 1 May 2005 12:47:33 +0000 (12:47 +0000)]
Update from HEAD.

19 years agoSupport for smime-type MIME parameter.
Dr. Stephen Henson [Sun, 1 May 2005 12:46:57 +0000 (12:46 +0000)]
Support for smime-type MIME parameter.

19 years agoRemove false positives and resolve some of remaining ones.
Andy Polyakov [Sat, 30 Apr 2005 23:48:17 +0000 (23:48 +0000)]
Remove false positives and resolve some of remaining ones.

19 years agoCygwin/mingw sync with stable.
Andy Polyakov [Sat, 30 Apr 2005 23:45:53 +0000 (23:45 +0000)]
Cygwin/mingw sync with stable.

19 years agoAllow for ./config no-sha0 [from stable].
Andy Polyakov [Sat, 30 Apr 2005 21:51:41 +0000 (21:51 +0000)]
Allow for ./config no-sha0 [from stable].

19 years agoFold rules in test/Makefiles [from stable].
Andy Polyakov [Sat, 30 Apr 2005 21:39:39 +0000 (21:39 +0000)]
Fold rules in test/Makefiles [from stable].

19 years agoUpdate from HEAD.
Dr. Stephen Henson [Sat, 30 Apr 2005 18:16:40 +0000 (18:16 +0000)]
Update from HEAD.

19 years agoTypo.
Dr. Stephen Henson [Sat, 30 Apr 2005 18:07:30 +0000 (18:07 +0000)]
Typo.

19 years agoDon't attempt to parse nested ASN1 strings by default.
Dr. Stephen Henson [Sat, 30 Apr 2005 18:02:54 +0000 (18:02 +0000)]
Don't attempt to parse nested ASN1 strings by default.

19 years agoSome true positives fixed, toss some false positives.
Richard Levitte [Sat, 30 Apr 2005 15:25:04 +0000 (15:25 +0000)]
Some true positives fixed, toss some false positives.

19 years agoFrom branch OpenSSL_0_9_7-stable, 2004-09-11 11:45:
Richard Levitte [Sat, 30 Apr 2005 15:23:14 +0000 (15:23 +0000)]
From branch OpenSSL_0_9_7-stable, 2004-09-11 11:45:

Makefile.ssl changed name to Makefile...

19 years agoFrom branch OpenSSL_0_9_7-stable, 2004-08-11 22:34:
Richard Levitte [Sat, 30 Apr 2005 15:21:40 +0000 (15:21 +0000)]
From branch OpenSSL_0_9_7-stable, 2004-08-11 22:34:

Another missing module in the VMS build files.I believe this is
the last, though...

19 years agoAll kinds of changes from branch OpenSSL_0_9_7-stable
Richard Levitte [Sat, 30 Apr 2005 15:17:05 +0000 (15:17 +0000)]
All kinds of changes from branch OpenSSL_0_9_7-stable

19 years agoThis one deserves a note. In the change to CHANGES, there's the
Richard Levitte [Sat, 30 Apr 2005 14:41:51 +0000 (14:41 +0000)]
This one deserves a note.  In the change to CHANGES, there's the
following:

+     NOTE: This is for the 0.9.7 series ONLY.  This hack will never
+     appear in 0.9.8 or later.  We EXPECT application authors to have
+     dealt properly with this when 0.9.8 is released (unless we actually
+     make such changes in the libcrypto locking code that changes will
+     have to be made anyway).

That makes this one a false positive.

19 years agoRemove a bunch of false positives, and fix some true positives.
Richard Levitte [Sat, 30 Apr 2005 14:40:19 +0000 (14:40 +0000)]
Remove a bunch of false positives, and fix some true positives.

19 years agoFrom branch OpenSSL_0_9_7-stable, 2002-11-13 15:30:
Richard Levitte [Sat, 30 Apr 2005 14:34:28 +0000 (14:34 +0000)]
From branch OpenSSL_0_9_7-stable, 2002-11-13 15:30:

The loading functions should be static if we build a dynamic
engine.

19 years agoRemove a bunch of false positives, fix one true positive.
Richard Levitte [Sat, 30 Apr 2005 13:50:57 +0000 (13:50 +0000)]
Remove a bunch of false positives, fix one true positive.

19 years agoFrom branch OpenSSL_0_9_7-stable, revision 1.1.4.1, 2002-05-23 17:25:
Richard Levitte [Sat, 30 Apr 2005 13:42:02 +0000 (13:42 +0000)]
From branch OpenSSL_0_9_7-stable, revision 1.1.4.1, 2002-05-23 17:25:

Forgot this file.

19 years agoUpdate from HEAD.
Dr. Stephen Henson [Sat, 30 Apr 2005 13:08:56 +0000 (13:08 +0000)]
Update from HEAD.

19 years agoUse more efficient way to locate end of an ASN1 structure.
Dr. Stephen Henson [Sat, 30 Apr 2005 13:06:45 +0000 (13:06 +0000)]
Use more efficient way to locate end of an ASN1 structure.

19 years agodon't let BN_CTX_free(NULL) segfault
Nils Larsch [Fri, 29 Apr 2005 21:20:31 +0000 (21:20 +0000)]
don't let BN_CTX_free(NULL) segfault