Lines Matching defs:rm
184 * zero, and sets up rm such that dv*divisor + rm = num holds.
187 * rm->neg == num->neg (unless the remainder is zero)
188 * If 'dv' or 'rm' is NULL, the respective value is not returned.
190 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
220 bn_check_top(rm);
234 if (rm != NULL) {
235 if (BN_copy(rm, num) == NULL)
458 if (rm != NULL) {
460 * Keep a copy of the neg flag in num because if rm==num BN_rshift()
464 BN_rshift(rm, snum, norm_shift);
465 if (!BN_is_zero(rm))
466 rm->neg = neg;
467 bn_check_top(rm);
474 bn_check_top(rm);