Skip to content

Commit

Permalink
'is_at_infinity' tests don't need a BN_CTX.
Browse files Browse the repository at this point in the history
  • Loading branch information
45264 committed Mar 6, 2001
1 parent fb171e5 commit 774530f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crypto/ec/ec.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand Down
2 changes: 1 addition & 1 deletion crypto/ec/ec_lcl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);

Expand Down

0 comments on commit 774530f

Please sign in to comment.