}
point->Z_is_one = Z_is_one;
}
-
- if (BN_cmp(&point->X, x) || BN_cmp(&point->Y, y))
- ret = 2;
- else
- ret = 1;
+
+ ret = 1;
err:
if (new_ctx != NULL)
{
return EC_POINT_is_at_infinity(group, b) ? 0 : 1;
}
-
- if (EC_POINT_is_at_infinity(group, b))
- return 1;
if (a->Z_is_one && b->Z_is_one)
{
return ret;
}
+
int ec_GFp_simple_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx)
{
BN_CTX *new_ctx = NULL;