bn_check_top(r);
int	BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p)	{	const int max = BN_num_bits(p);	unsigned int *arr=NULL, ret = 0;	if ((arr = (unsigned int *)OPENSSL_malloc(sizeof(unsigned int) * max)) == NULL) goto err;	if (BN_GF2m_poly2arr(p, arr, max) > max)		{		BNerr(BN_F_BN_GF2M_MOD,BN_R_INVALID_LENGTH);		goto err;		}	ret = BN_GF2m_mod_arr(r, a, arr);  err:	if (arr) OPENSSL_free(arr);	return ret;	}