X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=test_curves.c;h=ba1da89292d954f3d15fdfa56fb85315cb153bb8;hb=e8322a529ed6d4d1da4f275f4f8771e65c832726;hp=7f36c7501d9b7bfaf1df6870009d57d8a43de798;hpb=4c04300b7523a9e270a719dd66ac7136e899811d;p=openssl-gost%2Fengine.git diff --git a/test_curves.c b/test_curves.c index 7f36c75..ba1da89 100644 --- a/test_curves.c +++ b/test_curves.c @@ -129,7 +129,7 @@ static int parameter_test(struct test_curve *tc) T(p = BN_new()); T(a = BN_new()); T(b = BN_new()); - EC_GROUP_get_curve_GFp(group, p, a, b, ctx); + EC_GROUP_get_curve(group, p, a, b, ctx); print_bn("p", p); print_bn("a", a); print_bn("b", b); @@ -144,7 +144,7 @@ static int parameter_test(struct test_curve *tc) BIGNUM *x, *y; T(x = BN_new()); T(y = BN_new()); - T(EC_POINT_get_affine_coordinates_GFp(group, generator, x, y, ctx)); + T(EC_POINT_get_affine_coordinates(group, generator, x, y, ctx)); print_bn("x", x); print_bn("y", y); T(!BN_is_zero(y));