boringssl/ssl
David Benjamin b34f510b3b Don't delay-initialize legacy AEADs.
Instead, add a separate init_with_direction hook. Normal AEADs ignore the
direction, while legacy AEADs must be initialized with it. This avoids
maintaining extra state to support the delayed initialization.

Change-Id: I25271f0e56ee2783a2fd4d4026434154d58dc0a8
Reviewed-on: https://boringssl-review.googlesource.com/3731
Reviewed-by: Adam Langley <agl@google.com>
2015-03-05 21:25:05 +00:00
..
pqueue Fix memory leak in pqueue_test. 2015-02-11 23:18:45 +00:00
test Test that we reject RSA ServerKeyExchange more thoroughly. 2015-02-26 21:26:37 +00:00
CMakeLists.txt Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
d1_both.c Actually check that the message has the expected type in DTLS. 2015-02-25 21:23:48 +00:00
d1_clnt.c Remove BIO_should_retry checks in DTLS state machines. 2015-02-23 19:32:27 +00:00
d1_lib.c Handle failures in ssl3_finish_mac. 2015-02-17 21:01:37 +00:00
d1_meth.c Implement SSL_clear with ssl_new and ssl_free. 2015-01-12 22:35:58 +00:00
d1_pkt.c Tidy up the alert-parsing code. 2015-02-23 19:34:52 +00:00
d1_srtp.c Store SRTP_PROTECTION_PROFILES as const. 2015-01-14 22:10:08 +00:00
d1_srvr.c Remove BIO_should_retry checks in DTLS state machines. 2015-02-23 19:32:27 +00:00
s3_both.c Handle failures in ssl3_finish_mac. 2015-02-17 21:01:37 +00:00
s3_clnt.c Handle failures in ssl3_finish_mac. 2015-02-17 21:01:37 +00:00
s3_enc.c Handle failures in ssl3_finish_mac. 2015-02-17 21:01:37 +00:00
s3_lib.c Use SSL_MODE_SEND_FALLBACK_SCSV. 2015-02-20 23:44:09 +00:00
s3_meth.c Implement SSL_clear with ssl_new and ssl_free. 2015-01-12 22:35:58 +00:00
s3_pkt.c Tidy up the alert-parsing code. 2015-02-23 19:34:52 +00:00
s3_srvr.c Handle failures in ssl3_finish_mac. 2015-02-17 21:01:37 +00:00
ssl_algs.c Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
ssl_asn1.c Remove SSL_SESSION::cipher_id. 2015-01-14 21:10:55 +00:00
ssl_cert.c Add in missing curly braces part 3. 2015-02-11 15:14:46 -08:00
ssl_ciph.c Add SSL_CIPHER_get_rfc_name. 2015-02-09 17:31:28 -08:00
ssl_lib.c Add SSL_get_cipher_by_value. 2015-02-20 23:44:17 +00:00
ssl_locl.h Pass fragment to dtls1_retransmit_message. 2015-02-20 19:58:14 +00:00
ssl_rsa.c Don't EVP_PKEY_copy_parameters when configuring cert and key. 2015-02-17 21:03:29 +00:00
ssl_sess.c Remove server-side HelloVerifyRequest support. 2015-02-17 20:50:08 +00:00
ssl_stat.c Remove server-side HelloVerifyRequest support. 2015-02-17 20:50:08 +00:00
ssl_test.c Use SSL_get_cipher_by_value in cipher_get_rfc_name tests. 2015-02-23 19:33:02 +00:00
ssl_txt.c Add in missing curly braces part 3. 2015-02-11 15:14:46 -08:00
t1_enc.c Don't delay-initialize legacy AEADs. 2015-03-05 21:25:05 +00:00
t1_lib.c Add some missing error failure checks. 2015-02-17 20:55:56 +00:00
t1_reneg.c Reformat the rest of ssl/. 2014-12-18 17:43:03 -08:00