openssl/crypto/ec
Adam Langley 0388ac4c99 RT3065: ec_private_key_dont_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-----

Reviewed-by: Dr Stephen Henson <steve@openssl.org>
2014-08-27 19:49:34 +02:00
..
.cvsignore Add emacs cache files to .cvsignore. 2005-04-11 14:17:07 +00:00
ec2_mult.c Fix for CVE-2014-0076 2014-03-12 14:29:43 +00:00
ec2_oct.c Don't use FIPS api for ec2_oct.c 2011-02-14 16:55:28 +00:00
ec2_smpl.c PR: 2632 2011-10-26 16:43:34 +00:00
ec_ameth.c RT3065: ec_private_key_dont_crash 2014-08-27 19:49:34 +02:00
ec_asn1.c RT3065: ec_private_key_dont_crash 2014-08-27 19:49:34 +02:00
ec_check.c fix error found by coverity: check if ctx is != NULL before calling BN_CTX_end() 2006-03-13 23:14:57 +00:00
ec_curve.c PR: 2239 2012-04-22 13:06:51 +00:00
ec_cvt.c spacrv9cap.c: addenum to recent EC optimizations. 2011-05-23 08:14:32 +00:00
ec_err.c Add support for ECDH KARI. 2013-07-17 21:45:01 +01:00
ec_key.c Make `safe' (EC)DSA nonces the default. 2013-07-15 12:57:48 +01:00
ec_lcl.h Corrected OPENSSL_NO_EC_NISTP_64_GCC_128 usage in ec_lcl.h. PR#3370 2014-06-03 23:15:58 +01:00
ec_lib.c "EC_POINT_invert" was checking "dbl" function pointer instead of "invert". 2014-07-21 22:18:40 +01:00
ec_mult.c Reorganise ECC code for inclusion in FIPS module. 2011-02-14 16:52:12 +00:00
ec_oct.c Make no-ec2m work again. 2011-03-10 01:00:30 +00:00
ec_pmeth.c Fix for some platforms where "char" is unsigned. 2013-11-09 15:09:23 +00:00
ec_print.c fix memory leak 2002-06-06 10:33:05 +00:00
ec.h RT2513: Fix typo's paramter-->parameter 2014-08-19 11:09:33 -04:00
eck_prn.c Add new APIs EC_curve_nist2nid and EC_curve_nid2nist which convert 2012-02-21 14:41:13 +00:00
ecp_mont.c Reorganise ECC code for inclusion in FIPS module. 2011-02-14 16:52:12 +00:00
ecp_nist.c PR2490: Remove unused local variable bn ecp_nist.c 2014-08-20 16:36:20 -04:00
ecp_nistp224.c Fix warnings. 2011-10-19 08:59:53 +00:00
ecp_nistp256.c Fix warnings. 2011-10-19 08:59:53 +00:00
ecp_nistp521.c Version skew reduction: trivia (I hope). 2012-06-03 22:00:21 +00:00
ecp_nistputil.c Fix warnings. 2011-10-19 08:59:53 +00:00
ecp_oct.c Reorganise ECC code for inclusion in FIPS module. 2011-02-14 16:52:12 +00:00
ecp_smpl.c Further improve/fix ec_GFp_simple_points_make_affine (ecp_smpl.c) and 2014-08-13 17:37:19 +02:00
ectest.c Further improve/fix ec_GFp_simple_points_make_affine (ecp_smpl.c) and 2014-08-13 17:37:19 +02:00
Makefile make depend 2014-02-19 20:09:08 +00:00