29 #include <linux/string.h>
43 int esign, msign, bsign, rsign;
68 res->
nlimbs = (msize == 1 && mod->
d[0] == 1) ? 0 : 1;
115 if (rp == ep || rp == mp || rp == bp) {
167 memset(&karactx, 0,
sizeof karactx);
168 negative_result = (ep[0] & 1) && base->
sign;
201 }
else if (tsize < (2 * rsize)) {
229 (xp, rp, rsize, bp, bsize,
234 (xp, rp, rsize, bp, bsize,
239 xsize = rsize + bsize;
274 rp[rsize] = carry_limb;
282 if (rsize >= msize) {
295 if (negative_result && rsize) {