openssl/crypto/ec
Matt Caswell 50d3049930 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>
(cherry picked from commit 68886be7e2)

Conflicts:
	crypto/ec/ec2_oct.c
	crypto/ec/ecp_oct.c
	crypto/ec/ectest.c
2015-06-10 10:59:20 +01:00
..
.cvsignore Add emacs cache files to .cvsignore. 2005-04-11 14:17:07 +00:00
ec.h Re-align some comments after running the reformat script. 2015-01-22 09:53:07 +00:00
ec2_mult.c Run util/openssl-format-source -v -c . 2015-01-22 09:52:55 +00:00
ec2_smpl.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:59:20 +01:00
ec2_smpt.c Run util/openssl-format-source -v -c . 2015-01-22 09:52:55 +00:00
ec_asn1.c Fix a failure to NULL a pointer freed on error. 2015-03-19 13:00:45 +00:00
ec_check.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:59:20 +01:00
ec_curve.c Run util/openssl-format-source -v -c . 2015-01-22 09:52:55 +00:00
ec_cvt.c Run util/openssl-format-source -v -c . 2015-01-22 09:52:55 +00:00
ec_err.c Run util/openssl-format-source -v -c . 2015-01-22 09:52:55 +00:00
ec_key.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:59:20 +01:00
ec_lcl.h Re-align some comments after running the reformat script. 2015-01-22 09:53:07 +00:00
ec_lib.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:59:20 +01:00
ec_mult.c Re-align some comments after running the reformat script. 2015-01-22 09:53:07 +00:00
ec_print.c Run util/openssl-format-source -v -c . 2015-01-22 09:52:55 +00:00
ecp_mont.c Run util/openssl-format-source -v -c . 2015-01-22 09:52:55 +00:00
ecp_nist.c Run util/openssl-format-source -v -c . 2015-01-22 09:52:55 +00:00
ecp_smpl.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:59:20 +01:00
ectest.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:59:20 +01:00
Makefile Merge changes to build system from fips branch. 2008-09-16 21:44:57 +00:00