boringssl/crypto/evp
David Benjamin 8ebc0f55a0 Decouple the EVP and PEM code.
EVP_PKEY_asn1_find can already be private. EVP_PKEY_asn1_find_str is used
only so the PEM code can get at legacy encoders. Since this is all
legacy non-PKCS8 stuff, we can just explicitly list out the three cases
in the two places that need it. If this changes, we can later add a
table in crypto/pem mapping string to EVP_PKEY type.

With this, EVP_PKEY_ASN1_METHOD is no longer exposed in the public API
and nothing outside of EVP_PKEY reaches into it. Unexport all of that.

Change-Id: Iab661014247dbdbc31e5e9887364176ec5ad2a6d
Reviewed-on: https://boringssl-review.googlesource.com/6871
Reviewed-by: Adam Langley <agl@google.com>
2016-02-26 22:50:21 +00:00
..
CMakeLists.txt Pull EVP_PKEY print hooks out of the main method table. 2016-02-26 22:40:44 +00:00
digestsign.c Don't default to SHA-1 in |EVP_DigestSignInit|/|EVP_DigestVerifyInit|. 2015-10-26 21:26:51 +00:00
evp_asn1.c Implement new PKCS#8 parsers. 2016-02-17 17:24:10 +00:00
evp_ctx.c Remove app_data from EVP_PKEY_CTX. 2016-01-28 00:29:34 +00:00
evp_extra_test.cc Move X.509 signature algorithm tests to the crypto/x509 layer. 2016-02-26 22:38:50 +00:00
evp_test.cc Implement new PKCS#8 parsers. 2016-02-17 17:24:10 +00:00
evp_tests.txt Implement new PKCS#8 parsers. 2016-02-17 17:24:10 +00:00
evp.c Decouple the EVP and PEM code. 2016-02-26 22:50:21 +00:00
internal.h PEM_write_bio_PrivateKey is always PKCS#8. 2016-02-26 22:41:17 +00:00
p_dsa_asn1.c PEM_write_bio_PrivateKey is always PKCS#8. 2016-02-26 22:41:17 +00:00
p_ec_asn1.c PEM_write_bio_PrivateKey is always PKCS#8. 2016-02-26 22:41:17 +00:00
p_ec.c Implement new PKCS#8 parsers. 2016-02-17 17:24:10 +00:00
p_rsa_asn1.c PEM_write_bio_PrivateKey is always PKCS#8. 2016-02-26 22:41:17 +00:00
p_rsa.c Un-const EVP_PKEY_CTX_set0_rsa_oaep_label and fix overflow check. 2016-01-28 00:34:38 +00:00
pbkdf_test.cc Remove calls to ERR_load_crypto_strings. 2016-01-25 23:09:08 +00:00
pbkdf.c
print.c Pull EVP_PKEY print hooks out of the main method table. 2016-02-26 22:40:44 +00:00
sign.c