boringssl/crypto/bytestring
David Benjamin 8803c0589d Properly advance the CBS when parsing BER structures.
CBS_asn1_ber_to_der was a little cumbersome to use. While it, in theory,
allowed callers to consistently advance past the element, no caller
actually did so consistently. Instead they would advance if conversion
happened, and not if it was already DER. For the PKCS7_* functions, this
was even caller-exposed.

Change-Id: I658d265df899bace9ba6616cb465f19c9e6c3534
Reviewed-on: https://boringssl-review.googlesource.com/29304
Reviewed-by: Adam Langley <agl@google.com>
2018-06-26 07:23:10 +00:00
..
asn1_compat.c Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
ber.c Properly advance the CBS when parsing BER structures. 2018-06-26 07:23:10 +00:00
bytestring_test.cc Properly advance the CBS when parsing BER structures. 2018-06-26 07:23:10 +00:00
cbb.c Add some more utility functions to bytestring. 2018-01-25 23:51:36 +00:00
cbs.c bytestring: document that |CBS_get_optional_asn1| can have a NULL output. 2018-03-19 20:22:25 +00:00
CMakeLists.txt Add new character encoding functions. 2018-05-11 21:55:26 +00:00
internal.h Properly advance the CBS when parsing BER structures. 2018-06-26 07:23:10 +00:00
unicode.c Add new character encoding functions. 2018-05-11 21:55:26 +00:00