openssl/crypto/ecdsa
Geoff Thorpe e9224c7177 This is a first-cut at improving the callback mechanisms used in
key-generation and prime-checking functions. Rather than explicitly passing
callback functions and caller-defined context data for the callbacks, a new
structure BN_GENCB is defined that encapsulates this; a pointer to the
structure is passed to all such functions instead.

This wrapper structure allows the encapsulation of "old" and "new" style
callbacks - "new" callbacks return a boolean result on the understanding
that returning FALSE should terminate keygen/primality processing.  The
BN_GENCB abstraction will allow future callback modifications without
needing to break binary compatibility nor change the API function
prototypes. The new API functions have been given names ending in "_ex" and
the old functions are implemented as wrappers to the new ones.  The
OPENSSL_NO_DEPRECATED symbol has been introduced so that, if defined,
declaration of the older functions will be skipped. NB: Some
openssl-internal code will stick with the older callbacks for now, so
appropriate "#undef" logic will be put in place - this is in case the user
is *building* openssl (rather than *including* its headers) with this
symbol defined.

There is another change in the new _ex functions; the key-generation
functions do not return key structures but operate on structures passed by
the caller, the return value is a boolean. This will allow for a smoother
transition to having key-generation as "virtual function" in the various
***_METHOD tables.
2002-12-08 05:24:31 +00:00
..
.cvsignore ECDSA support 2002-02-13 18:21:51 +00:00
ecdsa.h use a generic EC_KEY structure (EC keys are not ECDSA specific) 2002-08-07 10:49:54 +00:00
ecdsatest.c This is a first-cut at improving the callback mechanisms used in 2002-12-08 05:24:31 +00:00
ecs_asn1.c use a generic EC_KEY structure (EC keys are not ECDSA specific) 2002-08-07 10:49:54 +00:00
ecs_err.c use a generic EC_KEY structure (EC keys are not ECDSA specific) 2002-08-07 10:49:54 +00:00
ecs_lib.c Cleanse memory using the new OPENSSL_cleanse() function. 2002-11-28 08:04:36 +00:00
ecs_ossl.c implement and use new macros BN_get_sign(), BN_set_sign() 2002-11-04 13:17:22 +00:00
ecs_sign.c use a generic EC_KEY structure (EC keys are not ECDSA specific) 2002-08-07 10:49:54 +00:00
ecs_vrf.c use a generic EC_KEY structure (EC keys are not ECDSA specific) 2002-08-07 10:49:54 +00:00
Makefile.ssl make update 2002-11-14 23:56:12 +00:00