Lines Matching refs:nl
334 int nl, max, i;
337 nl = n->top;
338 if (nl == 0) {
343 max = (2 * nl); /* carry is stored separately */
360 for (carry = 0, i = 0; i < nl; i++, rp++) {
361 v = bn_mul_add_words(rp, np, nl, (rp[0] * n0) & BN_MASK2);
362 v = (v + carry + rp[nl]) & BN_MASK2;
363 carry |= (v != rp[nl]);
364 carry &= (v <= rp[nl]);
365 rp[nl] = v;
368 if (bn_wexpand(ret, nl) == NULL) {
371 ret->top = nl;
375 ap = &(r->d[nl]);
381 v = bn_sub_words(rp, ap, np, nl) - carry;
387 for (i = 0, nl -= 4; i < nl; i += 4) {
404 for (nl += 4; i < nl; i++) {
422 int nl,max,i;
425 nl=n->top;
426 if (nl == 0) { ret->top=0; return(1); }
428 max=(2*nl); /* carry is stored separately */
446 for (carry=0, i=0; i<nl; i++, rp++)
448 v=bn_mul_add_words(rp,np,nl,(rp[0]*n0)&BN_MASK2);
449 v = (v+carry+rp[nl])&BN_MASK2;
450 carry |= (v != rp[nl]);
451 carry &= (v <= rp[nl]);
452 rp[nl]=v;
455 if (bn_wexpand(ret,nl) == NULL) return(0);
456 ret->top=nl;
460 ap=&(r->d[nl]);
466 v=bn_sub_words(rp,ap,np,nl)-carry;
473 for (i=0,nl-=4; i<nl; i+=4)
486 for (nl+=4; i<nl; i++)