openssl/crypto
Geoff Thorpe 879650b866 The default implementation of DSA_METHOD has an interdependence on the
dsa_mod_exp() and bn_mod_exp() handlers from dsa_do_verify() and
dsa_sign_setup(). When another DSA_METHOD implementation does not define
these lower-level handlers, it becomes impossible to do a fallback to
software on errors using a simple DSA_OpenSSL()->fn(key).

This change allows the default DSA_METHOD to function in such circumstances
by only using dsa_mod_exp() and bn_mod_exp() handlers if they exist,
otherwise using BIGNUM implementations directly (which is what those
handlers did before this change). There should be no noticable difference
for the software case, or indeed any custom case that didn't already
segfault, except perhaps that there is now one less level of indirection in
all cases.

PR: 507
2003-03-11 01:49:21 +00:00
..
aes Workaround for lame compiler bug introduced in "CPU pack" for MSVC6SP5. 2003-01-23 10:05:39 +00:00
asn1 Fix indefinite length encoding so EOC correctly updates 2003-02-25 19:03:31 +00:00
bf A few more files to ignore 2003-01-16 21:32:56 +00:00
bio Re enable the read side non blocking test BIO code. 2003-02-20 13:39:30 +00:00
bn more mingw related cleanups. 2003-02-22 18:00:14 +00:00
buffer Remove warnings. 2002-11-14 15:57:38 +00:00
cast Unified targets for ELF assembler modules. Tested on Linux, Solaris and 2003-01-03 17:37:53 +00:00
comp Add some debugging output. 2003-01-16 17:28:46 +00:00
conf Add the possibility to build without the ENGINE framework. 2003-01-30 17:39:26 +00:00
des Oh, the destest program did look at the return value... 2003-02-13 08:53:40 +00:00
dh more mingw related cleanups. 2003-02-22 18:00:14 +00:00
dsa The default implementation of DSA_METHOD has an interdependence on the 2003-03-11 01:49:21 +00:00
dso Third argument to shl_load() is "long address", not a pointer. 2003-01-08 08:27:50 +00:00
ec add Certicom licensing e-mail address 2003-02-27 12:25:35 +00:00
ecdh - new ECDH_compute_key interface (KDF is no longer a fixed built-in) 2003-02-28 15:37:10 +00:00
ecdsa Fix initialization sequence to prevent freeing of unitialized objects. 2003-01-15 14:54:59 +00:00
engine Declare prototypes for function pointer types, even if they are likely to 2003-02-15 20:32:13 +00:00
err Make the no-err option work properly 2003-02-18 12:14:57 +00:00
evp Encryption BIOs misbehave when used with non blocking I/O. 2003-02-27 14:07:59 +00:00
hmac make update 2002-12-29 01:38:15 +00:00
idea Have all tests use EXIT() to exit rather than exit(), since the latter doesn't 2002-11-28 18:54:30 +00:00
krb5 Armor against systems without ranlib... 2003-01-16 17:22:30 +00:00
lhash Security fixes brought forward from 0.9.7. 2002-11-13 15:43:43 +00:00
md2 Borland C++ Builder 5 complains about unreachable statements. 2003-02-19 11:22:15 +00:00
md4 Make sure not to declare a clashing read() for DJGPP. 2003-01-13 15:35:22 +00:00
md5 Small typo, OENSSL should really be spelled OPENSSL. 2003-01-30 11:08:44 +00:00
mdc2 A few more memset()s converted to OPENSSL_cleanse(). 2002-11-29 11:30:45 +00:00
objects avoid potential confusion about curves (prime192v1 and prime256v1 are 2003-01-16 16:05:23 +00:00
ocsp Armor against systems without ranlib... 2003-01-16 17:22:30 +00:00
pem make update 2002-12-29 01:38:15 +00:00
perlasm Provide "dummy" &main::picmeup even in Windows perlasm modules. 2003-01-24 09:39:31 +00:00
pkcs7 Fix indefinite length encoding so EOC correctly updates 2003-02-25 19:03:31 +00:00
pkcs12 make update 2002-12-29 01:38:15 +00:00
rand Add the possibility to build without the ENGINE framework. 2003-01-30 17:39:26 +00:00
rc2 Have all tests use EXIT() to exit rather than exit(), since the latter doesn't 2002-11-28 18:54:30 +00:00
rc4 A few more files to ignore 2003-01-16 21:32:56 +00:00
rc5 A few more files to ignore 2003-01-16 21:32:56 +00:00
ripemd A few more files to ignore 2003-01-16 21:32:56 +00:00
rsa We cache a montgomery form for 'n' if the PUBLIC flag is set, not PRIVATE. 2003-02-15 00:18:38 +00:00
sha A few more files to ignore 2003-01-16 21:32:56 +00:00
stack Use double dashes so makedepend doesn't misunderstand the flags we 2002-10-09 13:25:12 +00:00
threads more mingw related cleanups. 2003-02-22 18:00:14 +00:00
txt_db Security fixes brought forward from 0.9.7. 2002-11-13 15:43:43 +00:00
ui Armor against systems without ranlib... 2003-01-16 17:22:30 +00:00
x509 make update 2002-12-29 01:38:15 +00:00
x509v3 Support for dirName from config files in GeneralName extensions. 2003-02-27 01:54:11 +00:00
.cvsignore Always use buildinf.h, which now includes the mk1mfinf.h data. 1999-07-29 12:57:23 +00:00
cpt_err.c First step in fixing "ex_data" support. Warning: big commit log ... 2001-09-01 19:56:46 +00:00
cryptlib.c new lock for EC_PRE_COMP structures 2003-02-12 22:01:12 +00:00
cryptlib.h Merge from 0.9.7-stable. 2002-11-13 18:10:30 +00:00
crypto-lib.com Synchronise with Makefiles. 2002-12-15 20:59:24 +00:00
crypto.h new lock for EC_PRE_COMP structures 2003-02-12 22:01:12 +00:00
cversion.c Add SSLEAY_DIR argument code for SSLeay_version. 2001-01-10 15:15:36 +00:00
ebcdic.c The default C compiler on MacOS X doesn't like empty object files 2002-07-16 10:46:00 +00:00
ebcdic.h EBCDIC support. 2000-02-01 02:21:16 +00:00
ex_data.c Redo type-safety fix. 2001-09-07 11:43:30 +00:00
install.com A new header. 2002-08-09 22:34:57 +00:00
Makefile.ssl Propagate MAKEDEPPROG to the subdirs under crypto/. 2002-12-20 15:28:42 +00:00
md32_common.h x86_64 performance patch. 2002-12-14 20:42:05 +00:00
mem.c Make sure the memory allocation routines check for negative sizes 2003-02-19 11:54:42 +00:00
mem_clr.c Make CRYPTO_cleanse() independent of endianness. 2002-12-03 16:06:40 +00:00
mem_dbg.c fix memory leak in memory debuggin code ... 2002-11-18 14:00:42 +00:00
o_time.c Check return value of gmtime() and add error codes 2003-01-24 01:12:01 +00:00
o_time.h Use one address consistently. 2001-07-05 10:20:07 +00:00
opensslconf.h.in Let's not forget the other places where HEADER_DES_H and HEADER_DES_OLD_H 2002-12-11 07:24:43 +00:00
opensslv.h The version of the shared library should, for now, reflect the version 2002-07-31 13:24:26 +00:00
ossl_typ.h Merge from 0.9.7-stable. 2002-12-28 02:41:17 +00:00
symhacks.h Another long name to deal with 2003-02-13 13:21:13 +00:00
tmdiff.c Determine HZ exactly as in apps/speed.c. 2002-11-18 23:06:36 +00:00
tmdiff.h Remove NOPROTO definitions and error code comments. 1999-04-26 16:43:10 +00:00
uid.c Add a few more VxWorks targets. 2002-10-09 13:40:48 +00:00