Go to file
David Benjamin e95d20dcb8 Support EVP_AEAD in DTLS.
This CL removes the last of the EVP_CIPHER codepath in ssl/. The dead code is
intentionally not pruned for ease of review, except in DTLS-only code where
adding new logic to support both, only to remove half, would be cumbersome.

Fixes made:
- dtls1_retransmit_state is taught to retain aead_write_ctx rather than
  enc_write_ctx.
- d1_pkt.c reserves space for the variable-length nonce when echoed into the
  packet.
- dtls1_do_write sizes the MTU based on EVP_AEAD max overhead.
- tls1_change_cipher_state_cipher should not free AEAD write contexts in DTLS.
  This matches the (rather confused) ownership for the EVP_CIPHER contexts.
  I've added a TODO to resolve this craziness.

A follow-up CL will remove all the resultant dead code.

Change-Id: I644557f4db53bbfb182950823ab96d5e4c908866
Reviewed-on: https://boringssl-review.googlesource.com/2699
Reviewed-by: Adam Langley <agl@google.com>
2015-01-14 21:03:40 +00:00
crypto Implement SSLv3 ciphers with stateful AEADs. 2015-01-14 20:55:58 +00:00
doc Inital import. 2014-06-20 13:17:32 -07:00
include/openssl Support EVP_AEAD in DTLS. 2015-01-14 21:03:40 +00:00
ssl Support EVP_AEAD in DTLS. 2015-01-14 21:03:40 +00:00
tool Add the ability to run a server from the command line tool. 2014-12-11 10:47:21 -08:00
util Implement SSLv3 ciphers with stateful AEADs. 2015-01-14 20:55:58 +00:00
.clang-format Inital import. 2014-06-20 13:17:32 -07:00
.gitignore Inital import. 2014-06-20 13:17:32 -07:00
BUILDING Build with yasm on Win64 as well. 2014-10-31 22:02:45 +00:00
CMakeLists.txt Remove -std=c89 from compiler command line. 2015-01-12 23:45:34 +00:00
codereview.settings Add a codereview.settings file. 2014-11-18 22:21:33 +00:00