X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=test_curves.c;fp=test_curves.c;h=d215fe4387bd087643e1720ba829aa4f3a38775a;hb=d798e0186d61549dcbe74c3e83c4b2316e70bed7;hp=7c57c34ae9e496e32563cc520d72df9c29ba6268;hpb=260442f532aa18ca2a84a4124ef72afbd713accf;p=openssl-gost%2Fengine.git diff --git a/test_curves.c b/test_curves.c index 7c57c34..d215fe4 100644 --- a/test_curves.c +++ b/test_curves.c @@ -191,6 +191,7 @@ static int parameter_test(struct test_curve *tc) BN_add(k2, k2, order); T(EC_POINT_mul(group, p1, NULL, generator, k1, ctx)); T(EC_POINT_mul(group, p2, NULL, generator, k2, ctx)); + T(EC_POINT_cmp(group, p1, p2, ctx) == 0); /* Cofactor is 1 or 4 */ const BIGNUM *c;