openssl/ssl
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 Ignore Makefile.save 1999-04-29 16:04:54 +00:00
bio_ssl.c Prototype info function. 2002-01-12 15:56:13 +00:00
install.com Update VMS build procedures to match the current status. 2000-12-28 22:26:11 +00:00
kssl.c Cleanse memory using the new OPENSSL_cleanse() function. 2002-11-28 08:04:36 +00:00
kssl.h Small bugfixes to the KSSL implementation. 2002-11-26 10:09:36 +00:00
kssl_lcl.h To avoid commit wars over dependencies, let's make it so things that 2001-10-10 07:55:02 +00:00
Makefile.ssl Security fixes brought forward from 0.9.7. 2002-11-13 15:43:43 +00:00
s2_clnt.c We need to read one more byte of the REQUEST-CERTIFICATE message. 2002-11-15 09:15:55 +00:00
s2_enc.c Security fixes brought forward from 0.9.7. 2002-11-13 15:43:43 +00:00
s2_lib.c Cleanse memory using the new OPENSSL_cleanse() function. 2002-11-28 08:04:36 +00:00
s2_meth.c fix more race conditions 2002-09-26 15:52:34 +00:00
s2_pkt.c Security fixes brought forward from 0.9.7. 2002-11-13 15:43:43 +00:00
s2_srvr.c Security fixes brought forward from 0.9.7. 2002-11-13 15:43:43 +00:00
s3_both.c Security fixes brought forward from 0.9.7. 2002-11-13 15:43:43 +00:00
s3_clnt.c Cleanse memory using the new OPENSSL_cleanse() function. 2002-11-28 08:04:36 +00:00
s3_enc.c Cleanse memory using the new OPENSSL_cleanse() function. 2002-11-28 08:04:36 +00:00
s3_lib.c Cleanse memory using the new OPENSSL_cleanse() function. 2002-11-28 08:04:36 +00:00
s3_meth.c fix more race conditions 2002-09-26 15:52:34 +00:00
s3_pkt.c Reorder inclusion of header files: 2002-07-10 07:01:54 +00:00
s3_srvr.c A few more memset()s converted to OPENSSL_cleanse(). 2002-11-29 11:30:45 +00:00
s23_clnt.c Security fixes brought forward from 0.9.7. 2002-11-13 15:43:43 +00:00
s23_lib.c add ssl23_peek 2001-03-08 21:54:02 +00:00
s23_meth.c fix more race conditions 2002-09-26 15:52:34 +00:00
s23_pkt.c Reorder inclusion of header files: 2002-07-10 07:01:54 +00:00
s23_srvr.c Security fixes brought forward from 0.9.7. 2002-11-13 15:43:43 +00:00
ssl-lib.com Remove all referenses to RSAref, since that's been gone for more than 2002-10-31 16:46:52 +00:00
ssl.h Fix a warning, and do some constification as a lucky side-effect :-) 2002-12-08 05:19:43 +00:00
ssl2.h Implement msg_callback for SSL 2.0. 2001-11-10 01:16:28 +00:00
ssl3.h Small bugfixes to the KSSL implementation. 2002-11-26 10:09:36 +00:00
ssl23.h Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
ssl_algs.c ECC ciphersuite support 2002-08-09 08:56:08 +00:00
ssl_asn1.c Security fixes brought forward from 0.9.7. 2002-11-13 15:43:43 +00:00
ssl_cert.c WinCE patches 2002-11-15 22:37:18 +00:00
ssl_ciph.c Since it's defined in draft-ietf-tls-compression-04.txt, let's make 2002-12-08 02:41:11 +00:00
ssl_err.c Since it's defined in draft-ietf-tls-compression-04.txt, let's make 2002-12-08 02:41:11 +00:00
ssl_err2.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
ssl_lib.c Security fixes brought forward from 0.9.7. 2002-11-13 15:43:43 +00:00
ssl_locl.h fix warnings 2002-08-09 11:58:28 +00:00
ssl_rsa.c Reorder inclusion of header files: 2002-07-10 07:01:54 +00:00
ssl_sess.c Cleanse memory using the new OPENSSL_cleanse() function. 2002-11-28 08:04:36 +00:00
ssl_stat.c Prototype info function. 2002-01-12 15:56:13 +00:00
ssl_task.c Security fixes brought forward from 0.9.7. 2002-11-13 15:43:43 +00:00
ssl_txt.c Fix ASN1 additions for KRB5 2002-03-12 13:32:35 +00:00
ssltest.c This is a first-cut at improving the callback mechanisms used in 2002-12-08 05:24:31 +00:00
t1_clnt.c really fix race conditions 2002-09-25 15:38:57 +00:00
t1_enc.c Cleanse memory using the new OPENSSL_cleanse() function. 2002-11-28 08:04:36 +00:00
t1_lib.c Move the registration of callback functions to special functions 2000-02-20 23:43:02 +00:00
t1_meth.c fix more race conditions 2002-09-26 15:52:34 +00:00
t1_srvr.c really fix race conditions 2002-09-25 15:38:57 +00:00
tls1.h Sun has agreed to removing the covenant language from most files. 2002-10-29 10:59:32 +00:00