Lines Matching defs:rm
110 * zero, and sets up rm such that dv*divisor + rm = num holds.
113 * rm->neg == num->neg (unless the remainder is zero)
114 * If 'dv' or 'rm' is NULL, the respective value is not returned. */
115 int BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor,
143 if (rm != NULL) {
144 if (BN_copy(rm, num) == NULL) {
355 if (rm != NULL) {
356 /* Keep a copy of the neg flag in num because if rm==num
360 BN_rshift(rm, snum, norm_shift);
361 if (!BN_is_zero(rm)) {
362 rm->neg = neg;