openssl/crypto/ec
Emilia Kasper 7f7c05ca63 Explicitly check for empty ASN.1 strings in d2i_ECPrivateKey
The old code implicitly relies on the ASN.1 code returning a \0-prefixed buffer
when the buffer length is 0. Change this to verify explicitly that the ASN.1 string
has positive length.

Reviewed-by: Dr Stephen Henson <steve@openssl.org>
(cherry picked from commit 82dc08de54ce443c2a9ac478faffe79e76157795)
2014-08-27 19:50:15 +02:00
..
.cvsignore
ec.h Further improve/fix ec_GFp_simple_points_make_affine (ecp_smpl.c) and 2014-08-13 17:40:33 +02:00
ec2_mult.c Fix for CVE-2014-0076 2014-03-12 14:23:21 +00:00
ec2_oct.c Reorganise ECC code so it can use FIPS module. 2011-06-06 12:54:51 +00:00
ec2_smpl.c Only use FIPS EC methods in FIPS mode. 2014-08-07 02:11:53 +01:00
ec_ameth.c RT3065: ec_private_key_dont_crash 2014-08-27 19:50:15 +02:00
ec_asn1.c Explicitly check for empty ASN.1 strings in d2i_ECPrivateKey 2014-08-27 19:50:15 +02:00
ec_check.c
ec_curve.c PR: 2239 2012-04-22 13:11:48 +00:00
ec_cvt.c ec_cvt.c: performance update from HEAD. 2011-11-14 21:14:53 +00:00
ec_err.c Add support for ECDH KARI. 2013-10-01 14:01:18 +01:00
ec_key.c Fix EC_KEY initialization race. 2012-10-05 20:50:38 +00:00
ec_lcl.h Corrected OPENSSL_NO_EC_NISTP_64_GCC_128 usage in ec_lcl.h. PR#3370 2014-06-03 23:17:21 +01:00
ec_lib.c "EC_POINT_invert" was checking "dbl" function pointer instead of "invert". 2014-07-21 22:28:09 +01:00
ec_mult.c ECC library bugfixes. 2010-08-26 12:10:57 +00:00
ec_oct.c Make no-ec2m work again (backport from HEAD). 2011-06-06 13:00:30 +00:00
ec_pmeth.c Fix for some platforms where "char" is unsigned. 2013-11-11 22:18:07 +00:00
ec_print.c
eck_prn.c Version skew reduction. 2012-06-06 12:41:46 +00:00
ecp_mont.c Only use FIPS EC methods in FIPS mode. 2014-08-07 02:11:53 +01:00
ecp_nist.c Only use FIPS EC methods in FIPS mode. 2014-08-07 02:11:53 +01:00
ecp_nistp224.c For OpenVMS, use inttypes.h instead of stdint.h 2012-03-01 21:29:16 +00:00
ecp_nistp256.c For OpenVMS, use inttypes.h instead of stdint.h 2012-03-01 21:29:16 +00:00
ecp_nistp521.c For OpenVMS, use inttypes.h instead of stdint.h 2012-03-01 21:29:16 +00:00
ecp_nistputil.c Fix warnings. 2011-10-19 08:58:35 +00:00
ecp_oct.c Reorganise ECC code so it can use FIPS module. 2011-06-06 12:54:51 +00:00
ecp_smpl.c Further improve/fix ec_GFp_simple_points_make_affine (ecp_smpl.c) and 2014-08-13 17:40:33 +02:00
ectest.c Further improve/fix ec_GFp_simple_points_make_affine (ecp_smpl.c) and 2014-08-13 17:40:33 +02:00
Makefile make update 2013-12-01 23:09:44 +00:00