'is_at_infinity' tests don't need a BN_CTX.

This commit is contained in:
Bodo Möller 2001-03-06 08:55:33 +00:00
parent fb171e534e
commit 774530f412
2 changed files with 2 additions and 2 deletions

View File

@ -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 *);

View File

@ -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 *);