boringssl/crypto/pkcs8
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
internal.h
p5_pbev2.c
pkcs8_test.cc
pkcs8_x509.c
pkcs8.c Don't crash if asked to treat PBES2 as a PBES1 scheme. 2018-05-11 22:00:04 +00:00
pkcs12_test.cc