bn_wexpand(&group->b, (group->poly[0] + BN_BITS2 - 1) / BN_BITS2);
bn_wexpand(&group->b, (int)(group->poly[0] + BN_BITS2 - 1) / BN_BITS2);
int ec_GF2m_simple_group_set_curve(EC_GROUP *group,	const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx)	{	int ret = 0, i;	/* group->field */	if (!BN_copy(&group->field, p)) goto err;	i = BN_GF2m_poly2arr(&group->field, group->poly, 5);	if ((i != 5) && (i != 3))		{		ECerr(EC_F_EC_GF2M_SIMPLE_GROUP_SET_CURVE, EC_R_UNSUPPORTED_FIELD);		goto err;		}	/* group->a */	if (!BN_GF2m_mod_arr(&group->a, a, group->poly)) goto err;	bn_wexpand(&group->a, (group->poly[0] + BN_BITS2 - 1) / BN_BITS2);	for (i = group->a.top; i < group->a.dmax; i++) group->a.d[i] = 0;		/* group->b */	if (!BN_GF2m_mod_arr(&group->b, b, group->poly)) goto err;	bn_wexpand(&group->b, (group->poly[0] + BN_BITS2 - 1) / BN_BITS2);	for (i = group->b.top; i < group->b.dmax; i++) group->b.d[i] = 0;			ret = 1;  err:	return ret;	}