boringssl/crypto/evp
Adam Langley f71a27920a Fix EC crash.
This change saves several EC routines from crashing when an EC_KEY is
missing a public key. The public key is optional in the EC private key
format and, without this patch, running the following through `openssl
ec` causes a crash:

-----BEGIN EC PRIVATE KEY-----
MBkCAQEECAECAwQFBgcIoAoGCCqGSM49AwEH
-----END EC PRIVATE KEY-----
2014-06-20 13:17:34 -07:00
..
asn1.c Inital import. 2014-06-20 13:17:32 -07:00
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00
digestsign.c Inital import. 2014-06-20 13:17:32 -07:00
evp_ctx.c Inital import. 2014-06-20 13:17:32 -07:00
evp_error.c Inital import. 2014-06-20 13:17:32 -07:00
evp.c Inital import. 2014-06-20 13:17:32 -07:00
evp.h Inital import. 2014-06-20 13:17:32 -07:00
example_sign.c Inital import. 2014-06-20 13:17:32 -07:00
internal.h Inital import. 2014-06-20 13:17:32 -07:00
p_ec_asn1.c Fix EC crash. 2014-06-20 13:17:34 -07:00
p_ec.c Inital import. 2014-06-20 13:17:32 -07:00
p_hmac_asn1.c Inital import. 2014-06-20 13:17:32 -07:00
p_hmac.c Inital import. 2014-06-20 13:17:32 -07:00
p_rsa_asn1.c Inital import. 2014-06-20 13:17:32 -07:00
p_rsa.c Inital import. 2014-06-20 13:17:32 -07:00
pbkdf.c Inital import. 2014-06-20 13:17:32 -07:00
sign.c Inital import. 2014-06-20 13:17:32 -07:00