Lines Matching refs:i
131 for ($i = 3; $i <= $num_primes; $i++) {
132 $m_i = $x->modPow($this->exponents[$i], $this->primes[$i]);
134 $r = $r->multiply($this->primes[$i - 1]);
137 $h = $h->multiply($this->coefficients[$i]);
138 list(, $h) = $h->divide($this->primes[$i]);
144 for ($i = 2; $i <= $num_primes; $i++) {
145 if ($smallest->compare($this->primes[$i]) > 0) {
146 $smallest = $this->primes[$i];
162 for ($i = 3; $i <= $num_primes; $i++) {
163 $m_i = $this->blind($x, $r, $i);
165 $r = $r->multiply($this->primes[$i - 1]);
168 $h = $h->multiply($this->coefficients[$i]);
169 list(, $h) = $h->divide($this->primes[$i]);
187 * @param int $i
190 private function blind($x, $r, $i) argument
192 $x = $x->multiply($r->modPow($this->publicExponent, $this->primes[$i]));
193 $x = $x->modPow($this->exponents[$i], $this->primes[$i]);
195 $r = $r->modInverse($this->primes[$i]);
197 list(, $x) = $x->divide($this->primes[$i]);
410 for ($i = 0; $i < strlen($m); $i++) {
411 $patternMatch |= $leadingZeros & ($m[$i] === "\1");
412 $leadingZeros &= $m[$i] === "\0";