Lines Matching refs:field
30 group->field = BN_new(); in ossl_ec_GF2m_simple_group_init()
34 if (group->field == NULL || group->a == NULL || group->b == NULL) { in ossl_ec_GF2m_simple_group_init()
35 BN_free(group->field); in ossl_ec_GF2m_simple_group_init()
49 BN_free(group->field); in ossl_ec_GF2m_simple_group_finish()
60 BN_clear_free(group->field); in ossl_ec_GF2m_simple_group_clear_finish()
77 if (!BN_copy(dest->field, src->field)) in ossl_ec_GF2m_simple_group_copy()
108 if (!BN_copy(group->field, p)) in ossl_ec_GF2m_simple_group_set_curve()
110 i = BN_GF2m_poly2arr(group->field, group->poly, 6) - 1; in ossl_ec_GF2m_simple_group_set_curve()
147 if (!BN_copy(p, group->field)) in ossl_ec_GF2m_simple_group_get_curve()
173 return BN_num_bits(group->field) - 1; in ossl_ec_GF2m_simple_group_get_degree()
712 return BN_GF2m_mod_div(r, a, b, group->field, ctx); in ossl_ec_GF2m_simple_field_div()
732 if (!BN_priv_rand_ex(s->Z, BN_num_bits(group->field) - 1, in ec_GF2m_simple_ladder_pre()
747 if (!BN_priv_rand_ex(r->Y, BN_num_bits(group->field) - 1, in ec_GF2m_simple_ladder_pre()
934 if (!(ret = BN_GF2m_mod_inv(r, a, group->field, ctx))) in ec_GF2m_simple_field_inv()