Lines Matching refs:BN_copy

156   if (!BN_copy(&dest->field, &src->field) ||  in ec_GFp_simple_group_copy()
157 !BN_copy(&dest->a, &src->a) || in ec_GFp_simple_group_copy()
158 !BN_copy(&dest->b, &src->b)) { in ec_GFp_simple_group_copy()
193 if (!BN_copy(&group->field, p)) { in ec_GFp_simple_group_set_curve()
206 } else if (!BN_copy(&group->a, tmp_a)) { in ec_GFp_simple_group_set_curve()
238 if (p != NULL && !BN_copy(p, &group->field)) { in ec_GFp_simple_group_get_curve()
257 if (a != NULL && !BN_copy(a, &group->a)) { in ec_GFp_simple_group_get_curve()
260 if (b != NULL && !BN_copy(b, &group->b)) { in ec_GFp_simple_group_get_curve()
307 if (!BN_copy(a, &group->a) || !BN_copy(b, &group->b)) { in ec_GFp_simple_group_check_discriminant()
371 if (!BN_copy(&dest->X, &src->X) || in ec_GFp_simple_point_copy()
372 !BN_copy(&dest->Y, &src->Y) || in ec_GFp_simple_point_copy()
373 !BN_copy(&dest->Z, &src->Z)) { in ec_GFp_simple_point_copy()
472 if (x != NULL && !BN_copy(x, &point->X)) { in ec_GFp_simple_get_Jprojective_coordinates_GFp()
475 if (y != NULL && !BN_copy(y, &point->Y)) { in ec_GFp_simple_get_Jprojective_coordinates_GFp()
478 if (z != NULL && !BN_copy(z, &point->Z)) { in ec_GFp_simple_get_Jprojective_coordinates_GFp()
554 if (x != NULL && !BN_copy(x, &point->X)) { in ec_GFp_simple_point_get_affine_coordinates()
557 if (y != NULL && !BN_copy(y, &point->Y)) { in ec_GFp_simple_point_get_affine_coordinates()
659 if (!BN_copy(n1, &a->X) || !BN_copy(n2, &a->Y)) { in ec_GFp_simple_add()
680 if (!BN_copy(n3, &b->X) || !BN_copy(n4, &b->Y)) { in ec_GFp_simple_add()
733 if (!BN_copy(&r->Z, n5)) { in ec_GFp_simple_add()
738 if (!BN_copy(n0, &b->Z)) { in ec_GFp_simple_add()
742 if (!BN_copy(n0, &a->Z)) { in ec_GFp_simple_add()
876 if (!BN_copy(n0, &a->Y)) { in ec_GFp_simple_dbl()
1240 if (!BN_copy(prod_Z[0], &points[0]->Z)) { in ec_GFp_simple_points_make_affine()
1262 if (!BN_copy(prod_Z[i], prod_Z[i - 1])) { in ec_GFp_simple_points_make_affine()
1299 !BN_copy(&points[i]->Z, tmp_Z)) { in ec_GFp_simple_points_make_affine()
1305 if (!BN_is_zero(&points[0]->Z) && !BN_copy(&points[0]->Z, tmp)) { in ec_GFp_simple_points_make_affine()