Lines Matching defs:res
194 BIGNUM *tmp, wnum, *snum, *sdiv, *res;
248 res = BN_CTX_get(ctx);
250 res = dv;
251 if (sdiv == NULL || res == NULL || tmp == NULL || snum == NULL)
306 /* Setup to 'res' */
307 res->neg = (num->neg ^ divisor->neg);
308 if (!bn_wexpand(res, (loop + 1)))
310 res->top = loop - no_branch;
311 resp = &(res->d[loop - 1]);
328 res->top--;
332 * if res->top == 0 then clear the neg value otherwise decrease the resp
335 if (res->top == 0)
336 res->neg = 0;
469 bn_correct_top(res);