tls: Separate TLS protection to abstracted AEAD modes
authorMartin Willi <martin@revosec.ch>
Mon, 3 Feb 2014 12:20:46 +0000 (13:20 +0100)
committerMartin Willi <martin@revosec.ch>
Mon, 31 Mar 2014 13:56:12 +0000 (15:56 +0200)
commitd3204677bad04eef716ff22dafb65b643e7564f8
treea3809f97210333b91baa9832e0a623ffb326cc96
parente5d73b0dfa6bc57b2ed8745df4409308eeaf272e
tls: Separate TLS protection to abstracted AEAD modes

To better separate the code path for different TLS versions and modes of
operation, we introduce a TLS AEAD abstraction. We provide three implementations
using traditional transforms, and get prepared for TLS AEAD modes.
src/libtls/Makefile.am
src/libtls/tls_aead.h [new file with mode: 0644]
src/libtls/tls_aead_expl.c [new file with mode: 0644]
src/libtls/tls_aead_impl.c [new file with mode: 0644]
src/libtls/tls_aead_null.c [new file with mode: 0644]
src/libtls/tls_crypto.c
src/libtls/tls_protection.c
src/libtls/tls_protection.h