openssl/ssl
Matt Caswell ff75a25749 Refactor the async wait fd logic
Implementation experience has shown that the original plan for async wait
fds was too simplistic. Originally the async logic created a pipe internally
and user/engine code could then get access to it via API calls. It is more
flexible if the engine is able to create its own fd and provide it to the
async code.

Another issue is that there can be a lot of churn in the fd value within
the context of (say) a single SSL connection leading to continually adding
and removing fds from (say) epoll. It is better if we can provide some
stability of the fd value across a whole SSL connection. This is
problematic because an engine has no concept of an SSL connection.

This commit refactors things to introduce an ASYNC_WAIT_CTX which acts as a
proxy for an SSL connection down at the engine layer.

Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-02-29 12:58:44 +00:00
..
record Remove unused parameters from internal functions 2016-02-22 13:39:44 -05:00
statem GH742: keep gost specific variable under macro 2016-02-25 08:42:55 -05:00
bio_ssl.c
build.info
d1_lib.c Remove unused parameters from internal functions 2016-02-22 13:39:44 -05:00
d1_msg.c
d1_srtp.c
Makefile.in Always build library object files with shared library cflags 2016-02-20 16:51:31 +01:00
methods.c
packet_locl.h
pqueue.c
s3_cbc.c
s3_enc.c
s3_lib.c Remove unused parameter in ssl_set_masks(). 2016-02-24 02:41:54 +00:00
s3_msg.c
ssl_asn1.c
ssl_cert.c
ssl_ciph.c GH715: ENGINE_finish can take NULL 2016-02-25 15:19:42 -05:00
ssl_conf.c Remove outdated DEBUG flags. 2016-02-18 17:14:50 -05:00
ssl_err.c GH235: Set error status on malloc failure 2016-02-25 08:37:36 -05:00
ssl_init.c
ssl_lib.c Refactor the async wait fd logic 2016-02-29 12:58:44 +00:00
ssl_locl.h Refactor the async wait fd logic 2016-02-29 12:58:44 +00:00
ssl_mcnf.c
ssl_rsa.c TLS support for X25519 2016-02-28 22:54:54 +00:00
ssl_sess.c
ssl_stat.c
ssl_txt.c
ssl_utst.c
t1_enc.c GH735: remove unnecessary allocation 2016-02-23 11:33:57 -05:00
t1_ext.c
t1_lib.c TLS support for X25519 2016-02-28 22:54:54 +00:00
t1_reneg.c Remove outdated DEBUG flags. 2016-02-18 17:14:50 -05:00
t1_trce.c
tls_srp.c