openssl/crypto/ec
Matt Caswell 7cb79c7afb 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)
2015-06-10 10:49:06 +01:00
..
asm ec/asm/ecp_nistz256-x86_64.pl: update commentary with before-after performance data. 2015-03-28 15:56:28 +01:00
.cvsignore
ec.h Error checking and memory leak fixes in NISTZ256. 2015-04-27 16:37:19 +02:00
ec2_mult.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ec2_oct.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:49:06 +01:00
ec2_smpl.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ec_ameth.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ec_asn1.c Ensure EC private keys retain leading zeros 2015-03-31 16:38:20 +01:00
ec_check.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:49:06 +01:00
ec_curve.c FIPS build fixes. 2015-01-23 00:12:39 +00:00
ec_cvt.c FIPS build fixes. 2015-01-23 00:12:39 +00:00
ec_err.c Error checking and memory leak fixes in NISTZ256. 2015-04-27 16:37:19 +02:00
ec_key.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:49:06 +01:00
ec_lcl.h fix copy paste error in ec_GF2m function prototypes 2015-05-26 10:14:19 +02:00
ec_lib.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:49:06 +01:00
ec_mult.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ec_oct.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ec_pmeth.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ec_print.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
eck_prn.c Add sanity check to print_bin function 2015-04-30 23:21:53 +01:00
ecp_mont.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ecp_nist.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ecp_nistp224.c Avoid reading an unused byte after the buffer 2015-03-14 18:24:58 +01:00
ecp_nistp256.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ecp_nistp521.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ecp_nistputil.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ecp_nistz256.c NISTZ256: use EC_POINT API and check errors. 2015-04-27 19:50:19 +02:00
ecp_nistz256_table.c Run util/openssl-format-source -v -c . 2015-01-22 09:31:38 +00:00
ecp_oct.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:49:06 +01:00
ecp_smpl.c Re-align some comments after running the reformat script. 2015-01-22 09:31:48 +00:00
ectest.c EC_POINT_is_on_curve does not return a boolean 2015-06-10 10:49:06 +01:00
Makefile Fix the update target and remove duplicate file updates 2015-05-23 06:25:12 +02:00