openssl/crypto/ec
Matt Caswell 40a8643a37 Avoid a NULL ptr deref if group is not set
We should only copy parameters and keys if the group is set. Otherwise
they don't really make any sense. Previously we copied the private key
regardless of whether the group was set...but if it wasn't a NULL ptr
deref could occur. It's unclear whether we could ever get into that
situation, but since we were already checking it for the public key we
should be consistent.

Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-04-29 16:47:41 +01:00
..
asm Fix the spelling of "implement". 2016-04-14 08:15:27 -04:00
build.info Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
curve25519.c Curve25519: fix const-initialization 2016-03-04 18:13:05 +01:00
ec2_mult.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ec2_oct.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ec2_smpl.c Add default operations to EC_METHOD 2016-03-01 22:04:25 +00:00
ec_25519.c Handle KDF internally. 2016-03-02 20:48:12 +00:00
ec_ameth.c Remove #error from include files. 2016-03-20 19:48:36 -04:00
ec_asn1.c constify ECDSA_SIG_get0() 2016-03-19 22:04:38 +00:00
ec_check.c Extended EC_METHOD customisation support. 2016-02-28 22:54:53 +00:00
ec_curve.c Add X25519 curve to list 2016-02-28 22:54:53 +00:00
ec_cvt.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ec_err.c RT3676: Expose ECgroup i2d functions 2016-03-09 12:25:21 -05:00
ec_key.c Avoid a NULL ptr deref if group is not set 2016-04-29 16:47:41 +01:00
ec_kmeth.c Remove #error from include files. 2016-03-20 19:48:36 -04:00
ec_lcl.h Include e_os.h from ec_lcl.h 2016-03-08 19:55:40 +01:00
ec_lib.c Add default operations to EC_METHOD 2016-03-01 22:04:25 +00:00
ec_mult.c Convert CRYPTO_LOCK_EC_* to new multi-threading API 2016-03-08 11:10:34 -05:00
ec_oct.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ec_pmeth.c Rename some BUF_xxx to OPENSSL_xxx 2015-12-16 16:14:49 -05:00
ec_print.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ecdh_kdf.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ecdh_ossl.c Handle KDF internally. 2016-03-02 20:48:12 +00:00
ecdsa_ossl.c Add no signing flag. 2016-02-28 22:54:53 +00:00
ecdsa_sign.c Remove #error from include files. 2016-03-20 19:48:36 -04:00
ecdsa_vrf.c Remove #error from include files. 2016-03-20 19:48:36 -04:00
eck_prn.c Remove unused parameters from internal functions 2016-02-22 13:39:44 -05:00
ecp_mont.c Add default operations to EC_METHOD 2016-03-01 22:04:25 +00:00
ecp_nist.c Add default operations to EC_METHOD 2016-03-01 22:04:25 +00:00
ecp_nistp224.c Convert CRYPTO_LOCK_EC_* to new multi-threading API 2016-03-08 11:10:34 -05:00
ecp_nistp256.c Convert CRYPTO_LOCK_EC_* to new multi-threading API 2016-03-08 11:10:34 -05:00
ecp_nistp521.c Convert CRYPTO_LOCK_EC_* to new multi-threading API 2016-03-08 11:10:34 -05:00
ecp_nistputil.c Use NON_EMPTY_TRANSLATION_UNIT, consistently. 2016-02-09 20:13:29 -05:00
ecp_nistz256_table.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
ecp_nistz256.c Convert CRYPTO_LOCK_EC_* to new multi-threading API 2016-03-08 11:10:34 -05:00
ecp_oct.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ecp_smpl.c Add default operations to EC_METHOD 2016-03-01 22:04:25 +00:00