boringssl/ssl
David Benjamin cfc11c2320 C++-ify SSL_AEAD_CTX.
This adds several utilities as replacements for new and delete and makes
bssl::UniquePtr work with our private types.

Later work can convert more incrementally. I did this one more
aggressively to see how it'd work. Unfortunately, in doing so, I needed
to remove the NULL SSL_AEAD_CTX "method" receiver trick to appease
clang. The null cipher is now represented by a concrete SSL_AEAD_CTX.
The long-lived references to SSL_AEAD_CTX are not yet in types with
constructors, so they still bare Delete rather than UniquePtr for now.

Though this does mean we may be able to move the sequence number into
SSLAEADContext later which is one less object for DTLS to carry around.

Bug: 132
Change-Id: I506b404addafb692055d5709b0ca6d5439a4e6be
Reviewed-on: https://boringssl-review.googlesource.com/18164
Reviewed-by: Adam Langley <agl@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
2017-07-20 03:17:06 +00:00
..
test Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
bio_ssl.cc Switch a number of files to C++. 2017-07-12 20:54:02 +00:00
CMakeLists.txt Switch tls13_client and tls13_server to C++. 2017-07-13 16:14:26 +00:00
custom_extensions.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
d1_both.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
d1_lib.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
d1_pkt.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
d1_srtp.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
dtls_method.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
dtls_record.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
handshake_client.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
handshake_server.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
internal.h C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
s3_both.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
s3_lib.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
s3_pkt.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
ssl_aead_ctx.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
ssl_asn1.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
ssl_buffer.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
ssl_cert.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
ssl_cipher.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
ssl_ecdh.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
ssl_file.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
ssl_lib.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
ssl_privkey.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
ssl_session.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
ssl_stat.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
ssl_test.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
ssl_transcript.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
ssl_versions.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
ssl_x509.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
t1_enc.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
t1_lib.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
tls13_both.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
tls13_client.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
tls13_enc.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
tls13_server.cc Move libssl's internals into the bssl namespace. 2017-07-19 19:10:59 +00:00
tls_method.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00
tls_record.cc C++-ify SSL_AEAD_CTX. 2017-07-20 03:17:06 +00:00