openssl/crypto
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
..
aes Add final(?) set of copyrights. 2016-06-01 11:27:25 -04:00
asn1 Constify ASN1_generate_nconf 2016-06-04 21:30:41 -04:00
async Fixes to get -ansi working 2016-06-08 20:18:04 +01:00
bf Remove/rename some old files. 2016-06-01 11:29:57 -04:00
bio BIO_printf() can fail to print the last character 2016-06-03 20:29:04 +01:00
blake2 Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
bn Clean up "generic" intro pod files. 2016-06-09 16:39:19 -04:00
buffer Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
camellia x86_64 assembly pack: tolerate spaces in source directory name. 2016-05-29 14:12:51 +02:00
cast Remove/rename some old files. 2016-06-01 11:29:57 -04:00
chacha s390x assembly pack: improve portability. 2016-06-06 11:08:04 +02:00
cmac Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
cms Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
comp Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
conf Handle Visual C warning about non-standard function names. 2016-05-26 00:48:23 +02:00
ct Fix potential access of null pointer (pp) 2016-06-07 12:21:46 -04:00
des Fix some GitHub issues. 2016-06-07 11:08:33 -04:00
dh Deprecate the flags that switch off constant time 2016-06-06 11:09:06 +01:00
dsa Set flag BN_FLG_CONSTTIME earlier 2016-06-07 15:26:57 +01:00
dso Remove/rename some old files. 2016-06-01 11:29:57 -04:00
ec RT 4242: reject invalid EC point coordinates 2016-06-09 23:58:20 +02:00
engine cryptodev_asym, zapparams: use OPENSSL_* allocation routines, handle errors 2016-06-03 20:29:04 +01:00
err Clean up "generic" intro pod files. 2016-06-09 16:39:19 -04:00
evp Parameter copy sanity checks. 2016-05-31 13:06:16 +01:00
hmac hmac/hmac.c: fix sizeof typo in hmac_ctx_cleanup. 2016-06-09 21:22:24 +02:00
idea Remove/rename some old files. 2016-06-01 11:29:57 -04:00
include/internal Make a2i_ipadd an internal function 2016-06-09 17:15:42 -04:00
kdf Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
lhash Complete the rename of LHASH functions and types 2016-05-23 00:46:53 +02:00
md2 Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
md4 Remove/rename some old files. 2016-06-01 11:29:57 -04:00
md5 Remove/rename some old files. 2016-06-01 11:29:57 -04:00
mdc2 Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
modes x86_64 assembly pack: tolerate spaces in source directory name. 2016-05-29 14:12:51 +02:00
objects Remove/rename some old files. 2016-06-01 11:29:57 -04:00
ocsp Tidy up OCSP print handling. 2016-06-02 15:30:27 +01:00
pem Remove/rename some old files. 2016-06-01 11:29:57 -04:00
perlasm Remove/rename some old files. 2016-06-01 11:29:57 -04:00
pkcs7 Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
pkcs12 Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
poly1305 x86_64 assembly pack: tolerate spaces in source directory name. 2016-05-29 14:12:51 +02:00
rand Added define for STATUS_SUCCESS 2016-06-03 12:18:59 -04:00
rc2 Remove/rename some old files. 2016-06-01 11:29:57 -04:00
rc4 x86_64 assembly pack: tolerate spaces in source directory name. 2016-05-29 14:12:51 +02:00
rc5 Remove/rename some old files. 2016-06-01 11:29:57 -04:00
ripemd Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
rsa Deprecate the flags that switch off constant time 2016-06-06 11:09:06 +01:00
seed Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
sha Remove/rename some old files. 2016-06-01 11:29:57 -04:00
srp Fix error return value in SRP functions 2016-05-23 23:55:11 +01:00
stack Constify stack and lhash macros. 2016-05-21 22:49:00 +01:00
ts Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
txt_db Rename lh_xxx,sk_xxx tp OPENSSL_{LH,SK}_xxx 2016-05-20 10:48:29 -04:00
ui Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
whrlpool x86_64 assembly pack: tolerate spaces in source directory name. 2016-05-29 14:12:51 +02:00
x509 Make a2i_ipadd an internal function 2016-06-09 17:15:42 -04:00
x509v3 Add some accessor API's 2016-06-08 11:37:06 -04:00
alphacpuid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00
arm64cpuid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00
arm_arch.h Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
armcap.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
armv4cpuid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00
build.info
c64xpluscpuid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00
cpt_err.c Remove unused error/function codes. 2016-05-23 15:04:23 -04:00
cryptlib.c Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00
cversion.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
dllmain.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
ebcdic.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ex_data.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ia64cpuid.S Add final(?) set of copyrights. 2016-06-01 11:27:25 -04:00
init.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
LPdir_nyi.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
LPdir_unix.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
LPdir_vms.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
LPdir_win.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
LPdir_win32.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
LPdir_wince.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
mem.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
mem_clr.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
mem_dbg.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
mem_sec.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
o_dir.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
o_fips.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
o_init.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
o_str.c Remove internal functions OPENSSL_strcasecmp and OPENSSL_strncasecmp 2016-05-28 02:15:04 +02:00
o_time.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
pariscid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00
ppc_arch.h GH919: Fix wrappers for two headers 2016-05-24 11:04:38 -04:00
ppccap.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
ppccpuid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00
s390xcap.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
s390xcpuid.S s390x assembly pack: improve portability. 2016-06-06 11:08:04 +02:00
sparc_arch.h Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
sparccpuid.S Add final(?) set of copyrights. 2016-06-01 11:27:25 -04:00
sparcv9cap.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
threads_none.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
threads_pthread.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
threads_win.c Fix Windows 64 bit crashes 2016-05-20 23:08:18 +01:00
uid.c Copyright consolidation 07/10 2016-05-17 14:51:26 -04:00
vms_rms.h Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
x86_64cpuid.pl x86_64 assembly pack: tolerate spaces in source directory name. 2016-05-29 14:12:51 +02:00
x86cpuid.pl Add assembly CRYPTO_memcmp. 2016-05-19 22:33:00 +02:00