Lines Matching defs:rm
175 * zero, and sets up rm such that dv*divisor + rm = num holds.
178 * rm->neg == num->neg (unless the remainder is zero)
179 * If 'dv' or 'rm' is NULL, the respective value is not returned.
181 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
208 bn_check_top(rm);
220 if (rm != NULL)
221 { if (BN_copy(rm,num) == NULL) return(0); }
429 if (rm != NULL)
431 /* Keep a copy of the neg flag in num because if rm==num
435 BN_rshift(rm,snum,norm_shift);
436 if (!BN_is_zero(rm))
437 rm->neg = neg;
438 bn_check_top(rm);
444 bn_check_top(rm);