boringssl/crypto/bytestring
David Benjamin bd42603943 Add a convenience function for i2d compatibility wrappers.
An i2d compatibility function is rather long, so add CBB_finish_i2d for
part of it. It takes a CBB as input so only a 'marshal' function is
needed, rather than a 'to_bytes' one.

Also replace the *inp d2i update pattern with a slightly shorter one.

Change-Id: Ibb41059c9532f6a8ce33460890cc1afe26adc97c
Reviewed-on: https://boringssl-review.googlesource.com/6868
Reviewed-by: Adam Langley <agl@google.com>
2016-02-16 19:40:53 +00:00
..
asn1_compat.c Add a convenience function for i2d compatibility wrappers. 2016-02-16 19:40:53 +00:00
ber.c Parse BER for PKCS#12 more accurately. 2016-02-16 19:32:50 +00:00
bytestring_test.cc Parse BER for PKCS#12 more accurately. 2016-02-16 19:32:50 +00:00
cbb.c Rewrite ssl3_send_server_key_exchange to use CBB. 2015-12-22 17:23:58 +00:00
cbs.c Allow out_present to be NULL in CBS_get_optional_asn1 2015-09-03 18:46:17 +00:00
CMakeLists.txt Add a convenience function for i2d compatibility wrappers. 2016-02-16 19:40:53 +00:00
internal.h Add a convenience function for i2d compatibility wrappers. 2016-02-16 19:40:53 +00:00