Home | History | Annotate | Download | only in bn

Lines Matching refs:top

135 	int num = mont->N.top;
137 if (num>1 && a->top==num && b->top==num)
143 r->top = num;
188 nl=n->top;
189 if ((al == 0) || (nl == 0)) { ret->top=0; return(1); }
199 /* clear the top words of T */
201 for (i=r->top; i<max; i++) /* memset? XXX */
204 memset(&(r->d[r->top]),0,(max-r->top)*sizeof(BN_ULONG));
207 r->top=max;
246 if (r->top <= ri)
248 ret->top=0;
251 al=r->top-ri;
257 ret->top=x=(ri&~x)|(al&x); /* min(ri,al) */
268 * thanks to zealous zeroing of top of the vector in the
304 ret->top=al;
445 tmod.top=0;
446 if ((buf[0] = mod->d[0])) tmod.top=1;
447 if ((buf[1] = mod->top>1 ? mod->d[1] : 0)) tmod.top=2;
464 Ri->top=2;
469 mont->n0[0] = (Ri->top > 0) ? Ri->d[0] : 0;
470 mont->n0[1] = (Ri->top > 1) ? Ri->d[1] : 0;
477 tmod.top = buf[0] != 0 ? 1 : 0;
493 mont->n0[0] = (Ri->top > 0) ? Ri->d[0] : 0;