openssl/crypto/ec
Matt Caswell 68886be7e2 EC_POINT_is_on_curve does not return a boolean
The function EC_POINT_is_on_curve does not return a boolean value.
It returns 1 if the point is on the curve, 0 if it is not, and -1
on error. Many usages within OpenSSL were incorrectly using this
function and therefore not correctly handling error conditions.

With thanks to the Open Crypto Audit Project for reporting this issue.

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
2015-06-10 10:43:53 +01:00
..
asm bn/asm/armv8-mont.pl: boost performance. 2015-05-13 17:14:00 +02:00
ec2_mult.c free NULL cleanup 7 2015-04-30 21:37:06 -04:00
ec2_oct.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:43:53 +01:00
ec2_smpl.c free NULL cleanup 7 2015-04-30 21:37:06 -04:00
ec_ameth.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
ec_asn1.c Use p==NULL not !p (in if statements, mainly) 2015-05-11 10:06:38 -04:00
ec_check.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:43:53 +01:00
ec_curve.c Use p==NULL not !p (in if statements, mainly) 2015-05-11 10:06:38 -04:00
ec_cvt.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
ec_err.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
ec_key.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:43:53 +01:00
ec_lcl.h fix copy paste error in ec_GF2m function prototypes 2015-05-26 10:12:22 +02:00
ec_lib.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:43:53 +01:00
ec_mult.c Use p==NULL not !p (in if statements, mainly) 2015-05-11 10:06:38 -04:00
ec_oct.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
ec_pmeth.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
ec_print.c remove malloc casts 2015-04-28 15:28:14 -04:00
eck_prn.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
ecp_mont.c free NULL cleanup 7 2015-04-30 21:37:06 -04:00
ecp_nist.c free NULL cleanup 7 2015-04-30 21:37:06 -04:00
ecp_nistp224.c Fix build errors with enable-ec_nistp_64_gcc_128 2015-05-29 12:40:53 +02:00
ecp_nistp256.c Fix build errors with enable-ec_nistp_64_gcc_128 2015-05-29 12:40:53 +02:00
ecp_nistp521.c Fix build errors with enable-ec_nistp_64_gcc_128 2015-05-29 12:40:53 +02:00
ecp_nistputil.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
ecp_nistz256.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
ecp_nistz256_table.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
ecp_oct.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:43:53 +01:00
ecp_smpl.c free NULL cleanup 7 2015-04-30 21:37:06 -04:00
Makefile Fix the update target and remove duplicate file updates 2015-05-22 18:44:33 +02:00