'is_at_infinity' tests don't need a BN_CTX.
authorBodo Möller <bodo@openssl.org>
Tue, 6 Mar 2001 08:55:33 +0000 (08:55 +0000)
committerBodo Möller <bodo@openssl.org>
Tue, 6 Mar 2001 08:55:33 +0000 (08:55 +0000)
crypto/ec/ec.h
crypto/ec/ec_lcl.h

index 7fe1ba9899d4cf3bea43eb06474bafbde8e179f7..55b174655e92af22295c924c14d2598c23ca83ca 100644 (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 *);
index 2f260fa715e9f25e396df40dc6d12eeb9ff168ab..a115aaf74f8327119a98548da4ab854deb789b5a 100644 (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 *);