boringssl/ssl
David Benjamin d28f59c27b Switch the keylog BIO to a callback.
The keylog BIO is internally synchronized by the SSL_CTX lock, but an
application may wish to log keys from multiple SSL_CTXs. This is in
preparation for switching Chromium to use a separate SSL_CTX per profile
to more naturally split up the session caches.

It will also be useful for routing up SSLKEYLOGFILE in WebRTC. There,
each log line must be converted to an IPC up from the renderer
processes.

This will require changes in Chromium when we roll BoringSSL.

BUG=458365,webrtc:4417

Change-Id: I2945bdb4def0a9c36e751eab3d5b06c330d66b54
Reviewed-on: https://boringssl-review.googlesource.com/6514
Reviewed-by: Adam Langley <agl@google.com>
2015-11-19 01:23:49 +00:00
..
pqueue Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
test Remove stl_compat.h. 2015-11-11 22:19:36 +00:00
CMakeLists.txt Fix shared library build on OS X. 2015-10-26 23:39:47 +00:00
custom_extensions.c Align the SSL stack on #include style. 2015-09-15 23:32:07 +00:00
d1_both.c Rewrite DTLS handshake message sending logic. 2015-11-06 21:43:32 +00:00
d1_clnt.c Reset epoch state in one place. 2015-11-16 23:19:31 +00:00
d1_lib.c Separate CCS and handshake writing in DTLS. 2015-11-04 00:11:14 +00:00
d1_meth.c Ditch remaining filename comments from public headers and ssl/ 2015-10-20 18:40:05 +00:00
d1_pkt.c Reset epoch state in one place. 2015-11-16 23:19:31 +00:00
d1_srtp.c Fix a missing initializer that only Clang warns about. 2015-10-30 17:24:03 -07:00
d1_srvr.c Reset epoch state in one place. 2015-11-16 23:19:31 +00:00
dtls_record.c Reject empty records of unexpected type. 2015-08-28 22:03:00 +00:00
internal.h Switch the keylog BIO to a callback. 2015-11-19 01:23:49 +00:00
s3_both.c Switch the keylog BIO to a callback. 2015-11-19 01:23:49 +00:00
s3_clnt.c Switch the keylog BIO to a callback. 2015-11-19 01:23:49 +00:00
s3_enc.c Change some "int" variables to "size_t" in ssl3_handshake_mac(). 2015-09-24 00:04:59 +00:00
s3_lib.c Add SSL_CIPHER_get_min_version and tidy up SSL_TLSV1_2 logic. 2015-11-06 19:56:29 +00:00
s3_meth.c Align the SSL stack on #include style. 2015-09-15 23:32:07 +00:00
s3_pkt.c Add ssl_renegotiate_ignore. 2015-11-03 21:58:13 +00:00
s3_srvr.c Fix ssl3_send_server_key_exchange error path. 2015-11-16 23:27:27 +00:00
ssl_aead_ctx.c Revert most of "Refactor ChaCha20-Poly1305 AEAD nonce handling." 2015-10-29 18:40:33 +00:00
ssl_asn1.c Check for overflow when parsing a CBS with d2i_*. 2015-11-16 23:17:42 +00:00
ssl_buffer.c Fix DTLS asynchronous write handling. 2015-11-02 23:16:22 +00:00
ssl_cert.c Document certificate verification functions in SSL. 2015-09-23 23:31:18 +00:00
ssl_cipher.c Add SSL_CIPHER_is_AES[128|256]CBC. 2015-11-17 19:15:06 +00:00
ssl_file.c More SSL_SESSION serialization functions. 2015-10-26 17:57:50 +00:00
ssl_lib.c Switch the keylog BIO to a callback. 2015-11-19 01:23:49 +00:00
ssl_rsa.c size_t SSL*_use_*_ASN1. 2015-11-16 23:59:14 +00:00
ssl_session.c Tidy up SSL_CTX_add_session. 2015-10-26 19:22:40 +00:00
ssl_stat.c Document alert handling. 2015-10-20 19:03:24 +00:00
ssl_test.cc Remove stl_compat.h. 2015-11-11 22:19:36 +00:00
t1_enc.c Reset epoch state in one place. 2015-11-16 23:19:31 +00:00
t1_lib.c Move curve check out of tls12_check_peer_sigalg. 2015-11-11 22:15:16 +00:00
tls_record.c Add use counters for SSL_OP_TLS_D5_BUG and SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER. 2015-10-20 18:22:47 +00:00