boringssl/crypto/pkcs8
Adam Langley 8e16b6e658 Add PKCS#12 parser.
This is cleaner than the OpenSSL code was, at least, but it's hardly
beautiful due to the "standard" that it's trying to implement. (See
[1].)

The references from the PKCS#8 code to various ciphers have digests have
been made into function pointer references rather than NIDs so that the
linker will be able to drop RC2 code for binaries that don't call PKCS#8
or #12 functions.

A bug that crashed OpenSSL/BoringSSL when parsing a malformed PKCS#8
structure has been fixed too.

See https://www.cs.auckland.ac.nz/~pgut001/pubs/pfx.html

Change-Id: Iaa1039e04ed7877b90792835e8ce3ebc3b29f89e
Reviewed-on: https://boringssl-review.googlesource.com/1592
Reviewed-by: Adam Langley <agl@google.com>
2014-08-25 21:47:02 +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 Add PKCS#12 parser. 2014-08-25 21:47:02 +00:00
pkcs12_test.c Add PKCS#12 parser. 2014-08-25 21:47:02 +00:00