cfc11c2320
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> |
||
---|---|---|
.. | ||
aead.h | ||
aes.h | ||
arm_arch.h | ||
asn1_mac.h | ||
asn1.h | ||
asn1t.h | ||
base64.h | ||
base.h | ||
bio.h | ||
blowfish.h | ||
bn.h | ||
buf.h | ||
buffer.h | ||
bytestring.h | ||
cast.h | ||
chacha.h | ||
cipher.h | ||
cmac.h | ||
conf.h | ||
cpu.h | ||
crypto.h | ||
curve25519.h | ||
des.h | ||
dh.h | ||
digest.h | ||
dsa.h | ||
dtls1.h | ||
ec_key.h | ||
ec.h | ||
ecdh.h | ||
ecdsa.h | ||
engine.h | ||
err.h | ||
evp.h | ||
ex_data.h | ||
hkdf.h | ||
hmac.h | ||
is_boringssl.h | ||
lhash_macros.h | ||
lhash.h | ||
md4.h | ||
md5.h | ||
mem.h | ||
nid.h | ||
obj_mac.h | ||
obj.h | ||
objects.h | ||
opensslconf.h | ||
opensslv.h | ||
ossl_typ.h | ||
pem.h | ||
pkcs7.h | ||
pkcs8.h | ||
pkcs12.h | ||
poly1305.h | ||
pool.h | ||
rand.h | ||
rc4.h | ||
ripemd.h | ||
rsa.h | ||
safestack.h | ||
sha.h | ||
srtp.h | ||
ssl3.h | ||
ssl.h | ||
stack.h | ||
thread.h | ||
tls1.h | ||
type_check.h | ||
x509_vfy.h | ||
x509.h | ||
x509v3.h |