Go to file
David Benjamin df109ab3d4 Replicate s3_cbc.c under crypto/cipher/internal.h.
These helper functions will be used in the implementation of the legacy CBC
mode AEADs. The file is copied as-is and then modified to remove the dependency
on ssl/. Notably explicit IV logic is removed (that's a side effect of how
explicit IVs are currently implemented) and the padding length is returned
directly rather than smuggled into rec->type.

(Diffing tls_cbc.c and s3_cbc.c is probably the easiest for a review.)

The helpers are currently unused.

Change-Id: Ib703f4d3620196c9f2921cb3b8bf985f2d1777db
Reviewed-on: https://boringssl-review.googlesource.com/2691
Reviewed-by: Adam Langley <agl@google.com>
2015-01-14 19:48:35 +00:00
crypto Replicate s3_cbc.c under crypto/cipher/internal.h. 2015-01-14 19:48:35 +00:00
doc Inital import. 2014-06-20 13:17:32 -07:00
include/openssl Free more memory in cleanup functions. 2015-01-13 00:04:35 +00:00
ssl Allocate the temporary buffer in tls1_PRF internally. 2015-01-14 19:47:45 +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 HKDF. 2014-12-18 20:13:06 +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