bn_check_top(r);
int BN_nist_mod_224(BIGNUM *r, const BIGNUM *a, const BIGNUM *field,	BN_CTX *ctx)	{#ifndef NO_32_BIT_TYPE	int	tmp_int;	int	carry = 0;	BN_ULONG *r_d, *a_d;	BN_ULONG t_d[BN_NIST_224_TOP];	BN_32_BIT_BUF(7)  BN_32_BIT_BUF(8)	BN_32_BIT_BUF(9)  BN_32_BIT_BUF(10)	BN_32_BIT_BUF(11) BN_32_BIT_BUF(12)	BN_32_BIT_BUF(13)	tmp_int = BN_ucmp(field, a);	if (tmp_int == 0)		return BN_zero(r);	else if (tmp_int > 0)		return (r == a)? 1 : (BN_copy(r ,a) != NULL);	if (r != a)		if (!BN_ncopy(r, a, BN_NIST_224_TOP))			return 0;	r_d = r->d;	a_d = a->d;	tmp_int = a->top-1;	switch (tmp_int)		{		BN_CASE_32_BIT(13, a_d)		BN_CASE_32_BIT(12, a_d)		BN_CASE_32_BIT(11, a_d)		BN_CASE_32_BIT(10, a_d)		BN_CASE_32_BIT(9,  a_d)		BN_CASE_32_BIT(8,  a_d)		BN_CASE_32_BIT(7,  a_d)			break;		default: /* a->top == field->top */			return BN_usub(r, a, field);		}	BN_224_SET(t_d,10,9,8,7,0,0,0)	if (bn_add_words(r_d, r_d, t_d, BN_NIST_224_TOP))		++carry;	BN_224_SET(t_d,0,13,12,11,0,0,0)	if (bn_add_words(r_d, r_d, t_d, BN_NIST_224_TOP))		++carry;	BN_224_SET(t_d,13,12,11,10,9,8,7)	if (bn_sub_words(r_d, r_d, t_d, BN_NIST_224_TOP))		--carry;	BN_224_SET(t_d,0,0,0,0,13,12,11)	if (bn_sub_words(r_d, r_d, t_d, BN_NIST_224_TOP))		--carry;	if (carry > 0)		while (carry)			{			if (bn_sub_words(r_d,r_d,_nist_p_224,BN_NIST_224_TOP))				--carry;			}	else if (carry < 0)		while (carry)			{			if (bn_add_words(r_d,r_d,_nist_p_224,BN_NIST_224_TOP))				++carry;			}	r->top = BN_NIST_224_TOP;#if 1	bn_clear_top2max(r);#endif	bn_fix_top(r);	if (BN_ucmp(r, field) >= 0)		{		bn_sub_words(r_d, r_d, _nist_p_224, BN_NIST_224_TOP);		bn_fix_top(r);		}	return 1;#else	return 0;#endif	}