boringssl/crypto/evp
David Benjamin 921d906bb6 Reimplement d2i_PrivateKey.
Functions which lose object reuse and need auditing:
- d2i_PrivateKey

This removes evp_asn1.c's dependency on the old stack. (Aside from
obj/.) It also takes old_priv_decode out of EVP_ASN1_METHOD in favor of
calling out to the new-style function. EVP_ASN1_METHOD no longer has any
old-style type-specific serialization hooks, only the PKCS#8 and SPKI
ones.

BUG=499653

Change-Id: Ic142dc05a5505b50e4717c260d3893b20e680194
Reviewed-on: https://boringssl-review.googlesource.com/7027
Reviewed-by: Adam Langley <agl@google.com>
2016-02-26 23:33:50 +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 Reimplement d2i_PrivateKey. 2016-02-26 23:33:50 +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 Reimplement d2i_PrivateKey. 2016-02-26 23:33:50 +00:00
p_dsa_asn1.c Reimplement d2i_PrivateKey. 2016-02-26 23:33:50 +00:00
p_ec_asn1.c Reimplement d2i_PrivateKey. 2016-02-26 23:33:50 +00:00
p_ec.c Implement new PKCS#8 parsers. 2016-02-17 17:24:10 +00:00
p_rsa_asn1.c Reimplement d2i_PrivateKey. 2016-02-26 23:33:50 +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 Reject iterations=0 when calling PKCS5_PBKDF2_HMAC(). 2015-10-13 19:40:55 +00:00
print.c Pull EVP_PKEY print hooks out of the main method table. 2016-02-26 22:40:44 +00:00
sign.c Take advantage of normalized return values. 2015-03-13 19:40:42 +00:00