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
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
ec_25519.c
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
ec_curve.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ec_cvt.c
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
ec_pmeth.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ec_print.c
ecdh_kdf.c
ecdh_ossl.c
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
ecp_nist.c
ecp_nistp224.c
ecp_nistp256.c
ecp_nistp521.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ecp_nistputil.c
ecp_nistz256_table.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ecp_nistz256.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