Commit 774530f4 authored by Bodo Möller's avatar Bodo Möller
Browse files

'is_at_infinity' tests don't need a BN_CTX.

parent fb171e53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ int EC_POINT_oct2point(const EC_GROUP *, EC_POINT *,
int EC_POINT_add(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *);
int EC_POINT_dbl(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *);

int EC_POINT_is_at_infinity(const EC_GROUP *, EC_POINT *, BN_CTX *);
int EC_POINT_is_at_infinity(const EC_GROUP *, EC_POINT *);
int EC_POINT_is_on_curve(const EC_GROUP *, EC_POINT *, BN_CTX *);

int EC_POINT_make_affine(const EC_GROUP *, EC_POINT *, BN_CTX *);
+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ struct ec_method_st {
	int (*dbl)(const EC_GROUP *, EC_POINT *r, const EC_POINT *a, BN_CTX *);

	/* used by EC_POINT_is_at_infinity, EC_POINT_is_on_curve, EC_POINT_make_affine */
	int (*is_at_infinity)(const EC_GROUP *, EC_POINT *, BN_CTX *);
	int (*is_at_infinity)(const EC_GROUP *, EC_POINT *);
	int (*is_on_curve)(const EC_GROUP *, EC_POINT *, BN_CTX *);
	int (*make_affine)(const EC_GROUP *, EC_POINT *, BN_CTX *);