boringssl/crypto
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
..
aes Windows build fixes. 2014-08-11 22:10:02 +00:00
asn1 Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
base64 Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
bio Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
bn Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
buf Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
bytestring Rework support for ASN.1 BER. 2014-08-25 21:38:08 +00:00
chacha Add visibility rules. 2014-07-31 22:03:11 +00:00
cipher Add 40-bit RC2 support. 2014-08-25 21:37:20 +00:00
conf Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
des A bunch of dead assignments. 2014-07-30 00:44:03 +00:00
dh Windows build fixes. 2014-08-11 22:10:02 +00:00
digest Correct endif comment in md32_common.h 2014-08-04 20:28:25 +00:00
dsa Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ec Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
ecdh Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
ecdsa Align EVP return values with BoringSSL convention. 2014-07-29 21:47:51 +00:00
engine Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
err Add PKCS#12 parser. 2014-08-25 21:47:02 +00:00
evp Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
hmac Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
lhash Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
md5 Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
modes Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
obj Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
pem Remove remnants of OPENSSL_FIPS 2014-08-04 19:20:04 +00:00
perlasm Windows build fixes. 2014-08-11 22:10:02 +00:00
pkcs8 Add PKCS#12 parser. 2014-08-25 21:47:02 +00:00
poly1305 Add a control to disable the Poly1305 NEON code. 2014-07-31 22:42:15 +00:00
rand Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
rc4 Windows build fixes. 2014-08-11 22:10:02 +00:00
rsa Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
sha Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
stack Mark all SSL_CIPHERs as const. 2014-08-18 17:55:05 +00:00
x509 Rework support for ASN.1 BER. 2014-08-25 21:38:08 +00:00
x509v3 Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
arm_arch.h Add a control to disable the Poly1305 NEON code. 2014-07-31 22:42:15 +00:00
CMakeLists.txt Windows build fixes. 2014-08-11 22:10:02 +00:00
cpu-arm.c Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
cpu-intel.c Include some build fixes for OS X. 2014-06-24 11:15:12 -07:00
cpu-x86_64-asm.pl Inital import. 2014-06-20 13:17:32 -07:00
cpu-x86-asm.pl Use asm directives to protect OPENSSL_cleanse. 2014-07-31 18:49:22 +00:00
crypto_error.c Move public headers to include/openssl/ 2014-07-14 22:42:18 +00:00
crypto_error.h Add ISC header to a handful of files. 2014-06-26 10:26:42 -07:00
directory_posix.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00
directory_win.c Inital import. 2014-06-20 13:17:32 -07:00
directory.h Add visibility rules. 2014-07-31 22:03:11 +00:00
ex_data_impl.c Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
ex_data.c Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
header_removed.h Add ISC header to a handful of files. 2014-06-26 10:26:42 -07:00
internal.h Inital import. 2014-06-20 13:17:32 -07:00
mem.c Windows build fixes. 2014-08-11 22:10:02 +00:00
thread.c Include Windows.h in some source files. 2014-08-18 11:39:09 -07:00
time_support.c Windows build fixes. 2014-08-11 22:10:02 +00:00