boringssl/crypto/ec
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
..
CMakeLists.txt Inital import. 2014-06-20 13:17:32 -07:00
ec_asn1.c Fix EC crash. 2014-06-20 13:17:34 -07:00
ec_error.c Inital import. 2014-06-20 13:17:32 -07:00
ec_key.c Inital import. 2014-06-20 13:17:32 -07:00
ec_key.h Inital import. 2014-06-20 13:17:32 -07:00
ec_montgomery.c Inital import. 2014-06-20 13:17:32 -07:00
ec.c Inital import. 2014-06-20 13:17:32 -07:00
ec.h Inital import. 2014-06-20 13:17:32 -07:00
example_mul.c Inital import. 2014-06-20 13:17:32 -07:00
internal.h Inital import. 2014-06-20 13:17:32 -07:00
oct.c Inital import. 2014-06-20 13:17:32 -07:00
simple.c Inital import. 2014-06-20 13:17:32 -07:00
wnaf.c Inital import. 2014-06-20 13:17:32 -07:00