Lines Matching refs:point
629 void EC_POINT_free(EC_POINT *point) { in EC_POINT_free() argument
630 if (!point) { in EC_POINT_free()
634 if (point->meth->point_finish != 0) { in EC_POINT_free()
635 point->meth->point_finish(point); in EC_POINT_free()
637 OPENSSL_free(point); in EC_POINT_free()
640 void EC_POINT_clear_free(EC_POINT *point) { in EC_POINT_clear_free() argument
641 if (!point) { in EC_POINT_clear_free()
645 if (point->meth->point_clear_finish != 0) { in EC_POINT_clear_free()
646 point->meth->point_clear_finish(point); in EC_POINT_clear_free()
647 } else if (point->meth->point_finish != 0) { in EC_POINT_clear_free()
648 point->meth->point_finish(point); in EC_POINT_clear_free()
650 OPENSSL_cleanse(point, sizeof *point); in EC_POINT_clear_free()
651 OPENSSL_free(point); in EC_POINT_clear_free()
691 int EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point) { in EC_POINT_set_to_infinity() argument
697 if (group->meth != point->meth) { in EC_POINT_set_to_infinity()
701 return group->meth->point_set_to_infinity(group, point); in EC_POINT_set_to_infinity()
704 int EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *point) { in EC_POINT_is_at_infinity() argument
710 if (group->meth != point->meth) { in EC_POINT_is_at_infinity()
714 return group->meth->is_at_infinity(group, point); in EC_POINT_is_at_infinity()
717 int EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_is_on_curve() argument
724 if (group->meth != point->meth) { in EC_POINT_is_on_curve()
728 return group->meth->is_on_curve(group, point, ctx); in EC_POINT_is_on_curve()
744 int EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) { in EC_POINT_make_affine() argument
750 if (group->meth != point->meth) { in EC_POINT_make_affine()
754 return group->meth->make_affine(group, point, ctx); in EC_POINT_make_affine()
776 const EC_POINT *point, BIGNUM *x, in EC_POINT_get_affine_coordinates_GFp() argument
783 if (group->meth != point->meth) { in EC_POINT_get_affine_coordinates_GFp()
788 return group->meth->point_get_affine_coordinates(group, point, x, y, ctx); in EC_POINT_get_affine_coordinates_GFp()
791 int EC_POINT_set_affine_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, in EC_POINT_set_affine_coordinates_GFp() argument
799 if (group->meth != point->meth) { in EC_POINT_set_affine_coordinates_GFp()
804 return group->meth->point_set_affine_coordinates(group, point, x, y, ctx); in EC_POINT_set_affine_coordinates_GFp()
849 const EC_POINT *point, const BIGNUM *p_scalar, BN_CTX *ctx) { in EC_POINT_mul() argument
855 points[0] = point; in EC_POINT_mul()
858 return EC_POINTs_mul(group, r, g_scalar, (point != NULL && p_scalar != NULL), in EC_POINT_mul()
873 int ec_point_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, in ec_point_set_Jprojective_coordinates_GFp() argument
881 if (group->meth != point->meth) { in ec_point_set_Jprojective_coordinates_GFp()
886 return group->meth->point_set_Jprojective_coordinates_GFp(group, point, x, y, in ec_point_set_Jprojective_coordinates_GFp()