oweals/openssl.git
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

19 years agoremove false positive
Nils Larsch [Fri, 29 Apr 2005 20:41:38 +0000 (20:41 +0000)]
remove false positive

19 years agocheck return value of RAND_pseudo_bytes; backport from the stable branch
Nils Larsch [Fri, 29 Apr 2005 20:10:06 +0000 (20:10 +0000)]
check return value of RAND_pseudo_bytes; backport from the stable branch

19 years agoremove some false positive
Nils Larsch [Fri, 29 Apr 2005 19:24:50 +0000 (19:24 +0000)]
remove some false positive

19 years agohide the definition of ECDSA_METHOD and ECDSA_DATA (and mutatis mutandis
Nils Larsch [Fri, 29 Apr 2005 15:56:06 +0000 (15:56 +0000)]
hide the definition of ECDSA_METHOD and ECDSA_DATA (and mutatis mutandis
for ecdh)

19 years agoadd 192 bit prime curve to the command line options
Nils Larsch [Fri, 29 Apr 2005 15:21:09 +0000 (15:21 +0000)]
add 192 bit prime curve to the command line options

19 years agoadd reference to BN_BLINDING_new.pod
Nils Larsch [Fri, 29 Apr 2005 15:07:34 +0000 (15:07 +0000)]
add reference to BN_BLINDING_new.pod

19 years agoavoid warnings when building on systems where sizeof(void *) > sizeof(int)
Nils Larsch [Fri, 29 Apr 2005 14:26:59 +0000 (14:26 +0000)]
avoid warnings when building on systems where sizeof(void *) > sizeof(int)

19 years agoExclude the option for passing parameters pre-computed in unverified way.
Andy Polyakov [Fri, 29 Apr 2005 13:36:50 +0000 (13:36 +0000)]
Exclude the option for passing parameters pre-computed in unverified way.

19 years agoPointer to BN_MONT_CTX could be used uninitialized.
Andy Polyakov [Thu, 28 Apr 2005 08:52:29 +0000 (08:52 +0000)]
Pointer to BN_MONT_CTX could be used uninitialized.

19 years agoPointer to BN_MONT_CTX could be used uninitialized.
Andy Polyakov [Thu, 28 Apr 2005 08:49:01 +0000 (08:49 +0000)]
Pointer to BN_MONT_CTX could be used uninitialized.

19 years agoSynchronise with Unix build system.
Richard Levitte [Thu, 28 Apr 2005 04:55:28 +0000 (04:55 +0000)]
Synchronise with Unix build system.

19 years agoFix from HEAD.
Dr. Stephen Henson [Thu, 28 Apr 2005 00:22:00 +0000 (00:22 +0000)]
Fix from HEAD.

19 years agoIncrease offset for BIO_f_enc() to avoid problems with overlapping buffers
Dr. Stephen Henson [Thu, 28 Apr 2005 00:21:29 +0000 (00:21 +0000)]
Increase offset for BIO_f_enc() to avoid problems with overlapping buffers
when decrypting data.

19 years agoUpdate default dependency flags.
Dr. Stephen Henson [Wed, 27 Apr 2005 16:32:30 +0000 (16:32 +0000)]
Update default dependency flags.

19 years agoLots of Win32 fixes for DTLS.
Dr. Stephen Henson [Wed, 27 Apr 2005 16:27:14 +0000 (16:27 +0000)]
Lots of Win32 fixes for DTLS.

1. "unsigned long long" isn't portable changed: to BN_ULLONG.
2. The LL prefix isn't allowed in VC++ but it isn't needed where it is used.
2. Avoid lots of compiler warnings about signed/unsigned mismatches.
3. Include new library directory pqueue in mk1mf build system.
4. Update symbols.

19 years agoget rid of Makefile.ssl in util/
Nils Larsch [Wed, 27 Apr 2005 08:56:15 +0000 (08:56 +0000)]
get rid of Makefile.ssl in util/

19 years agono Makefile.ssl anymore
Nils Larsch [Wed, 27 Apr 2005 08:48:55 +0000 (08:48 +0000)]
no Makefile.ssl anymore

19 years agoadd missing parentheses
Nils Larsch [Wed, 27 Apr 2005 07:59:17 +0000 (07:59 +0000)]
add missing parentheses

19 years agoadd missing parentheses
Nils Larsch [Wed, 27 Apr 2005 07:57:50 +0000 (07:57 +0000)]
add missing parentheses

19 years agoChange method_mont_p from (char *) to (BN_MONT_CTX *) and remove several
Dr. Stephen Henson [Wed, 27 Apr 2005 00:04:59 +0000 (00:04 +0000)]
Change method_mont_p from (char *) to (BN_MONT_CTX *) and remove several
casts.

19 years agoPort BN_MONT_CTX_set_locked() from stable branch.
Dr. Stephen Henson [Tue, 26 Apr 2005 23:58:54 +0000 (23:58 +0000)]
Port BN_MONT_CTX_set_locked() from stable branch.

The function rsa_eay_mont_helper() has been removed because it is no longer
needed after this change.

19 years agoStop unused variable warning.
Dr. Stephen Henson [Tue, 26 Apr 2005 23:45:49 +0000 (23:45 +0000)]
Stop unused variable warning.

19 years agoRemove more false positives.
Dr. Stephen Henson [Tue, 26 Apr 2005 23:33:47 +0000 (23:33 +0000)]
Remove more false positives.

19 years agothere's no such thing as Makefile.ssl anymore
Bodo Möller [Tue, 26 Apr 2005 23:22:49 +0000 (23:22 +0000)]
there's no such thing as Makefile.ssl anymore

19 years agoutil/mk1mf.pl issues have been resolved
Bodo Möller [Tue, 26 Apr 2005 23:22:25 +0000 (23:22 +0000)]
util/mk1mf.pl issues have been resolved

19 years agoPort from stable branch.
Dr. Stephen Henson [Tue, 26 Apr 2005 23:21:49 +0000 (23:21 +0000)]
Port from stable branch.

19 years agoMore false positives and cases covered by port of prime.c
Dr. Stephen Henson [Tue, 26 Apr 2005 23:19:21 +0000 (23:19 +0000)]
More false positives and cases covered by port of prime.c

19 years ago"PS" to Steve's commit (Port prime utility across from stable branch).
Bodo Möller [Tue, 26 Apr 2005 23:11:05 +0000 (23:11 +0000)]
"PS" to Steve's commit (Port prime utility across from stable branch).

19 years agoPort prime utility across from stable branch.
Dr. Stephen Henson [Tue, 26 Apr 2005 23:02:52 +0000 (23:02 +0000)]
Port prime utility across from stable branch.

19 years agoadd docu for BN_BLINDING functions
Nils Larsch [Tue, 26 Apr 2005 22:33:36 +0000 (22:33 +0000)]
add docu for BN_BLINDING functions

19 years agosome updates for the blinding code; summary:
Nils Larsch [Tue, 26 Apr 2005 22:31:48 +0000 (22:31 +0000)]
some updates for the blinding code; summary:
- possibility of re-creation of the blinding parameters after a
  fixed number of uses (suggested by Bodo)
- calculatition of the rsa::e in case it's absent and p and q
  are present (see bug report #785)
- improve the performance when if one rsa structure is shared by
  more than a thread (see bug report #555)
- fix the problem described in bug report #827
- hide the definition ot the BN_BLINDING structure in bn_blind.c

19 years agoRemove more false positives.
Dr. Stephen Henson [Tue, 26 Apr 2005 22:25:10 +0000 (22:25 +0000)]
Remove more false positives.

19 years agoPort from stable branch.
Dr. Stephen Henson [Tue, 26 Apr 2005 22:07:17 +0000 (22:07 +0000)]
Port from stable branch.

19 years agoRemove more false positives.
Dr. Stephen Henson [Tue, 26 Apr 2005 22:05:19 +0000 (22:05 +0000)]
Remove more false positives.

19 years agoFix various incorrect error function codes.
Bodo Möller [Tue, 26 Apr 2005 18:53:22 +0000 (18:53 +0000)]
Fix various incorrect error function codes.

("perl util/ck_errf.pl */*.c */*/*.c" still reports many more.)

19 years agotake OPENSSL_NO_DGRAM into account
Bodo Möller [Tue, 26 Apr 2005 18:48:02 +0000 (18:48 +0000)]
take OPENSSL_NO_DGRAM into account
(via make update)

19 years agolet mkdef.pl know about OPENSSL_NO_DGRAM
Bodo Möller [Tue, 26 Apr 2005 18:21:25 +0000 (18:21 +0000)]
let mkdef.pl know about OPENSSL_NO_DGRAM
(which appears in the new file crypto/bio/bss_dgram.c)

19 years agoremove some functions from exported headers
Bodo Möller [Tue, 26 Apr 2005 18:18:35 +0000 (18:18 +0000)]
remove some functions from exported headers