Home | History | Annotate | Download | only in bn

Lines Matching full:tmod

368 		BIGNUM tmod;
371 BN_init(&tmod);
372 tmod.d=buf;
373 tmod.dmax=2;
374 tmod.neg=0;
387 tmod.top=0;
388 if ((buf[0] = mod->d[0])) tmod.top=1;
389 if ((buf[1] = mod->top>1 ? mod->d[1] : 0)) tmod.top=2;
391 if ((BN_mod_inverse(Ri,R,&tmod,ctx)) == NULL)
408 if (!BN_div(Ri,NULL,Ri,&tmod,ctx)) goto err;
417 buf[0]=mod->d[0]; /* tmod = N mod word size */
419 tmod.top = buf[0] != 0 ? 1 : 0;
421 if ((BN_mod_inverse(Ri,R,&tmod,ctx)) == NULL)
432 if (!BN_div(Ri,NULL,Ri,&tmod,ctx)) goto err;