boringssl/crypto/pkcs8
Adam Langley 5127db3b4d Provide compatibility functions for PKCS#12 parsing.
In order to minimise the upstream diffs needed for bits of Android to
build with BoringSSL, this change implements the old style PKCS#12
functions as wrappers around the modern parser.

The function to read all the contents of a BIO could almost be a utility
function but I'll wait until there are two uses for it first.

The important change from the original functions is that these will
always read the complete buffer/BIO/FILE passed in. Based on a survey of
uses of d2i_PKCS12 that I found, this appears to be universally what
callers want anyway.

Change-Id: I3f5b84e710b161d975f91f4d16c83d44371368d1
Reviewed-on: https://boringssl-review.googlesource.com/1791
Reviewed-by: Adam Langley <agl@google.com>
2014-09-20 00:10:03 +00:00
..
CMakeLists.txt Add PKCS#12 parser. 2014-08-25 21:47:02 +00:00
internal.h Inital import. 2014-06-20 13:17:32 -07:00
p5_pbe.c Inital import. 2014-06-20 13:17:32 -07:00
p5_pbev2.c Memory leak and NULL dereference fixes. 2014-07-28 17:05:12 -07:00
p8_pkey.c Add PKCS#12 parser. 2014-08-25 21:47:02 +00:00
pkcs8_error.c Add PKCS#12 parser. 2014-08-25 21:47:02 +00:00
pkcs8.c Provide compatibility functions for PKCS#12 parsing. 2014-09-20 00:10:03 +00:00
pkcs12_test.c Provide compatibility functions for PKCS#12 parsing. 2014-09-20 00:10:03 +00:00