boringssl/crypto/evp
David Benjamin 758d12732a Add get0 getters for EVP_PKEY.
Right now your options are:
- Bounce on a reference and deal with cleanup needlessly.
- Manually check the type tag and peek into the union.

We probably have no hope of opaquifying this struct, but for new code, let's
recommend using this function rather than the more error-prone thing.

Change-Id: I9b39ff95fe4264a3f7d1e0d2894db337aa968f6c
Reviewed-on: https://boringssl-review.googlesource.com/6551
Reviewed-by: Adam Langley <agl@google.com>
2015-11-20 23:34:12 +00:00
..
algorithm.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
CMakeLists.txt Add a run_tests target to run all tests. 2015-10-26 20:33: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 Defensively avoid assuming d2i functions don't advance on error. 2015-09-28 22:15:42 +00:00
evp_ctx.c Become partially -Wmissing-variable-declarations-clean. 2015-11-12 20:09:20 +00:00
evp_extra_test.cc Remove stl_compat.h. 2015-11-11 22:19:36 +00:00
evp_test.cc Remove stl_compat.h. 2015-11-11 22:19:36 +00:00
evp_tests.txt Implement ECDSA_SIG_{parse,marshal} with crypto/bytestring. 2015-07-07 02:28:42 +00:00
evp.c Add get0 getters for EVP_PKEY. 2015-11-20 23:34:12 +00:00
internal.h Become partially -Wmissing-variable-declarations-clean. 2015-11-12 20:09:20 +00:00
p_dsa_asn1.c Fix several warnings that arise in Android. 2015-10-30 21:11:48 +00:00
p_ec_asn1.c Fix several warnings that arise in Android. 2015-10-30 21:11:48 +00:00
p_ec.c Remove superfluous SHA-1 dependency from EVP ECDSA code. 2015-09-15 23:18:44 +00:00
p_rsa_asn1.c Work around even more Estonian ID card misissuances. 2015-09-23 20:35:47 +00:00
p_rsa.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
pbkdf_test.cc Reject iterations=0 when calling PKCS5_PBKDF2_HMAC(). 2015-10-13 19:40:55 +00:00
pbkdf.c Reject iterations=0 when calling PKCS5_PBKDF2_HMAC(). 2015-10-13 19:40:55 +00:00
sign.c Take advantage of normalized return values. 2015-03-13 19:40:42 +00:00