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);
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);