Lines Matching refs:tmod
389 BIGNUM tmod;
392 BN_init(&tmod);
393 tmod.d = buf;
394 tmod.dmax = 2;
395 tmod.neg = 0;
411 tmod.top = 0;
413 tmod.top = 1;
415 tmod.top = 2;
417 if ((BN_mod_inverse(Ri, R, &tmod, ctx)) == NULL)
434 if (!BN_div(Ri, NULL, Ri, &tmod, ctx))
446 buf[0] = mod->d[0]; /* tmod = N mod word size */
448 tmod.top = buf[0] != 0 ? 1 : 0;
450 if ((BN_mod_inverse(Ri, R, &tmod, ctx)) == NULL)
462 if (!BN_div(Ri, NULL, Ri, &tmod, ctx))