openssl/crypto/ec
Emilia Kasper 1e2012b7ff RT 4242: reject invalid EC point coordinates
We already test in EC_POINT_oct2point that points are on the curve. To
be on the safe side, move this check to
EC_POINT_set_affine_coordinates_* so as to also check point coordinates
received through some other method.

We do not check projective coordinates, though, as
- it's unlikely that applications would be receiving this primarily
  internal representation from untrusted sources, and
- it's possible that the projective setters are used in a setting where
  performance matters.

Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-06-09 23:58:20 +02:00
..
asm x86_64 assembly pack: tolerate spaces in source directory name. 2016-05-29 14:12:51 +02:00
build.info Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
curve25519.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ec2_mult.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ec2_oct.c RT 4242: reject invalid EC point coordinates 2016-06-09 23:58:20 +02:00
ec2_smpl.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ec_25519.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ec_ameth.c Parameter copy sanity checks. 2016-05-31 13:06:16 +01:00
ec_asn1.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ec_check.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ec_curve.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ec_cvt.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ec_err.c Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
ec_key.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ec_kmeth.c Fix and simplify error handling in (RSA/EC_kmeth)_new_method() 2016-05-23 13:37:02 +01:00
ec_lcl.h Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ec_lib.c RT 4242: reject invalid EC point coordinates 2016-06-09 23:58:20 +02:00
ec_mult.c Free tempory data on error in ec_wNAF_mul() 2016-06-01 18:00:53 +01:00
ec_oct.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ec_pmeth.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ec_print.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ecdh_kdf.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ecdh_ossl.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ecdsa_ossl.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ecdsa_sign.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ecdsa_vrf.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
eck_prn.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ecp_mont.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ecp_nist.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ecp_nistp224.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ecp_nistp256.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ecp_nistp521.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ecp_nistputil.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ecp_nistz256.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ecp_nistz256_table.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ecp_oct.c RT 4242: reject invalid EC point coordinates 2016-06-09 23:58:20 +02:00
ecp_smpl.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00