X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=test_curves.c;fp=test_curves.c;h=ba1da89292d954f3d15fdfa56fb85315cb153bb8;hb=61afc2c3334e7e69598715548401078f350c45d1;hp=7f36c7501d9b7bfaf1df6870009d57d8a43de798;hpb=0b50e0028fa9d2cfb9648f8f3209e89d75e311c1;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));