Lines Matching refs:oddFactor
2353 mp_int oddFactor, evenFactor; /* factors of the modulus */
2364 MP_DIGITS(&oddFactor) = 0;
2372 MP_CHECKOK( mp_init_copy(&oddFactor, m) ); /* oddFactor = m */
2381 s_mp_div_2d(&oddFactor, k);
2384 /* compute a**-1 mod oddFactor. */
2385 MP_CHECKOK( s_mp_invmod_odd_m(a, &oddFactor, &oddPart) );
2390 /* let m1 = oddFactor, v1 = oddPart,
2395 MP_CHECKOK( s_mp_invmod_2d(&oddFactor, k, &C2) );
2406 MP_CHECKOK( mp_mul(&tmp2, &oddFactor, c) );
2412 mp_clear(&oddFactor);