Home
last modified time | relevance | path

Searched refs:g2_cf (Results 1 – 1 of 1) sorted by relevance

/freebsd/crypto/openssl/test/
H A Dectest.c2161 *g1_order = NULL, *g1_cf = NULL, *g2_cf = NULL; in cardinality_test() local
2182 if (!TEST_ptr(g2_cf = BN_CTX_get(ctx)) in cardinality_test()
2202 || !TEST_true(EC_GROUP_get_cofactor(g2, g2_cf, ctx)) in cardinality_test()
2203 || !TEST_BN_eq(g1_cf, g2_cf) in cardinality_test()
2205 || !TEST_true(BN_set_word(g2_cf, 0)) in cardinality_test()
2206 || !TEST_true(EC_GROUP_set_generator(g2, g2_gen, g1_order, g2_cf)) in cardinality_test()
2207 || !TEST_true(EC_GROUP_get_cofactor(g2, g2_cf, ctx)) in cardinality_test()
2208 || !TEST_BN_eq(g1_cf, g2_cf) in cardinality_test()
2210 || !TEST_true(BN_set_word(g2_cf, 0)) in cardinality_test()
2211 || !TEST_true(BN_sub(g2_cf, g2_cf, BN_value_one())) in cardinality_test()
[all …]