Home | History | Annotate | Download | only in test

Lines Matching refs:g2_cf

2652            *g1_order = NULL, *g1_cf = NULL, *g2_cf = NULL;
2673 if (!TEST_ptr(g2_cf = BN_CTX_get(ctx))
2691 || !TEST_true(EC_GROUP_get_cofactor(g2, g2_cf, ctx))
2692 || !TEST_BN_eq(g1_cf, g2_cf)
2694 || !TEST_true(BN_set_word(g2_cf, 0))
2695 || !TEST_true(EC_GROUP_set_generator(g2, g2_gen, g1_order, g2_cf))
2696 || !TEST_true(EC_GROUP_get_cofactor(g2, g2_cf, ctx))
2697 || !TEST_BN_eq(g1_cf, g2_cf)
2699 || !TEST_true(BN_set_word(g2_cf, 0))
2700 || !TEST_true(BN_sub(g2_cf, g2_cf, BN_value_one()))
2701 || !TEST_false(EC_GROUP_set_generator(g2, g2_gen, g1_order, g2_cf))
2708 || !TEST_true(BN_set_word(g2_cf, 0))
2709 || !TEST_true(BN_sub(g2_cf, g2_cf, BN_value_one()))