boringssl/crypto/bytestring
David Benjamin d822ed811a Make CBB_len return a length, not remaining.
It switched from CBB_remaining to CBB_len partway through review, but
the semantics are still CBB_remaining. Using CBB_len allows the
len_before/len_after logic to continue working even if, in the future,
handshake messages are built on a non-fixed CBB.

Change-Id: Id466bb341a14dbbafcdb26e4c940a04181f2787d
Reviewed-on: https://boringssl-review.googlesource.com/5371
Reviewed-by: Adam Langley <agl@google.com>
2015-07-09 19:20:09 +00:00
..
ber.c Make CBS_get_any_asn1_element accept only DER. 2015-06-03 22:08:16 +00:00
bytestring_test.cc Add CBB_zero to set a CBB to the zero state. 2015-07-01 19:45:43 +00:00
cbb.c Make CBB_len return a length, not remaining. 2015-07-09 19:20:09 +00:00
cbs.c Make CBS_get_any_asn1_element accept only DER. 2015-06-03 22:08:16 +00:00
CMakeLists.txt Add malloc test support to unit tests. 2015-05-21 17:59:48 +00:00
internal.h Export |CBS_get_any_ber_asn1_element|. 2015-06-05 21:56:42 +00:00