bn_fix_top(r);
bn_correct_top(r);
int BN_nist_mod_192(BIGNUM *r, const BIGNUM *a, const BIGNUM *field,	BN_CTX *ctx)	{	int      top;	BN_ULONG carry = 0;	register BN_ULONG *r_d, *a_d;	BN_ULONG t_d[BN_NIST_192_TOP];	BN_64_BIT_BUF(3)  BN_64_BIT_BUF(4)	BN_64_BIT_BUF(5)	top = BN_ucmp(field, a);	if (top == 0)		return BN_zero(r);	else if (top > 0)		return (r == a)? 1 : (BN_copy(r ,a) != NULL);	if (r != a)		if (!BN_ncopy(r, a, BN_NIST_192_TOP))			return 0;	r_d = r->d;	a_d = a->d;	top = a->top-1;	switch (top)		{		BN_CASE_64_BIT(5, a_d)		BN_CASE_64_BIT(4, a_d)		BN_CASE_64_BIT(3, a_d)			break;		default: /* a->top == field->top */			return BN_usub(r, a, field);		}	BN_192_SET(t_d,0,3,3)	if (bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP))		++carry;	BN_192_SET(t_d,4,4,0)	if (bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP))		++carry;	BN_192_SET(t_d,5,5,5)	if (bn_add_words(r_d, r_d, t_d, BN_NIST_192_TOP))		++carry;	while (carry)		{		if (bn_sub_words(r_d, r_d, _nist_p_192, BN_NIST_192_TOP))			--carry; 		}	r->top = BN_NIST_192_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_192, BN_NIST_192_TOP);		bn_fix_top(r);		}	return 1;	}