openssl/crypto/ec
Bodo Moeller ff7b021040 Fix overly lenient comparisons:
- EC_GROUP_cmp shouldn't consider curves equal just because
      the curve name is the same. (They really *should* be the same
      in this case, but there's an EC_GROUP_set_curve_name API,
      which could be misused.)

    - EC_POINT_cmp shouldn't return 0 for ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED
      or EC_R_INCOMPATIBLE_OBJECTS errors because in a cmp API, 0 indicates
      equality (not an error).

    Reported by: king cope

(cherry picked from commit ca567a03ad)

Conflicts:
	Configure
2013-09-17 10:20:04 +02:00
..
.cvsignore Add emacs cache files to .cvsignore. 2005-04-11 14:17:07 +00:00
ec.h Fix EC_KEY initialization race. 2012-10-05 20:51:47 +00:00
ec2_mult.c ECC library bugfixes. 2010-08-26 12:10:25 +00:00
ec2_smpl.c PR: 2632 2011-10-26 16:42:48 +00:00
ec2_smpt.c Improve error handling if decompression of an ec point fails, and cleanup 2004-07-06 15:50:04 +00:00
ec_asn1.c Fix the BIT STRING encoding of EC points or parameter seeds 2006-12-19 15:10:46 +00:00
ec_check.c fix error found by coverity: check if ctx is != NULL before calling BN_CTX_end() 2006-03-13 23:12:08 +00:00
ec_curve.c comment 2005-12-13 05:46:30 +00:00
ec_cvt.c Sun has agreed to removing the covenant language from most files. 2002-10-29 10:59:32 +00:00
ec_err.c Fix crypto/ec/ec_mult.c to work properly with scalars of value 0 2007-05-22 09:48:06 +00:00
ec_key.c Fix EC_KEY initialization race. 2012-10-05 20:51:47 +00:00
ec_lcl.h ecc api cleanup; summary: 2005-05-16 10:11:04 +00:00
ec_lib.c Fix overly lenient comparisons: 2013-09-17 10:20:04 +02:00
ec_mult.c ECC library bugfixes. 2010-08-26 12:10:25 +00:00
ec_print.c fix memory leak 2002-06-06 10:33:05 +00:00
ecp_mont.c Fix various incorrect error function codes. 2005-04-26 18:53:22 +00:00
ecp_nist.c remove OPENSSL_NO_ASM dependency 2005-06-28 15:03:58 +00:00
ecp_smpl.c PR: 1612 2011-01-24 14:42:11 +00:00
ectest.c Fix crypto/ec/ec_mult.c to work properly with scalars of value 0 2007-05-22 09:48:06 +00:00
Makefile Merge changes to build system from fips branch. 2008-09-16 21:44:57 +00:00