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
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
cbs.c
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