Lines Matching refs:m1
1602 * Even modulus. Tear it into an "odd part" (m1) and power of two
1603 * (m2), exponentiate mod m1, manually exponentiate mod m2, and
1607 // Tear m apart into odd part (m1) and power of 2 (m2)
1610 BigInteger m1 = m.shiftRight(p); // m/2**p
1613 // Calculate new base from m1
1614 BigInteger base2 = (this.signum < 0 || this.compareTo(m1) >= 0
1615 ? this.mod(m1) : this);
1617 // Caculate (base ** exponent) mod m1.
1618 BigInteger a1 = (m1.equals(ONE) ? ZERO :
1619 base2.oddModPow(exponent, m1));
1625 BigInteger y1 = m2.modInverse(m1);
1626 BigInteger y2 = m1.modInverse(m2);
1629 (a2.multiply(m1).multiply(y2)).mod(m);
2515 int[] m1 = mag;
2516 int len1 = m1.length;
2524 int a = m1[i];