boringssl/crypto/pkcs7
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
..
CMakeLists.txt Move pkcs{7,8}_test over to gtest 2017-06-02 16:53:41 +00:00
internal.h Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
pkcs7_test.cc Properly advance the CBS when parsing BER structures. 2018-06-26 07:23:10 +00:00
pkcs7_x509.c Run the comment converter on libcrypto. 2017-08-18 21:49:04 +00:00
pkcs7.c Properly advance the CBS when parsing BER structures. 2018-06-26 07:23:10 +00:00