openssl/crypto/dsa
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
..
.cvsignore Ignore Makefile.save 1999-04-29 16:04:54 +00:00
dsa_asn1.c Get rid of ASN1_ITEM_FUNCTIONS dummy function 2001-02-23 12:47:06 +00:00
dsa_depr.c Nils Larsch submitted; 2002-12-08 16:45:26 +00:00
dsa_err.c Make {RSA,DSA,DH}_new_method obtain and release an ENGINE 2002-03-09 18:25:03 +00:00
dsa_gen.c As with RSA, which was modified recently, this change makes it possible to 2003-01-15 02:01:55 +00:00
dsa_key.c As with RSA, which was modified recently, this change makes it possible to 2003-01-15 02:01:55 +00:00
dsa_lib.c Add the possibility to build without the ENGINE framework. 2003-01-30 17:39:26 +00:00
dsa_ossl.c The default implementation of DSA_METHOD has an interdependence on the 2003-03-11 01:49:21 +00:00
dsa_sign.c Add the possibility to build without the ENGINE framework. 2003-01-30 17:39:26 +00:00
dsa_vrf.c Add the possibility to build without the ENGINE framework. 2003-01-30 17:39:26 +00:00
dsa.h The OPENSSL_NO_ENGINE has small problem: it changes certain structures. That's 2003-01-30 18:52:46 +00:00
dsagen.c Adjust the parameter lists in some not commonly used files. 2003-01-01 23:41:46 +00:00
dsatest.c more mingw related cleanups. 2003-02-22 18:00:14 +00:00
fips186a.txt Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
Makefile.ssl make update 2002-12-29 01:38:15 +00:00
README Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00

The stuff in here is based on patches supplied to me by
Steven Schoch <schoch@sheba.arc.nasa.gov> to do DSS.
I have since modified a them a little but a debt of gratitude
is due for doing the initial work.